import { CodeDemoOptions } from "packages/md-enhance/types";
export declare const option: import("../../types").CodeDemoGlobalOptions;
export declare const h: (tag: string, attrs: Record<string, string>, children?: HTMLElement[] | undefined) => HTMLElement;
interface VueScript {
    (): unknown;
    template: string;
}
export interface Code {
    code: {
        html: string;
        js: string;
        css: string;
    };
    template: {
        html: string;
        js: string;
    };
    jsLib: string[];
    cssLib: string[];
}
export interface VanillaCode extends Code {
    script: string;
}
export declare const getVanillaCode: (code: string, config: Partial<CodeDemoOptions>) => VanillaCode;
export interface VueCode extends Code {
    script: VueScript;
}
export declare const getVueCode: (code: string, config: Partial<CodeDemoOptions>) => VueCode;
export declare const getReactCode: (code: string, config: Partial<CodeDemoOptions>) => Code | void;
export interface CodepenCode extends Code {
    preprocessor: {
        html: "none" | "slim" | "haml" | "markdown";
        js: "none" | "coffeescript" | "babel" | "livescript" | "typescript";
        css: "none" | "less" | "scss" | "sass" | "stylus";
    };
}
export declare const getCode: (code: string, config: Partial<CodeDemoOptions>, type: string) => CodepenCode;
export declare const injectCSS: (css: string, id: string) => void;
export {};
