import { FormatPrettier, FormatPrettierInput } from './shared.js';
export declare function format<T extends FormatPrettier>(source: T extends keyof FormatPrettierInput ? FormatPrettierInput[T] & {
    format: T;
} : never): Promise<string | undefined>;
