import { SxProps, Theme } from '@mui/material/styles';
export interface TerminalHandle {
    write: (data: string) => void;
    clear: () => void;
    focus: () => void;
}
export interface TerminalProps {
    onData?: (data: string) => void;
    onResize?: (cols: number, rows: number) => void;
    fontSize?: number;
    fontFamily?: string;
    cursorStyle?: 'block' | 'underline' | 'bar';
    cursorBlink?: boolean;
    scrollback?: number;
    sx?: SxProps<Theme>;
}
declare const Terminal: import('react').ForwardRefExoticComponent<TerminalProps & import('react').RefAttributes<TerminalHandle>>;
export default Terminal;
