import { extractIdentifierFromConverter, HeaderFooterIdentifier } from '@superdoc/layout-bridge';
import { Editor } from '../Editor.js';
import { HeaderFooterEditorManager, HeaderFooterLayoutAdapter } from './HeaderFooterRegistry.js';
export type InitHeaderFooterRegistryDeps = {
    editor: Editor;
    converter: Parameters<typeof extractIdentifierFromConverter>[0];
    mediaFiles?: Record<string, unknown>;
    isDebug: boolean;
    initBudgetMs: number;
    resetSession: () => void;
    requestRerender: () => void;
    previousCleanups: Array<() => void>;
    previousAdapter: HeaderFooterLayoutAdapter | null;
    previousManager: HeaderFooterEditorManager | null;
};
export type InitHeaderFooterRegistryResult = {
    headerFooterIdentifier: HeaderFooterIdentifier | null;
    headerFooterManager: HeaderFooterEditorManager;
    headerFooterAdapter: HeaderFooterLayoutAdapter;
    cleanups: Array<() => void>;
};
export declare function initHeaderFooterRegistry({ editor, converter, mediaFiles, isDebug, initBudgetMs, resetSession, requestRerender, previousCleanups, previousAdapter, previousManager, }: InitHeaderFooterRegistryDeps): InitHeaderFooterRegistryResult;
//# sourceMappingURL=HeaderFooterRegistryInit.d.ts.map