import * as Schema from 'effect/Schema'; import * as Obj from '../Obj'; import * as Type from '../Type'; export declare namespace TestSchema { /** * Expando object is an object with an arbitrary set of properties. * This is the test variant with example.com namespace. */ const Expando: Type.Obj<{ readonly [x: string]: any; }, Schema.Struct.Fields>; type Expando = Type.InstanceType; class TestClass { field: string; toJSON(): { field: string; }; } /** @deprecated Use another test schema or create a specific local test schema. */ const ExampleSchema: Schema.SchemaClass<{ readonly string?: string | undefined; readonly number?: number | undefined; readonly boolean?: boolean | undefined; readonly null?: null | undefined; readonly undefined?: undefined; readonly stringArray?: readonly string[] | undefined; readonly twoDimNumberArray?: readonly (readonly number[])[] | undefined; readonly nested?: { readonly field: string; } | undefined; readonly nestedArray?: readonly { readonly field: string; }[] | undefined; readonly nestedNullableArray?: readonly ({ readonly field: string; } | null)[] | undefined; readonly reference?: import("../internal").Ref | undefined; readonly referenceArray?: readonly import("../internal").Ref[] | undefined; readonly classInstance?: TestClass | undefined; readonly other?: any; }, { readonly boolean?: boolean | undefined; readonly classInstance?: TestClass | undefined; readonly nested?: { readonly field: string; } | undefined; readonly nestedArray?: readonly { readonly field: string; }[] | undefined; readonly nestedNullableArray?: readonly ({ readonly field: string; } | null)[] | undefined; readonly null?: null | undefined; readonly number?: number | undefined; readonly other?: any; readonly reference?: import("@dxos/echo-protocol").EncodedReference | undefined; readonly referenceArray?: readonly import("@dxos/echo-protocol").EncodedReference[] | undefined; readonly string?: string | undefined; readonly stringArray?: readonly string[] | undefined; readonly twoDimNumberArray?: readonly (readonly number[])[] | undefined; readonly undefined?: undefined; }, never>; /** @deprecated Use another test schema or create a specific local test schema. */ interface ExampleSchema extends Schema.Schema.Type { } /** @deprecated Use another test schema or create a specific local test schema. */ const Example: Type.Obj<{ readonly string?: string | undefined; readonly number?: number | undefined; readonly boolean?: boolean | undefined; readonly null?: null | undefined; readonly undefined?: undefined; readonly stringArray?: readonly string[] | undefined; readonly twoDimNumberArray?: readonly (readonly number[])[] | undefined; readonly nested?: { readonly field: string; } | undefined; readonly nestedArray?: readonly { readonly field: string; }[] | undefined; readonly nestedNullableArray?: readonly ({ readonly field: string; } | null)[] | undefined; readonly reference?: import("../internal").Ref | undefined; readonly referenceArray?: readonly import("../internal").Ref[] | undefined; readonly classInstance?: TestClass | undefined; readonly other?: any; }, Schema.Struct.Fields>; /** @deprecated Use another test schema or create a specific local test schema. */ interface Example extends Type.InstanceType { } const MessageStruct: Schema.Struct<{ timestamp: Schema.PropertySignature<":", string, never, ":", string, true, never>; }>; const Message: Type.Obj<{ readonly timestamp: string; }, Schema.Struct.Fields>; type Message = Type.InstanceType; const Organization: Type.Obj<{ readonly name: string; readonly properties?: { readonly [x: string]: string; } | undefined; }, Schema.Struct.Fields>; type Organization = Type.InstanceType; const Person: Type.Obj<{ readonly name?: string | undefined; readonly username?: string | undefined; readonly email?: string | undefined; readonly age?: number | undefined; readonly tasks?: readonly import("../internal").Ref[] | undefined; readonly employer?: import("../internal").Ref<{ readonly name: string; readonly properties?: { readonly [x: string]: string; } | undefined; } & import("../Entity").OfKind & Obj.Unknown> | undefined; readonly address?: { readonly city?: string | undefined; readonly state?: string | undefined; readonly zip?: string | undefined; readonly coordinates: { readonly lat?: number | undefined; readonly lng?: number | undefined; }; } | undefined; readonly fields?: readonly { readonly label: string; readonly value: string; }[] | undefined; }, Schema.Struct.Fields>; interface Person extends Type.InstanceType { } const Task: Type.Obj<{ readonly title?: string | undefined; readonly deadline?: string | undefined; readonly completed?: boolean | undefined; readonly assignee?: import("../internal").Ref<{ readonly name?: string | undefined; readonly username?: string | undefined; readonly email?: string | undefined; readonly age?: number | undefined; readonly tasks?: readonly import("../internal").Ref[] | undefined; readonly employer?: import("../internal").Ref<{ readonly name: string; readonly properties?: { readonly [x: string]: string; } | undefined; } & import("../Entity").OfKind & Obj.Unknown> | undefined; readonly address?: { readonly city?: string | undefined; readonly state?: string | undefined; readonly zip?: string | undefined; readonly coordinates: { readonly lat?: number | undefined; readonly lng?: number | undefined; }; } | undefined; readonly fields?: readonly { readonly label: string; readonly value: string; }[] | undefined; } & import("../Entity").OfKind & Obj.Unknown> | undefined; readonly previous?: import("../internal").Ref | undefined; readonly subTasks?: readonly import("../internal").Ref[] | undefined; readonly description?: string | undefined; }, Schema.Struct.Fields>; interface Task extends Type.InstanceType { } const HasManager: Type.Relation<{}, { readonly name?: string | undefined; readonly username?: string | undefined; readonly email?: string | undefined; readonly age?: number | undefined; readonly tasks?: readonly import("../internal").Ref[] | undefined; readonly employer?: import("../internal").Ref<{ readonly name: string; readonly properties?: { readonly [x: string]: string; } | undefined; } & import("../Entity").OfKind & Obj.Unknown> | undefined; readonly address?: { readonly city?: string | undefined; readonly state?: string | undefined; readonly zip?: string | undefined; readonly coordinates: { readonly lat?: number | undefined; readonly lng?: number | undefined; }; } | undefined; readonly fields?: readonly { readonly label: string; readonly value: string; }[] | undefined; } & import("../Entity").OfKind, { readonly name?: string | undefined; readonly username?: string | undefined; readonly email?: string | undefined; readonly age?: number | undefined; readonly tasks?: readonly import("../internal").Ref[] | undefined; readonly employer?: import("../internal").Ref<{ readonly name: string; readonly properties?: { readonly [x: string]: string; } | undefined; } & import("../Entity").OfKind & Obj.Unknown> | undefined; readonly address?: { readonly city?: string | undefined; readonly state?: string | undefined; readonly zip?: string | undefined; readonly coordinates: { readonly lat?: number | undefined; readonly lng?: number | undefined; }; } | undefined; readonly fields?: readonly { readonly label: string; readonly value: string; }[] | undefined; } & import("../Entity").OfKind, Schema.Struct.Fields>; type HasManager = Type.InstanceType; const EmployedBy: Type.Relation<{ readonly role: string; readonly since?: string | undefined; }, { readonly name?: string | undefined; readonly username?: string | undefined; readonly email?: string | undefined; readonly age?: number | undefined; readonly tasks?: readonly import("../internal").Ref[] | undefined; readonly employer?: import("../internal").Ref<{ readonly name: string; readonly properties?: { readonly [x: string]: string; } | undefined; } & import("../Entity").OfKind & Obj.Unknown> | undefined; readonly address?: { readonly city?: string | undefined; readonly state?: string | undefined; readonly zip?: string | undefined; readonly coordinates: { readonly lat?: number | undefined; readonly lng?: number | undefined; }; } | undefined; readonly fields?: readonly { readonly label: string; readonly value: string; }[] | undefined; } & import("../Entity").OfKind, { readonly name: string; readonly properties?: { readonly [x: string]: string; } | undefined; } & import("../Entity").OfKind, Schema.Struct.Fields>; type EmployedBy = Type.InstanceType; enum RecordType { UNDEFINED = 0, PERSONAL = 1, WORK = 2 } const Container: Type.Obj<{ readonly objects?: readonly import("../internal").Ref[] | undefined; readonly records?: readonly { readonly title?: string | undefined; readonly description?: string | undefined; readonly contacts?: readonly import("../internal").Ref<{ readonly name?: string | undefined; readonly username?: string | undefined; readonly email?: string | undefined; readonly age?: number | undefined; readonly tasks?: readonly import("../internal").Ref[] | undefined; readonly employer?: import("../internal").Ref<{ readonly name: string; readonly properties?: { readonly [x: string]: string; } | undefined; } & import("../Entity").OfKind & Obj.Unknown> | undefined; readonly address?: { readonly city?: string | undefined; readonly state?: string | undefined; readonly zip?: string | undefined; readonly coordinates: { readonly lat?: number | undefined; readonly lng?: number | undefined; }; } | undefined; readonly fields?: readonly { readonly label: string; readonly value: string; }[] | undefined; } & import("../Entity").OfKind & Obj.Unknown>[] | undefined; readonly type?: RecordType | undefined; }[] | undefined; }, Schema.Struct.Fields>; type Container = Type.InstanceType; } //# sourceMappingURL=test-schema.d.ts.map