import type { EditorHost } from '@blocksuite/block-std'; import type { TestAffineEditorContainer } from '@blocksuite/integration-test'; import type { BlockSchema, Blocks, Workspace, Transformer } from '@blocksuite/store'; import type { z } from 'zod'; import type * as Y from 'yjs'; declare global { type HTMLTemplate = [ string, Record, ...(HTMLTemplate | string)[], ]; interface Window { editor: TestAffineEditorContainer; doc: Blocks; collection: Workspace; blockSchemas: z.infer[]; job: Transformer; Y: typeof Y; std: typeof std; host: EditorHost; testWorker: Worker; wsProvider: ReturnType; bcProvider: ReturnType; } }