import postcss from 'postcss';
import { PostcssThemeConfig, PostcssThemeOptions, ThemeResolver } from './types';
/** Try to load component theme from same directory as css file */
export declare const configForComponent: (cssFile: string | undefined, rootTheme: PostcssThemeConfig, resolveTheme?: ThemeResolver | undefined) => PostcssThemeConfig | {};
export * from './types';
declare const _default: postcss.Plugin<PostcssThemeOptions>;
export default _default;
