export type Config = { profiles: Record; notifyCron?: string; scanCron?: string; }; export type ProfileConfig = { enable: boolean; sources: string[]; query?: string; exclude?: string; defaultTime?: string; databaseFile: string; backend: Record; }; export type BackendSettings = { enable?: boolean; }; export type SupportedBackends = 'ntfy.sh'; export type BackendConfig = { backend: SupportedBackends; settings: BackendSettings; }