import { type Extension } from "@codemirror/state";
type Props = {
    id: string;
};
export declare function useTypescript(props: Props): {
    createWorker: (initialContent: string) => Promise<Extension>;
};
export {};
