export declare function cook(str: string, buildMappings: T, allowMalformed: boolean): { cooked: string; mappings: typeof buildMappings extends true ? number[] : undefined; };