import type { MaybeArray } from '../types/index';
interface ResolverOptions {
    /**
     * style file suffix for import component
     *
     * @default 'js'
     *
     * 'js' - component styles and styles referenced by component will be imported automatically
     * 'cjs' - same like 'js'. but it is in commonjs format, you may need to configure it in SSR or SSG
     * 'css' - automatically import component styles only
     */
    importStyle?: 'js' | 'cjs' | 'css';
    /** exclude components that do not require automatic import */
    exclude?: RegExp;
    /** a list of component names that have no styles, so resolving their styles file should be prevented */
    noStylesComponents?: string[];
}
interface ComponentInfo {
    as?: string;
    name?: string;
    from: string;
    sideEffects?: MaybeArray<string>;
}
export declare function ElementProResolver(options?: ResolverOptions): (name: string) => ComponentInfo | undefined;
export {};
