import type { FileWithImports } from '@mintlify/common';
import { AsyncAPIFile } from '@mintlify/common';
import type { OpenApiFile, DecoratedNavigationPage } from '@mintlify/models';
import type { Root } from 'mdast';
export type FileWithImportsAndMetadata = FileWithImports & {
    metadata?: Record<string, unknown>;
    contentDirectoryPath?: string;
};
type ReadPageContentsArgs = {
    contentDirectoryPath: string;
    openApiFiles: OpenApiFile[];
    asyncApiFiles: AsyncAPIFile[];
    contentFilenames: string[];
    pagesAcc: Record<string, DecoratedNavigationPage>;
};
export declare const readPageContents: ({ contentDirectoryPath, openApiFiles, asyncApiFiles, contentFilenames, pagesAcc, }: ReadPageContentsArgs) => Promise<{
    mdxFilesWithNoImports: {
        targetPath: string;
        sourcePath: string;
        tree: Root;
        metadata: DecoratedNavigationPage;
    }[];
    pagesAcc: Record<string, DecoratedNavigationPage>;
    filesWithImports: FileWithImportsAndMetadata[];
}>;
export declare const readSnippetsV2Contents: (contentDirectoryPath: string, snippetV2Filenames: string[], variables?: Record<string, string>) => Promise<{
    filename: string;
    tree: Root;
}[]>;
export {};
