type ExecOptions = { timeout?: number; }; export default function useExecCommand(): { error: string | null; exec: (command: string, options?: ExecOptions) => Promise<{ stdout: string; stderr: string; }>; }; export {};