import * as v from "valibot"; /** * User-authored manifest declaring the data sources the custom block expects. * Lives at `custom_blocks.json` in the project root and is forwarded to the host with * the bridge `ready` message so the host can pre-bind data sources, surface * configuration UI, etc. The `notionCustomBlock` Vite plugin from * `ncblock/vite` wires the JSON file into the dev server and * the build output. */ /** * Decorative icon attached to a manifest data source. Mirrors the * `emoji` / `external` icon variants the public Notion API uses, so the host * can render a recognizable affordance next to the slot in setup UI. */ export declare const manifestIconSchema: v.VariantSchema<"type", [v.ObjectSchema<{ readonly type: v.LiteralSchema<"emoji", undefined>; readonly emoji: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"external", undefined>; readonly url: v.StringSchema; }, undefined>], undefined>; export type ManifestIcon = v.InferOutput; export declare const manifestPropertySchema: v.ObjectSchema<{ readonly name: v.StringSchema; readonly description: v.OptionalSchema, undefined>; readonly type: v.PicklistSchema; }, undefined>; export type ManifestProperty = v.InferOutput; export declare const manifestDataSourceSchema: 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>; export type ManifestDataSource = v.InferOutput; export declare const manifestSchema: 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>; export type CustomBlockManifest = v.InferOutput; //# sourceMappingURL=manifest.d.ts.map