import { z } from "zod"; export declare const ExtensionOwnSettingsSchema: z.ZodObject<{ settings: z.ZodRecord>; }, z.core.$strip>; export type ExtensionOwnSettings = z.infer; export declare const ExtensionEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"heartbeat">; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"files">; paths: z.ZodArray; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"refs">; repos: z.ZodArray; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"repos">; repos: z.ZodArray; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"settings">; keys: z.ZodArray; }, z.core.$strip>], "kind">; export type ExtensionEvent = z.infer; export declare const EXTENSION_EVENTS_HEARTBEAT_MS = 15000; export declare const EXTENSION_EVENT_KINDS: readonly ["files", "refs", "repos", "settings"]; export type ExtensionEventKind = (typeof EXTENSION_EVENT_KINDS)[number]; export declare const ExtensionHealthSchema: z.ZodObject<{ state: z.ZodEnum<{ degraded: "degraded"; failed: "failed"; ok: "ok"; starting: "starting"; }>; detail: z.ZodOptional; }, z.core.$strip>; export declare const extensionSettingsUrl: () => string; export declare const extensionEventsUrl: () => string; export declare const EXTENSION_PROCESS_ENV: { readonly daemon: "INTENTIC_DAEMON"; readonly token: "INTENTIC_EXTENSION_TOKEN"; readonly id: "INTENTIC_EXTENSION_ID"; readonly workspace: "INTENTIC_WORKSPACE"; readonly dir: "INTENTIC_EXTENSION_DIR"; readonly state: "INTENTIC_EXTENSION_STATE"; readonly cache: "INTENTIC_EXTENSION_CACHE"; readonly permissions: "INTENTIC_EXTENSION_PERMISSIONS"; }; export declare const ExtensionPermissionsSchema: z.ZodArray; //# sourceMappingURL=extension-protocol.d.ts.map