import { TitleItemProps } from "../models/index.js";
import { Parser, Transformer, TransformerRaw, typografTransformer, yfmTransformer } from "./common.js";
export declare const blockHeaderTransformer: ({
    fields: string[];
    transformer: typeof typografTransformer;
    parser: (transformer: Transformer, title: TitleItemProps | string) => string | {
        text: string;
        navTitle?: string;
        anchor?: string;
        justify?: import("../index.js").Justify;
        textSize?: import("../index.js").TextSize;
        url?: string;
        urlTitle?: string;
        custom?: string | React.ReactNode;
        onClick?: () => void;
    };
} | {
    fields: string[];
    transformer: typeof yfmTransformer;
    parser?: undefined;
})[];
interface BlockConfig {
    transformer: TransformerRaw;
    fields?: string[];
    parser?: Parser;
}
export type BlocksConfig = Record<string, BlockConfig | BlockConfig[]>;
export declare const config: BlocksConfig;
export {};
