export default function highlight({ code, language, }: {
    code: string;
    language?: string;
}): Promise<{
    fgColor: string;
    bgColor: string;
    tokens: {
        content: string;
        color: string | undefined;
    }[][];
}>;
export type HighlightWorkerReturn = Awaited<ReturnType<typeof highlight>>;
