import * as v from "valibot"; /** * First message the sandbox sends after mount, kicking off the bridge handshake. The host replies * with `init`. */ export declare const readyMessageSchema: v.UnionSchema<[v.ObjectSchema<{ readonly type: v.LiteralSchema<"ready", undefined>; readonly bridgeProtocolVersion: v.NumberSchema; readonly sdkVersion: v.StringSchema; readonly status: v.LiteralSchema<"success", undefined>; /** * The data sources and settings the custom block expects, or null when the * block has no manifest and no declared data requirements. */ 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>; export type ReadyMessage = v.InferOutput; //# sourceMappingURL=ready.d.ts.map