import type { Suggestion } from "@codeflash/types";

declare global {
  interface Window {
    vscode: {
      postMessage: (message: any) => void;
      // eslint-disable-next-line @typescript-eslint/no-explicit-any
      getState: () => any;
      // eslint-disable-next-line @typescript-eslint/no-explicit-any
      setState: (state: any) => void;
    };
    renderInitForm: (
      s: Record<string, Suggestion>,
      errorDetails?: string,
      pyprojectPath?: string,
    ) => void;
    hideInitForm: () => void;
  }
}

export {};
