import type { PersonaMessageRoute } from '../../models/PersonaMessageRoute.js'; import type { MessagingProviderDefinition } from '../../providers.js'; import type { MessagingAccountInput, MessagingAccountView, MessagingEndpointInput, MessagingEndpointView, PersonaMessageRouteInput } from '../../services/MessagingSettingsService.js'; type PublicProvider = Omit; export interface Props { /** Persona ID to configure messaging settings for. */ personaId: string; /** Current user's profile, attached to destinations created by this panel. */ profileId?: string; /** Available messaging providers to choose from. */ providers: PublicProvider[]; /** Configured messaging accounts to display and manage. */ accounts: MessagingAccountView[]; /** Configured message endpoints for sending. */ endpoints: MessagingEndpointView[]; /** Configured routing rules mapping message types to endpoints. */ routes: PersonaMessageRoute[]; /** Called when user saves account settings. */ onSaveAccount?: (input: MessagingAccountInput) => Promise; /** Called when user saves endpoint settings. */ onSaveEndpoint?: (input: MessagingEndpointInput) => Promise; /** Called when user saves message route settings. */ onSaveRoute?: (input: PersonaMessageRouteInput) => Promise; /** Disables editing when true; view-only mode. */ readonly?: boolean; } declare const MessagingSettingsPanel: import("svelte").Component; type MessagingSettingsPanel = ReturnType; export default MessagingSettingsPanel; //# sourceMappingURL=MessagingSettingsPanel.svelte.d.ts.map