import * as v from "valibot"; /** * Union of every message the sandbox is allowed to send the host. Useful for hosts to validate * inbound traffic from sandboxes without re-implementing validation logic. */ export declare const sandboxToHostMessageSchema: v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{ readonly type: v.LiteralSchema<"ready", undefined>; readonly bridgeProtocolVersion: v.NumberSchema; readonly sdkVersion: v.StringSchema; readonly status: v.LiteralSchema<"success", undefined>; readonly manifest: v.UnionSchema<[v.ObjectSchema<{ readonly version: v.LiteralSchema<1, undefined>; readonly dataSources: v.RecordSchema, v.ObjectSchema<{ readonly name: v.StringSchema; readonly description: v.OptionalSchema, undefined>; readonly icon: v.OptionalSchema; readonly emoji: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"external", undefined>; readonly url: v.StringSchema; }, undefined>], undefined>, undefined>; readonly properties: v.OptionalSchema, v.ObjectSchema<{ readonly name: v.StringSchema; readonly description: v.OptionalSchema, undefined>; readonly type: v.PicklistSchema; }, undefined>, undefined>, {}>; }, undefined>, undefined>; }, undefined>, v.NullSchema], undefined>; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"ready", undefined>; readonly bridgeProtocolVersion: v.NumberSchema; readonly sdkVersion: v.StringSchema; readonly status: v.LiteralSchema<"error", undefined>; readonly error: v.ObjectSchema<{ readonly code: v.StringSchema; readonly message: v.StringSchema; }, undefined>; }, undefined>], undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"queryDataSource", undefined>; readonly requestId: v.StringSchema; readonly snapshotId: v.StringSchema; readonly dataSourceId: v.CustomSchema | undefined>; readonly limit: v.NumberSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"createPage", undefined>; readonly requestId: v.StringSchema; readonly parent: v.VariantSchema<"type", [v.ObjectSchema<{ readonly type: v.LiteralSchema<"page_id", undefined>; readonly page_id: v.CustomSchema | undefined>; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"data_source_id", undefined>; readonly data_source_id: v.CustomSchema | undefined>; }, undefined>], undefined>; readonly properties: v.RecordSchema, v.VariantSchema<"type", [v.ObjectSchema<{ readonly type: v.LiteralSchema<"title", undefined>; readonly title: v.ArraySchema, v.UnknownSchema, undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"rich_text", undefined>; readonly rich_text: v.ArraySchema, v.UnknownSchema, undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"number", undefined>; readonly number: v.NullableSchema, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"url", undefined>; readonly url: v.NullableSchema, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"email", undefined>; readonly email: v.NullableSchema, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"phone_number", undefined>; readonly phone_number: v.NullableSchema, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"checkbox", undefined>; readonly checkbox: v.BooleanSchema; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"select", undefined>; readonly select: v.NullableSchema; readonly name: v.OptionalSchema, undefined>; readonly color: v.OptionalSchema, undefined>; readonly description: v.OptionalSchema, undefined>, undefined>; }, undefined>, v.ObjectSchema<{ readonly name: v.StringSchema; readonly id: v.OptionalSchema, undefined>; readonly color: v.OptionalSchema, undefined>; readonly description: v.OptionalSchema, undefined>, undefined>; }, undefined>], undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"status", undefined>; readonly status: v.NullableSchema; readonly name: v.OptionalSchema, undefined>; readonly color: v.OptionalSchema, undefined>; readonly description: v.OptionalSchema, undefined>, undefined>; }, undefined>, v.ObjectSchema<{ readonly name: v.StringSchema; readonly id: v.OptionalSchema, undefined>; readonly color: v.OptionalSchema, undefined>; readonly description: v.OptionalSchema, undefined>, undefined>; }, undefined>], undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"multi_select", undefined>; readonly multi_select: v.ArraySchema; readonly name: v.OptionalSchema, undefined>; readonly color: v.OptionalSchema, undefined>; readonly description: v.OptionalSchema, undefined>, undefined>; }, undefined>, v.ObjectSchema<{ readonly name: v.StringSchema; readonly id: v.OptionalSchema, undefined>; readonly color: v.OptionalSchema, undefined>; readonly description: v.OptionalSchema, undefined>, undefined>; }, undefined>], undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"date", undefined>; readonly date: v.NullableSchema; readonly end: v.OptionalSchema, undefined>, undefined>; readonly time_zone: v.OptionalSchema, undefined>, undefined>; }, undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"people", undefined>; readonly people: v.ArraySchema, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly object: v.LiteralSchema<"group", undefined>; readonly id: v.StringSchema; readonly name: v.OptionalSchema, undefined>, undefined>; }, undefined>], undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"relation", undefined>; readonly has_more: v.OptionalSchema, undefined>; readonly relation: v.ArraySchema; }, undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"files", undefined>; readonly files: v.ArraySchema; readonly name: v.StringSchema; readonly external: v.ObjectSchema<{ readonly url: v.StringSchema; }, undefined>; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"file", undefined>; readonly name: v.StringSchema; readonly file: v.ObjectSchema<{ readonly url: v.StringSchema; readonly expiry_time: v.OptionalSchema, undefined>; }, undefined>; }, undefined>], undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"place", undefined>; readonly place: v.NullableSchema; readonly lon: v.NumberSchema; readonly name: v.OptionalSchema, undefined>, undefined>; readonly address: v.OptionalSchema, undefined>, undefined>; readonly aws_place_id: v.OptionalSchema, undefined>, undefined>; readonly google_place_id: v.OptionalSchema, undefined>, undefined>; }, undefined>, undefined>; readonly id: v.StringSchema; }, undefined>], undefined>, undefined>; readonly icon: v.OptionalSchema; readonly emoji: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"custom_emoji", undefined>; readonly custom_emoji: v.ObjectSchema<{ readonly id: v.StringSchema; readonly name: v.OptionalSchema, undefined>; readonly url: v.OptionalSchema, undefined>; }, undefined>; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"external", undefined>; readonly external: v.ObjectSchema<{ readonly url: v.StringSchema; }, undefined>; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"file", undefined>; readonly file: v.ObjectSchema<{ readonly url: v.StringSchema; readonly expiry_time: v.OptionalSchema, undefined>; }, undefined>; }, undefined>], undefined>, undefined>; readonly cover: v.OptionalSchema; readonly external: v.ObjectSchema<{ readonly url: v.StringSchema; }, undefined>; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"file", undefined>; readonly file: v.ObjectSchema<{ readonly url: v.StringSchema; readonly expiry_time: v.OptionalSchema, undefined>; }, undefined>; }, undefined>], undefined>, undefined>; readonly position: v.OptionalSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"end", undefined>; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"before", undefined>; readonly blockId: v.CustomSchema | undefined>; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"after", undefined>; readonly blockId: v.CustomSchema | undefined>; }, undefined>], undefined>, undefined>; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"getPage", undefined>; readonly requestId: v.StringSchema; readonly pageId: v.CustomSchema | undefined>; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"getUser", undefined>; readonly requestId: v.StringSchema; readonly userId: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"listUsers", undefined>; readonly requestId: v.StringSchema; readonly startCursor: v.OptionalSchema, undefined>; readonly pageSize: v.OptionalSchema, undefined>; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"updatePage", undefined>; readonly requestId: v.StringSchema; readonly pageId: v.CustomSchema | undefined>; readonly properties: v.OptionalSchema, v.VariantSchema<"type", [v.ObjectSchema<{ readonly type: v.LiteralSchema<"title", undefined>; readonly title: v.ArraySchema, v.UnknownSchema, undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"rich_text", undefined>; readonly rich_text: v.ArraySchema, v.UnknownSchema, undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"number", undefined>; readonly number: v.NullableSchema, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"url", undefined>; readonly url: v.NullableSchema, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"email", undefined>; readonly email: v.NullableSchema, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"phone_number", undefined>; readonly phone_number: v.NullableSchema, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"checkbox", undefined>; readonly checkbox: v.BooleanSchema; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"select", undefined>; readonly select: v.NullableSchema; readonly name: v.OptionalSchema, undefined>; readonly color: v.OptionalSchema, undefined>; readonly description: v.OptionalSchema, undefined>, undefined>; }, undefined>, v.ObjectSchema<{ readonly name: v.StringSchema; readonly id: v.OptionalSchema, undefined>; readonly color: v.OptionalSchema, undefined>; readonly description: v.OptionalSchema, undefined>, undefined>; }, undefined>], undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"status", undefined>; readonly status: v.NullableSchema; readonly name: v.OptionalSchema, undefined>; readonly color: v.OptionalSchema, undefined>; readonly description: v.OptionalSchema, undefined>, undefined>; }, undefined>, v.ObjectSchema<{ readonly name: v.StringSchema; readonly id: v.OptionalSchema, undefined>; readonly color: v.OptionalSchema, undefined>; readonly description: v.OptionalSchema, undefined>, undefined>; }, undefined>], undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"multi_select", undefined>; readonly multi_select: v.ArraySchema; readonly name: v.OptionalSchema, undefined>; readonly color: v.OptionalSchema, undefined>; readonly description: v.OptionalSchema, undefined>, undefined>; }, undefined>, v.ObjectSchema<{ readonly name: v.StringSchema; readonly id: v.OptionalSchema, undefined>; readonly color: v.OptionalSchema, undefined>; readonly description: v.OptionalSchema, undefined>, undefined>; }, undefined>], undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"date", undefined>; readonly date: v.NullableSchema; readonly end: v.OptionalSchema, undefined>, undefined>; readonly time_zone: v.OptionalSchema, undefined>, undefined>; }, undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"people", undefined>; readonly people: v.ArraySchema, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly object: v.LiteralSchema<"group", undefined>; readonly id: v.StringSchema; readonly name: v.OptionalSchema, undefined>, undefined>; }, undefined>], undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"relation", undefined>; readonly has_more: v.OptionalSchema, undefined>; readonly relation: v.ArraySchema; }, undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"files", undefined>; readonly files: v.ArraySchema; readonly name: v.StringSchema; readonly external: v.ObjectSchema<{ readonly url: v.StringSchema; }, undefined>; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"file", undefined>; readonly name: v.StringSchema; readonly file: v.ObjectSchema<{ readonly url: v.StringSchema; readonly expiry_time: v.OptionalSchema, undefined>; }, undefined>; }, undefined>], undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"place", undefined>; readonly place: v.NullableSchema; readonly lon: v.NumberSchema; readonly name: v.OptionalSchema, undefined>, undefined>; readonly address: v.OptionalSchema, undefined>, undefined>; readonly aws_place_id: v.OptionalSchema, undefined>, undefined>; readonly google_place_id: v.OptionalSchema, undefined>, undefined>; }, undefined>, undefined>; readonly id: v.StringSchema; }, undefined>], undefined>, undefined>, undefined>; readonly icon: v.OptionalSchema; readonly emoji: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"custom_emoji", undefined>; readonly custom_emoji: v.ObjectSchema<{ readonly id: v.StringSchema; readonly name: v.OptionalSchema, undefined>; readonly url: v.OptionalSchema, undefined>; }, undefined>; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"external", undefined>; readonly external: v.ObjectSchema<{ readonly url: v.StringSchema; }, undefined>; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"file", undefined>; readonly file: v.ObjectSchema<{ readonly url: v.StringSchema; readonly expiry_time: v.OptionalSchema, undefined>; }, undefined>; }, undefined>], undefined>, undefined>; readonly cover: v.OptionalSchema; readonly external: v.ObjectSchema<{ readonly url: v.StringSchema; }, undefined>; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"file", undefined>; readonly file: v.ObjectSchema<{ readonly url: v.StringSchema; readonly expiry_time: v.OptionalSchema, undefined>; }, undefined>; }, undefined>], undefined>, undefined>; readonly archived: v.OptionalSchema, undefined>; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"resize", undefined>; readonly height: v.SchemaWithPipe, v.FiniteAction, v.MinValueAction]>; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"invalidHostMessage", undefined>; readonly reason: v.StringSchema; }, undefined>], undefined>; export type SandboxToHostMessage = v.InferOutput; //# sourceMappingURL=sandboxToHost.d.ts.map