export * as WorkspaceEvent from "./workspace-event.js"; import { Schema } from "effect"; export declare const ConnectionStatus: Schema.Struct<{ readonly workspaceID: Schema.brand & { ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">; create: () => string & import("effect/Brand").Brand<"Workspace.ID">; }; readonly status: Schema.Literals; }>; export interface ConnectionStatus extends Schema.Schema.Type { } export declare const Ready: Schema.Struct<{ readonly id: Schema.brand & { create: () => string & import("effect/Brand").Brand<"Event.ID">; }; readonly created: Schema.Finite; readonly metadata: Schema.decodeTo>>, Schema.optionalKey>, never, never>; readonly type: Schema.Literal<"workspace.ready">; readonly location: Schema.decodeTo; readonly workspaceID: Schema.decodeTo & { ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">; create: () => string & import("effect/Brand").Brand<"Workspace.ID">; }>>, Schema.optionalKey & { ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">; create: () => string & import("effect/Brand").Brand<"Workspace.ID">; }>, never, never>; }>>>, Schema.optionalKey; readonly workspaceID: Schema.decodeTo & { ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">; create: () => string & import("effect/Brand").Brand<"Workspace.ID">; }>>, Schema.optionalKey & { ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">; create: () => string & import("effect/Brand").Brand<"Workspace.ID">; }>, never, never>; }>>, never, never>; readonly data: Schema.Struct<{ readonly name: Schema.String; }>; }> & { type: "workspace.ready"; durability: "ephemeral"; durable: undefined; data: Schema.Struct<{ readonly name: Schema.String; }>; }; export declare const Failed: Schema.Struct<{ readonly id: Schema.brand & { create: () => string & import("effect/Brand").Brand<"Event.ID">; }; readonly created: Schema.Finite; readonly metadata: Schema.decodeTo>>, Schema.optionalKey>, never, never>; readonly type: Schema.Literal<"workspace.failed">; readonly location: Schema.decodeTo; readonly workspaceID: Schema.decodeTo & { ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">; create: () => string & import("effect/Brand").Brand<"Workspace.ID">; }>>, Schema.optionalKey & { ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">; create: () => string & import("effect/Brand").Brand<"Workspace.ID">; }>, never, never>; }>>>, Schema.optionalKey; readonly workspaceID: Schema.decodeTo & { ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">; create: () => string & import("effect/Brand").Brand<"Workspace.ID">; }>>, Schema.optionalKey & { ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">; create: () => string & import("effect/Brand").Brand<"Workspace.ID">; }>, never, never>; }>>, never, never>; readonly data: Schema.Struct<{ readonly message: Schema.String; }>; }> & { type: "workspace.failed"; durability: "ephemeral"; durable: undefined; data: Schema.Struct<{ readonly message: Schema.String; }>; }; export declare const Status: Schema.Struct<{ readonly id: Schema.brand & { create: () => string & import("effect/Brand").Brand<"Event.ID">; }; readonly created: Schema.Finite; readonly metadata: Schema.decodeTo>>, Schema.optionalKey>, never, never>; readonly type: Schema.Literal<"workspace.status">; readonly location: Schema.decodeTo; readonly workspaceID: Schema.decodeTo & { ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">; create: () => string & import("effect/Brand").Brand<"Workspace.ID">; }>>, Schema.optionalKey & { ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">; create: () => string & import("effect/Brand").Brand<"Workspace.ID">; }>, never, never>; }>>>, Schema.optionalKey; readonly workspaceID: Schema.decodeTo & { ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">; create: () => string & import("effect/Brand").Brand<"Workspace.ID">; }>>, Schema.optionalKey & { ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">; create: () => string & import("effect/Brand").Brand<"Workspace.ID">; }>, never, never>; }>>, never, never>; readonly data: Schema.Struct<{ readonly workspaceID: Schema.brand & { ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">; create: () => string & import("effect/Brand").Brand<"Workspace.ID">; }; readonly status: Schema.Literals; }>; }> & { type: "workspace.status"; durability: "ephemeral"; durable: undefined; data: Schema.Struct<{ readonly workspaceID: Schema.brand & { ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">; create: () => string & import("effect/Brand").Brand<"Workspace.ID">; }; readonly status: Schema.Literals; }>; }; export declare const Definitions: readonly [Schema.Struct<{ readonly id: Schema.brand & { create: () => string & import("effect/Brand").Brand<"Event.ID">; }; readonly created: Schema.Finite; readonly metadata: Schema.decodeTo>>, Schema.optionalKey>, never, never>; readonly type: Schema.Literal<"workspace.ready">; readonly location: Schema.decodeTo; readonly workspaceID: Schema.decodeTo & { ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">; create: () => string & import("effect/Brand").Brand<"Workspace.ID">; }>>, Schema.optionalKey & { ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">; create: () => string & import("effect/Brand").Brand<"Workspace.ID">; }>, never, never>; }>>>, Schema.optionalKey; readonly workspaceID: Schema.decodeTo & { ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">; create: () => string & import("effect/Brand").Brand<"Workspace.ID">; }>>, Schema.optionalKey & { ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">; create: () => string & import("effect/Brand").Brand<"Workspace.ID">; }>, never, never>; }>>, never, never>; readonly data: Schema.Struct<{ readonly name: Schema.String; }>; }> & { type: "workspace.ready"; durability: "ephemeral"; durable: undefined; data: Schema.Struct<{ readonly name: Schema.String; }>; }, Schema.Struct<{ readonly id: Schema.brand & { create: () => string & import("effect/Brand").Brand<"Event.ID">; }; readonly created: Schema.Finite; readonly metadata: Schema.decodeTo>>, Schema.optionalKey>, never, never>; readonly type: Schema.Literal<"workspace.failed">; readonly location: Schema.decodeTo; readonly workspaceID: Schema.decodeTo & { ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">; create: () => string & import("effect/Brand").Brand<"Workspace.ID">; }>>, Schema.optionalKey & { ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">; create: () => string & import("effect/Brand").Brand<"Workspace.ID">; }>, never, never>; }>>>, Schema.optionalKey; readonly workspaceID: Schema.decodeTo & { ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">; create: () => string & import("effect/Brand").Brand<"Workspace.ID">; }>>, Schema.optionalKey & { ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">; create: () => string & import("effect/Brand").Brand<"Workspace.ID">; }>, never, never>; }>>, never, never>; readonly data: Schema.Struct<{ readonly message: Schema.String; }>; }> & { type: "workspace.failed"; durability: "ephemeral"; durable: undefined; data: Schema.Struct<{ readonly message: Schema.String; }>; }, Schema.Struct<{ readonly id: Schema.brand & { create: () => string & import("effect/Brand").Brand<"Event.ID">; }; readonly created: Schema.Finite; readonly metadata: Schema.decodeTo>>, Schema.optionalKey>, never, never>; readonly type: Schema.Literal<"workspace.status">; readonly location: Schema.decodeTo; readonly workspaceID: Schema.decodeTo & { ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">; create: () => string & import("effect/Brand").Brand<"Workspace.ID">; }>>, Schema.optionalKey & { ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">; create: () => string & import("effect/Brand").Brand<"Workspace.ID">; }>, never, never>; }>>>, Schema.optionalKey; readonly workspaceID: Schema.decodeTo & { ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">; create: () => string & import("effect/Brand").Brand<"Workspace.ID">; }>>, Schema.optionalKey & { ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">; create: () => string & import("effect/Brand").Brand<"Workspace.ID">; }>, never, never>; }>>, never, never>; readonly data: Schema.Struct<{ readonly workspaceID: Schema.brand & { ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">; create: () => string & import("effect/Brand").Brand<"Workspace.ID">; }; readonly status: Schema.Literals; }>; }> & { type: "workspace.status"; durability: "ephemeral"; durable: undefined; data: Schema.Struct<{ readonly workspaceID: Schema.brand & { ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">; create: () => string & import("effect/Brand").Brand<"Workspace.ID">; }; readonly status: Schema.Literals; }>; }];