import { Static, Type } from "typebox"; import { Context } from "@deepseek-ai/cordis"; //#region src/schemas/notification.d.ts /** Provider-owned Cordis service for caller-authored notification requests. */ export declare const DOOM_NOTIFICATION_SERVICE = "doom/notification"; /** Custom session entry type used to publish normalized notification data. */ export declare const DOOM_NOTIFICATION_ENTRY_TYPE = "doom-notification"; export declare const DOOM_NOTIFICATION_ENTRY_VERSION: 1; export declare const MAX_DOOM_NOTIFICATION_TITLE_CHARACTERS = 128; export declare const MAX_DOOM_NOTIFICATION_SUBTITLE_CHARACTERS = 256; export declare const MAX_DOOM_NOTIFICATION_BODY_CHARACTERS = 4096; export declare const DoomNotificationLevelSchema: Type.TUnion<[Type.TLiteral<"info">, Type.TLiteral<"warning">, Type.TLiteral<"error">]>; export type DoomNotificationLevel = Static; export declare const DoomNotificationRequestSchema: Type.TObject<{ title: Type.TOptional; subtitle: Type.TOptional; body: Type.TString; level: Type.TOptional, Type.TLiteral<"warning">, Type.TLiteral<"error">]>>; }>; export type DoomNotificationRequest = Static; export declare const DoomNotificationEntryDataSchema: Type.TObject<{ version: Type.TLiteral<1>; title: Type.TString; subtitle: Type.TString; body: Type.TString; level: Type.TUnion<[Type.TLiteral<"info">, Type.TLiteral<"warning">, Type.TLiteral<"error">]>; }>; export type DoomNotificationEntryData = Static; /** Generic outbound notification seam. The provider owns delivery and lifecycle. */ export interface DoomNotificationService { readonly generation: string; request(request: DoomNotificationRequest): void | Promise; } declare module '@deepseek-ai/cordis' { interface Context { 'doom/notification': DoomNotificationService; } } /** Normalize caller-owned notification text into a validated request. */ export declare function normalizeDoomNotificationRequest(request: unknown): DoomNotificationRequest | undefined; /** Builds normalized, versioned data for a Doom notification session entry. */ export declare function createDoomNotificationEntryData(request: unknown): DoomNotificationEntryData | undefined; export declare function isDoomNotificationRequest(value: unknown): value is DoomNotificationRequest; export declare function isDoomNotificationEntryData(value: unknown): value is DoomNotificationEntryData; export declare function readDoomNotificationService(context: Context): DoomNotificationService | undefined; export declare function requireDoomNotificationService(context: Context): DoomNotificationService; //#endregion //# sourceMappingURL=notification.d.mts.map