import type { CompileOptions } from '@mdx-js/mdx';
export type CompileOpts = CompileOptions & {
    components?: Record<string, string>;
    copyButtons?: boolean;
    missingComponents?: 'ignore' | 'throw';
    useTailwind?: boolean;
};
declare const compile: (text: string, { components, missingComponents, copyButtons, useTailwind, ...opts }?: CompileOpts) => string;
export default compile;
