import type { PostgresJsDatabase } from "drizzle-orm/postgres-js"; import type { z } from "zod"; import { type NotificationReminderRuleStage, type NotificationReminderStageChannel, type NotificationSettings } from "./schema.js"; import type { insertNotificationReminderRuleStageSchema, insertNotificationReminderStageChannelSchema, reorderReminderRuleStagesSchema, updateNotificationReminderRuleStageSchema, updateNotificationReminderStageChannelSchema, updateNotificationSettingsSchema } from "./validation.js"; export type CreateReminderRuleStageInput = z.infer; export type UpdateReminderRuleStageInput = z.infer; export type CreateReminderStageChannelInput = z.infer; export type UpdateReminderStageChannelInput = z.infer; export type ReorderReminderRuleStagesInput = z.infer; export type UpdateNotificationSettingsInput = z.infer; export declare function listReminderRuleStages(db: PostgresJsDatabase, reminderRuleId: string): Promise; export declare function getReminderRuleStageById(db: PostgresJsDatabase, stageId: string): Promise; export declare function createReminderRuleStage(db: PostgresJsDatabase, reminderRuleId: string, input: CreateReminderRuleStageInput): Promise; export declare function updateReminderRuleStage(db: PostgresJsDatabase, stageId: string, input: UpdateReminderRuleStageInput): Promise; export declare function deleteReminderRuleStage(db: PostgresJsDatabase, stageId: string): Promise; export declare function reorderReminderRuleStages(db: PostgresJsDatabase, reminderRuleId: string, input: ReorderReminderRuleStagesInput): Promise; export declare function listStageChannels(db: PostgresJsDatabase, stageId: string): Promise; export declare function createStageChannel(db: PostgresJsDatabase, stageId: string, input: CreateReminderStageChannelInput): Promise; export declare function updateStageChannel(db: PostgresJsDatabase, channelId: string, input: UpdateReminderStageChannelInput): Promise; export declare function deleteStageChannel(db: PostgresJsDatabase, channelId: string): Promise; export declare function getNotificationSettingsRecord(db: PostgresJsDatabase, scope?: string): Promise; export declare function upsertNotificationSettings(db: PostgresJsDatabase, input: UpdateNotificationSettingsInput): Promise;