import type { SortOrder, WebDAVEntry } from '../types.js'; export interface TemplateContext { t: (key: string) => string; ncThumbnails: boolean; rootUrl: string; } /** Build the static `html_tpl` for the page. */ export declare function buildPageTemplate(ctx: TemplateContext): string; /** Build the dialog template (with placeholder for body / buttons). */ export declare function buildDialogTemplate(t: (k: string) => string): string; /** The ".." parent row template. */ export declare function buildParentRow(t: (k: string) => string): string; /** A directory-row template. */ export declare function buildDirRow(): string; /** A file-row template. */ export declare function buildFileRow(): string; /** Render a single file/dir row to HTML. */ export declare function renderEntry(entry: WebDAVEntry, ctx: TemplateContext, isDir: boolean): string; /** Build a paste widget HTML for the toolbar. */ export declare function buildPasteWidget(t: (k: string) => string, count: number, action: 'copy' | 'move'): string; /** Re-export the sort-order type so consumers don't need to import from types.ts. */ export type { SortOrder }; //# sourceMappingURL=templates.d.ts.map