export interface FileSystemTree {
  [path: string]: {
    file: {
      contents: string;
    };
  } | {
    directory: {
      contents: FileSystemTree;
    };
  };
}

export interface SocketCallback {
  (response: { success: true; result?: any } | { error: string }): void;
} 