import type { DocumentMeta } from '@/types/document';
export type InitialDocument = {
    meta: Partial<DocumentMeta> & {
        fileName?: string;
    };
    url?: string;
    format?: 'word' | 'canvas';
    content?: any;
};
export type ResolvedApp = {
    app: any;
    initDocument?: InitialDocument | null;
};
export declare function resolveAppFromLocation(loc?: Location): ResolvedApp;
