import type { Stability } from '../ownership';
import type { PresentationSpec, PresentationTarget } from '../presentations/presentations';
import type { DocBlock } from './types';
export interface DocPresentationOptions {
    /**
     * Namespace for presentation meta.key (e.g., web-landing.docs.ops).
     * Defaults to the DocBlock id.
     */
    namespace?: string;
    /** Route prefix when no explicit route is provided on the block. Defaults to /docs. */
    routePrefix?: string;
    /** Default presentation targets. */
    defaultTargets?: PresentationTarget[];
    /** Default version when block.version is not set. */
    defaultVersion?: string;
    /** Default stability if not provided on the DocBlock. */
    defaultStability?: Stability;
}
export interface DocPresentationRoute {
    route: string;
    descriptor: PresentationSpec;
    block: DocBlock;
}
export declare function docBlockToPresentationSpec(block: DocBlock, options?: DocPresentationOptions): PresentationSpec;
export declare function docBlocksToPresentationRoutes(blocks: DocBlock[], options?: DocPresentationOptions): DocPresentationRoute[];
export declare function docBlocksToPresentationSpecs(blocks: DocBlock[], options?: DocPresentationOptions): PresentationSpec[];
export declare function mapDocRoutes(routes: DocPresentationRoute[]): [string, PresentationSpec][];
