import type { OmniConfig } from '../../index.d';
export default function (config: OmniConfig | null, componentName: string, options?: {
    function?: boolean;
    class?: boolean;
    render?: boolean;
    single?: boolean;
    tplPkj?: string;
    tplPkjTag?: string;
    before?: (params: {
        root: string;
        componentName: string;
    }) => (void | Promise<any>);
    after?: (params: {
        root: string;
        componentName: string;
    }) => (void | Promise<any>);
}): Promise<void>;
