import type { Schema } from '@markdoc/markdoc';
import type { ThemeConfig, RendererNode } from '@refrakt-md/transform';
import type { HookSet } from '@refrakt-md/content';
import type { AggregatedData } from '@refrakt-md/types';
/**
 * Render a markdown file through the full refrakt.md pipeline,
 * returning a complete HTML document string with theme CSS inlined.
 */
export declare function renderPreviewPage(contentDir: string, filePath: string, themeConfig: ThemeConfig, themeCss: string, highlightTransform?: (tree: RendererNode) => RendererNode, extraTags?: Record<string, Schema>, pipelineOptions?: PreviewPipelineOptions): string;
export interface PreviewPipelineOptions {
    /** Cached aggregated data from the cross-page pipeline */
    aggregated?: AggregatedData;
    /** HookSets to run as Phase 4 postProcess before serialization */
    hookSets?: HookSet[];
    /** URL of the page being previewed (for postProcess context) */
    url?: string;
}
/**
 * Render raw markdown content (not from disk) through the full pipeline.
 * Used for live preview while typing.
 */
export declare function renderPreviewContent(raw: string, themeConfig: ThemeConfig, themeCss: string, highlightTransform?: (tree: RendererNode) => RendererNode, extraTags?: Record<string, Schema>, pipelineOptions?: PreviewPipelineOptions): string;
//# sourceMappingURL=preview.d.ts.map