/** * Returns a function that resolves the export template before triggering an export. * * - When 0-1 custom templates exist (or feature flag is off): exports immediately with no template (backend default). * - When multiple custom templates exist: opens a selection dialog, then exports with the chosen template. * * Templates are prefetched by the useExportTemplates hook. The backend caching layer * ensures repeated calls don't hit the API again. * * @internal */ export declare const useExportWithTemplateSelection: () => (exportFn: (templateId?: string | undefined) => void, onCancel?: (() => void) | undefined) => void; //# sourceMappingURL=useExportWithTemplateSelection.d.ts.map