import type { NotificationConfig, NotificationChannelConfig, NotificationEventConfig, QuietHoursConfig, ThrottleConfig, QuietHoursRange } from "./types.ts"; export declare function asBoolean(value: unknown): boolean | undefined; export declare function asNumber(value: unknown): number | undefined; /** Check whether a raw value is a plain object (not null, not array). */ export declare function isObject(value: unknown): value is Record; export declare function parseQuietHoursRange(raw: unknown): QuietHoursRange | null; export declare function parseQuietHours(raw: unknown): QuietHoursConfig | undefined; export declare function parseThrottle(raw: unknown): ThrottleConfig | undefined; export declare function parseChannelConfig(raw: unknown): NotificationChannelConfig | null; /** * Parse a single raw event config value into a validated `NotificationEventConfig`. * Returns `undefined` when the value is invalid or has no meaningful fields. */ export declare function parseEventConfig(val: unknown): NotificationEventConfig | undefined; /** * Parse the raw `events` map into a validated events dictionary. * Skips unknown event types with a warning. */ export declare function parseEventConfigs(raw: unknown, validEventTypes: string[]): NotificationConfig["events"] | undefined; //# sourceMappingURL=config-parsers.d.ts.map