type ToolState = 'input-available' | 'input-streaming' | 'output-available' | 'output-error' | 'approval-requested' | 'approval-responded' | 'output-denied';
type SandpackLanguage = 'react-ts' | 'react' | 'vanilla-ts' | 'vanilla' | 'vue' | 'svelte' | 'static';
export interface CodeViewFile {
    path: string;
    content: string;
    active?: boolean;
}
export interface CodeViewInput {
    title?: string;
    description?: string;
    language?: SandpackLanguage;
    files?: CodeViewFile[];
    code?: string;
    entryFile?: string;
}
export interface CodeViewPart {
    state: ToolState;
    input?: CodeViewInput;
    output?: {
        id?: string;
        files?: CodeViewFile[];
    };
    toolCallId: string;
}
export interface CodeViewProps {
    part: CodeViewPart;
    codeOnly?: boolean;
}
export declare function CodeView({ part, codeOnly }: CodeViewProps): import("react/jsx-runtime").JSX.Element;
export {};
