import { TooltipProps } from '@mui/material/Tooltip'; import * as z from 'zod'; import { z as z$1 } from 'zod'; import * as React$1 from 'react'; import React__default, { ReactNode } from 'react'; import { SelectChangeEvent, SxProps as SxProps$1, Theme as Theme$1 } from '@mui/material'; import { SxProps, Theme } from '@mui/material/styles'; import { IDetectedBarcode } from '@yudiel/react-qr-scanner'; import { PublicKeyCredentialCreationOptionsJSON, RegistrationResponseJSON, PublicKeyCredentialRequestOptionsJSON, AuthenticationResponseJSON } from '@simplewebauthn/browser'; export { AuthenticationResponseJSON, PublicKeyCredentialCreationOptionsJSON, PublicKeyCredentialRequestOptionsJSON, RegistrationResponseJSON } from '@simplewebauthn/browser'; type BootstrapTooltipProps = TooltipProps; declare const DeleteConfirmSchema: z.ZodObject<{ tooltipText: z.ZodString; disabled: z.ZodOptional; onDelete: z.ZodOptional, z.ZodVoid>>; }, "strip", z.ZodTypeAny, { tooltipText: string; disabled?: boolean | undefined; onDelete?: (() => void) | undefined; }, { tooltipText: string; disabled?: boolean | undefined; onDelete?: (() => void) | undefined; }>; type DeleteConfirmProps = z.infer; declare const LabeledTextField: React__default.FC<{ name: string; label: string; value?: any; onChange: (e: React__default.ChangeEvent) => void; error?: string | undefined; type?: string; required?: boolean; placeholder?: string; inputProps?: any; }>; declare const SelectField: React__default.FC<{ name: string; label: string; value?: string; onChange: (e: SelectChangeEvent) => void; error?: string | undefined; required?: boolean; children: React__default.ReactNode; disabled?: boolean; }>; declare const DescriptionBox: React__default.FC<{ title?: string; children?: React__default.ReactNode; }>; declare const ThemeButtonPropsSchema: z.ZodObject<{ theme: z.ZodOptional; onToggleTheme: z.ZodFunction, z.ZodVoid>; }, "strip", z.ZodTypeAny, { onToggleTheme: () => void; theme?: string | undefined; }, { onToggleTheme: () => void; theme?: string | undefined; }>; type ThemeButtonProps = z.infer; declare const ThemeButton: React__default.FunctionComponent; declare const ImageButtonPropsSchema: z.ZodObject<{ firstImageSrc: z.ZodString; firstImageAlt: z.ZodString; firstImageTitle: z.ZodOptional; secondImageTitle: z.ZodOptional; secondImageSrc: z.ZodString; secondImageAlt: z.ZodString; onClickFirstImage: z.ZodFunction, z.ZodVoid>; onClickSecondImage: z.ZodFunction, z.ZodVoid>; }, "strip", z.ZodTypeAny, { firstImageSrc: string; firstImageAlt: string; secondImageSrc: string; secondImageAlt: string; onClickFirstImage: (args_0: any, ...args: unknown[]) => void; onClickSecondImage: (args_0: any, ...args: unknown[]) => void; firstImageTitle?: string | undefined; secondImageTitle?: string | undefined; }, { firstImageSrc: string; firstImageAlt: string; secondImageSrc: string; secondImageAlt: string; onClickFirstImage: (args_0: any, ...args: unknown[]) => void; onClickSecondImage: (args_0: any, ...args: unknown[]) => void; firstImageTitle?: string | undefined; secondImageTitle?: string | undefined; }>; type ImageButtonProps = z.infer; declare const ImageButton: React__default.FunctionComponent; declare const lazyImageProps: { readonly decoding: "async"; readonly loading: "lazy"; }; declare const eagerImageProps: { readonly decoding: "async"; readonly loading: "eager"; readonly fetchPriority: "high"; }; type ImageProps = React__default.ImgHTMLAttributes & { /** Above-the-fold image. Loads immediately with high fetch priority. */ priority?: boolean; sx?: SxProps; }; declare const Image: React__default.FC; declare const _default$h: React__default.NamedExoticComponent<{ className?: string | undefined; title?: string | undefined; disabled?: boolean | undefined; icon?: string | undefined; description?: string | undefined; buttonText?: string | undefined; buttonIcon?: string | undefined; onInviteClick?: (() => void) | undefined; }>; /** * Zod schema for InviteCard component props * Validates all props at runtime and provides TypeScript types */ declare const InviteCardPropsSchema: z.ZodObject<{ /** * Main heading text for the card * @default "Leve o axé para sua gestão" */ title: z.ZodOptional; /** * Description text explaining the invitation purpose * @default "Conhece alguém que lidera um terreiro? Compartilhe essa ferramenta." */ description: z.ZodOptional; /** * Text displayed on the call-to-action button * @default "Enviar convite" */ buttonText: z.ZodOptional; /** * Material Icons name for the card icon * @default "share" */ icon: z.ZodOptional; /** * Material Icons name for the button trailing icon * @default "arrow_forward" */ buttonIcon: z.ZodOptional; /** * Callback fired when the invite button is clicked */ onInviteClick: z.ZodOptional, z.ZodVoid>>; /** * Additional CSS class names for custom styling */ className: z.ZodOptional; /** * Disables the button and shows loading state * @default false */ disabled: z.ZodOptional; }, "strip", z.ZodTypeAny, { className?: string | undefined; title?: string | undefined; disabled?: boolean | undefined; icon?: string | undefined; description?: string | undefined; buttonText?: string | undefined; buttonIcon?: string | undefined; onInviteClick?: (() => void) | undefined; }, { className?: string | undefined; title?: string | undefined; disabled?: boolean | undefined; icon?: string | undefined; description?: string | undefined; buttonText?: string | undefined; buttonIcon?: string | undefined; onInviteClick?: (() => void) | undefined; }>; /** * TypeScript type inferred from Zod schema */ type InviteCardProps = z.infer; declare const GoogleAuthButtonPropsSchema: z.ZodObject<{ onClick: z.ZodFunction, z.ZodVoid>; disabled: z.ZodOptional; text: z.ZodOptional; dataTestId: z.ZodOptional; }, "strip", z.ZodTypeAny, { onClick: () => void; text?: string | undefined; disabled?: boolean | undefined; dataTestId?: string | undefined; }, { onClick: () => void; text?: string | undefined; disabled?: boolean | undefined; dataTestId?: string | undefined; }>; type GoogleAuthButtonProps = z.infer; declare const GoogleAuthButton: React__default.FC; declare const FacebookAuthButtonPropsSchema: z.ZodObject<{ onClick: z.ZodFunction, z.ZodVoid>; disabled: z.ZodOptional; text: z.ZodOptional; dataTestId: z.ZodOptional; }, "strip", z.ZodTypeAny, { onClick: () => void; text?: string | undefined; disabled?: boolean | undefined; dataTestId?: string | undefined; }, { onClick: () => void; text?: string | undefined; disabled?: boolean | undefined; dataTestId?: string | undefined; }>; type FacebookAuthButtonProps = z.infer; declare const FacebookAuthButton: React__default.FC; declare const SubscriptionPlanSchema: z.ZodEnum<["free", "essential", "management", "complete", "basic", "standard", "advanced", "unlimit", "enterprise"]>; type SubscriptionPlan = z.infer; declare const FeatureAccessLevelSchema: z.ZodEnum<["free", "essential", "management", "complete", "basic", "standard", "advanced", "unlimit", "enterprise"]>; type FeatureAccessLevel = z.infer; declare const GuardBehaviorSchema: z.ZodEnum<["hide", "disable", "overlay", "redirect", "modal"]>; type GuardBehavior = z.infer; declare const SubscriptionStatusSchema: z.ZodEnum<["active", "trialing", "past_due", "canceled", "unpaid", "incomplete", "incomplete_expired", "paused", "none"]>; type SubscriptionStatus$1 = z.infer; declare const UserSubscriptionSchema: z.ZodObject<{ plan: z.ZodEnum<["free", "essential", "management", "complete", "basic", "standard", "advanced", "unlimit", "enterprise"]>; status: z.ZodEnum<["active", "trialing", "past_due", "canceled", "unpaid", "incomplete", "incomplete_expired", "paused", "none"]>; isAdmin: z.ZodDefault; trialEndsAt: z.ZodOptional>; currentPeriodEnd: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status: "none" | "paused" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete" | "incomplete_expired"; plan: "standard" | "complete" | "free" | "essential" | "management" | "unlimit" | "enterprise" | "basic" | "advanced"; isAdmin: boolean; trialEndsAt?: string | null | undefined; currentPeriodEnd?: string | null | undefined; }, { status: "none" | "paused" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete" | "incomplete_expired"; plan: "standard" | "complete" | "free" | "essential" | "management" | "unlimit" | "enterprise" | "basic" | "advanced"; isAdmin?: boolean | undefined; trialEndsAt?: string | null | undefined; currentPeriodEnd?: string | null | undefined; }>; type UserSubscription = z.infer; declare const FeatureDefinitionSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional; requiredLevel: z.ZodEnum<["free", "essential", "management", "complete", "basic", "standard", "advanced", "unlimit", "enterprise"]>; category: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; name: string; requiredLevel: "standard" | "complete" | "free" | "essential" | "management" | "unlimit" | "enterprise" | "basic" | "advanced"; description?: string | undefined; category?: string | undefined; }, { id: string; name: string; requiredLevel: "standard" | "complete" | "free" | "essential" | "management" | "unlimit" | "enterprise" | "basic" | "advanced"; description?: string | undefined; category?: string | undefined; }>; type FeatureDefinition = z.infer; declare const SubscriptionGuardPropsSchema: z.ZodObject<{ requiredLevel: z.ZodEnum<["free", "essential", "management", "complete", "basic", "standard", "advanced", "unlimit", "enterprise"]>; behavior: z.ZodDefault>; featureId: z.ZodOptional; featureName: z.ZodOptional; upgradeTitle: z.ZodOptional; upgradeMessage: z.ZodOptional; upgradeButtonText: z.ZodOptional; onUpgradeClick: z.ZodOptional, z.ZodVoid>>; onAccessDenied: z.ZodOptional; requiredLevel: z.ZodEnum<["free", "essential", "management", "complete", "basic", "standard", "advanced", "unlimit", "enterprise"]>; currentPlan: z.ZodEnum<["free", "essential", "management", "complete", "basic", "standard", "advanced", "unlimit", "enterprise"]>; }, "strip", z.ZodTypeAny, { requiredLevel: "standard" | "complete" | "free" | "essential" | "management" | "unlimit" | "enterprise" | "basic" | "advanced"; currentPlan: "standard" | "complete" | "free" | "essential" | "management" | "unlimit" | "enterprise" | "basic" | "advanced"; featureId?: string | undefined; }, { requiredLevel: "standard" | "complete" | "free" | "essential" | "management" | "unlimit" | "enterprise" | "basic" | "advanced"; currentPlan: "standard" | "complete" | "free" | "essential" | "management" | "unlimit" | "enterprise" | "basic" | "advanced"; featureId?: string | undefined; }>], z.ZodUnknown>, z.ZodVoid>>; children: z.ZodAny; fallback: z.ZodOptional; subscriptionOverride: z.ZodOptional; status: z.ZodEnum<["active", "trialing", "past_due", "canceled", "unpaid", "incomplete", "incomplete_expired", "paused", "none"]>; isAdmin: z.ZodDefault; trialEndsAt: z.ZodOptional>; currentPeriodEnd: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status: "none" | "paused" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete" | "incomplete_expired"; plan: "standard" | "complete" | "free" | "essential" | "management" | "unlimit" | "enterprise" | "basic" | "advanced"; isAdmin: boolean; trialEndsAt?: string | null | undefined; currentPeriodEnd?: string | null | undefined; }, { status: "none" | "paused" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete" | "incomplete_expired"; plan: "standard" | "complete" | "free" | "essential" | "management" | "unlimit" | "enterprise" | "basic" | "advanced"; isAdmin?: boolean | undefined; trialEndsAt?: string | null | undefined; currentPeriodEnd?: string | null | undefined; }>>; requiredPlugin: z.ZodOptional>; activePlugins: z.ZodOptional, "many">>; }, "strip", z.ZodTypeAny, { requiredLevel: "standard" | "complete" | "free" | "essential" | "management" | "unlimit" | "enterprise" | "basic" | "advanced"; behavior: "overlay" | "hide" | "disable" | "redirect" | "modal"; children?: any; featureId?: string | undefined; featureName?: string | undefined; upgradeTitle?: string | undefined; upgradeMessage?: string | undefined; upgradeButtonText?: string | undefined; onUpgradeClick?: ((...args: unknown[]) => void) | undefined; onAccessDenied?: ((args_0: { requiredLevel: "standard" | "complete" | "free" | "essential" | "management" | "unlimit" | "enterprise" | "basic" | "advanced"; currentPlan: "standard" | "complete" | "free" | "essential" | "management" | "unlimit" | "enterprise" | "basic" | "advanced"; featureId?: string | undefined; }, ...args: unknown[]) => void) | undefined; fallback?: any; subscriptionOverride?: { status: "none" | "paused" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete" | "incomplete_expired"; plan: "standard" | "complete" | "free" | "essential" | "management" | "unlimit" | "enterprise" | "basic" | "advanced"; isAdmin: boolean; trialEndsAt?: string | null | undefined; currentPeriodEnd?: string | null | undefined; } | undefined; requiredPlugin?: "whatsapp" | "financeiro" | "estoque" | "relatorios" | undefined; activePlugins?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; }, { requiredLevel: "standard" | "complete" | "free" | "essential" | "management" | "unlimit" | "enterprise" | "basic" | "advanced"; children?: any; behavior?: "overlay" | "hide" | "disable" | "redirect" | "modal" | undefined; featureId?: string | undefined; featureName?: string | undefined; upgradeTitle?: string | undefined; upgradeMessage?: string | undefined; upgradeButtonText?: string | undefined; onUpgradeClick?: ((...args: unknown[]) => void) | undefined; onAccessDenied?: ((args_0: { requiredLevel: "standard" | "complete" | "free" | "essential" | "management" | "unlimit" | "enterprise" | "basic" | "advanced"; currentPlan: "standard" | "complete" | "free" | "essential" | "management" | "unlimit" | "enterprise" | "basic" | "advanced"; featureId?: string | undefined; }, ...args: unknown[]) => void) | undefined; fallback?: any; subscriptionOverride?: { status: "none" | "paused" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete" | "incomplete_expired"; plan: "standard" | "complete" | "free" | "essential" | "management" | "unlimit" | "enterprise" | "basic" | "advanced"; isAdmin?: boolean | undefined; trialEndsAt?: string | null | undefined; currentPeriodEnd?: string | null | undefined; } | undefined; requiredPlugin?: "whatsapp" | "financeiro" | "estoque" | "relatorios" | undefined; activePlugins?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; }>; type SubscriptionGuardProps = z.infer; declare const UpgradePromptPropsSchema: z.ZodObject<{ open: z.ZodBoolean; onClose: z.ZodFunction, z.ZodVoid>; featureName: z.ZodString; requiredLevel: z.ZodEnum<["free", "essential", "management", "complete", "basic", "standard", "advanced", "unlimit", "enterprise"]>; currentPlan: z.ZodEnum<["free", "essential", "management", "complete", "basic", "standard", "advanced", "unlimit", "enterprise"]>; onUpgrade: z.ZodFunction, z.ZodVoid>; title: z.ZodOptional; message: z.ZodOptional; upgradeButtonText: z.ZodOptional; }, "strip", z.ZodTypeAny, { onClose: (...args: unknown[]) => void; open: boolean; requiredLevel: "standard" | "complete" | "free" | "essential" | "management" | "unlimit" | "enterprise" | "basic" | "advanced"; featureName: string; currentPlan: "standard" | "complete" | "free" | "essential" | "management" | "unlimit" | "enterprise" | "basic" | "advanced"; onUpgrade: (...args: unknown[]) => void; title?: string | undefined; message?: string | undefined; upgradeButtonText?: string | undefined; }, { onClose: (...args: unknown[]) => void; open: boolean; requiredLevel: "standard" | "complete" | "free" | "essential" | "management" | "unlimit" | "enterprise" | "basic" | "advanced"; featureName: string; currentPlan: "standard" | "complete" | "free" | "essential" | "management" | "unlimit" | "enterprise" | "basic" | "advanced"; onUpgrade: (...args: unknown[]) => void; title?: string | undefined; message?: string | undefined; upgradeButtonText?: string | undefined; }>; type UpgradePromptProps = z.infer; /** * SubscriptionGuard component that controls access to features based on subscription level * Supports multiple blocking strategies: hide, disable, overlay, redirect, modal */ declare const SubscriptionGuard: React__default.FunctionComponent; /** * Business logic hook for SubscriptionGuard component * Follows project convention: returns { data, fns } */ declare const useSubscriptionGuard: (props: SubscriptionGuardProps) => { readonly data: { hasAccess: boolean; requiredPlanName: string; upgradeTitle: string; upgradeMessage: string; upgradeButtonText: string; currentPlan: "standard" | "complete" | "free" | "essential" | "management" | "unlimit" | "enterprise" | "basic" | "advanced"; isAdmin: boolean; }; readonly fns: { handleUpgradeClick: () => void; handleRedirect: () => void; handleModalRequest: () => void; }; }; /** * UpgradePrompt: Modal dialog for subscription upgrades * Used by SubscriptionGuard and other components */ declare const UpgradePrompt: React__default.FunctionComponent; /** * Business logic hook for UpgradePrompt component * Follows project convention: returns { data, fns } */ declare const useUpgradePrompt: (props: UpgradePromptProps) => { readonly data: { title: string; message: string; requiredPlanName: string; currentPlanName: string; upgradeButtonText: string; benefits: string[]; }; readonly fns: { handleClose: () => void; handleUpgrade: () => void; }; }; declare const UsageTrackingSchema: z.ZodObject<{ tier: z.ZodOptional; plan: z.ZodOptional; planName: z.ZodOptional; context: z.ZodOptional; upgradeRecommended: z.ZodOptional; nearingLimits: z.ZodOptional>; usage: z.ZodOptional>; members: z.ZodOptional>; activities: z.ZodOptional>; inventoryItems: z.ZodOptional>; bankAccounts: z.ZodOptional>; incomingTransactions: z.ZodOptional>; outcomeTransactions: z.ZodOptional>; ritualBaths: z.ZodOptional>; }, "strip", z.ZodTypeAny, { events?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; members?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; activities?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; inventoryItems?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; bankAccounts?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; incomingTransactions?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; outcomeTransactions?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; ritualBaths?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; }, { events?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; members?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; activities?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; inventoryItems?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; bankAccounts?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; incomingTransactions?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; outcomeTransactions?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; ritualBaths?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; }>>; features: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { tier?: string | undefined; plan?: string | undefined; planName?: string | undefined; context?: string | undefined; upgradeRecommended?: boolean | undefined; nearingLimits?: string[] | undefined; usage?: { events?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; members?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; activities?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; inventoryItems?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; bankAccounts?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; incomingTransactions?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; outcomeTransactions?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; ritualBaths?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; } | undefined; features?: Record | undefined; }, { tier?: string | undefined; plan?: string | undefined; planName?: string | undefined; context?: string | undefined; upgradeRecommended?: boolean | undefined; nearingLimits?: string[] | undefined; usage?: { events?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; members?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; activities?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; inventoryItems?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; bankAccounts?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; incomingTransactions?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; outcomeTransactions?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; ritualBaths?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; } | undefined; features?: Record | undefined; }>; type UsageTracking = z.infer; /** * Feature keys for type-safe access (matching backend API) */ type FeatureKey = "maxEvents" | "maxMembers" | "maxActivities" | "maxInventoryItems" | "maxBankAccounts" | "maxIncomingTransactions" | "maxOutcomeTransactions" | "maxRitualBaths" | "events" | "members" | "activities" | "inventoryItems" | "bankAccounts" | "incomingTransactions" | "outcomeTransactions" | "ritualBaths" | "mediums" | "baths" | "incomes" | "outcomes" | "financialAccounts"; /** * Behavior when quota is exceeded */ declare const QuotaBehaviorSchema: z.ZodEnum<["hide", "disable", "overlay", "modal", "tooltip", "callback"]>; type QuotaBehavior = z.infer; /** * QuotaGuard component props */ declare const QuotaGuardPropsSchema: z.ZodObject<{ /** * Feature to check quota for */ feature: z.ZodType; /** * Behavior when quota is exceeded * @default "overlay" */ behavior: z.ZodDefault>>; /** * Custom message to show when quota exceeded */ message: z.ZodOptional; /** * Custom title for upgrade prompt */ upgradeTitle: z.ZodOptional; /** * Custom description for upgrade prompt */ upgradeDescription: z.ZodOptional; /** * Callback when upgrade is requested */ onUpgradeClick: z.ZodOptional, z.ZodVoid>>; /** * Callback when quota is exceeded and user tries to act */ onQuotaExceeded: z.ZodOptional], null>, z.ZodVoid>>; /** * Whether to show remaining count * @default true */ showRemaining: z.ZodDefault>; /** * Whether to show warning when near limit (>80%) * @default true */ showNearLimitWarning: z.ZodDefault>; /** * Near limit threshold percentage * @default 80 */ nearLimitThreshold: z.ZodDefault>; /** * Custom render for disabled state */ disabledRenderer: z.ZodOptional], null>, z.ZodAny>>; /** * Whether to check if feature is enabled (not just quota) * @default true */ checkEnabled: z.ZodDefault>; /** * Children to protect */ children: z.ZodAny; /** * Additional CSS class */ className: z.ZodOptional; /** * Test ID for testing */ testId: z.ZodOptional; }, "strip", z.ZodTypeAny, { feature: FeatureKey; behavior: "overlay" | "tooltip" | "hide" | "disable" | "modal" | "callback"; showRemaining: boolean; showNearLimitWarning: boolean; nearLimitThreshold: number; checkEnabled: boolean; className?: string | undefined; children?: any; message?: string | undefined; upgradeTitle?: string | undefined; onUpgradeClick?: (() => void) | undefined; upgradeDescription?: string | undefined; onQuotaExceeded?: ((args_0: FeatureKey) => void) | undefined; disabledRenderer?: ((args_0: { max: number; remaining: number; }) => any) | undefined; testId?: string | undefined; }, { feature: FeatureKey; className?: string | undefined; children?: any; message?: string | undefined; behavior?: "overlay" | "tooltip" | "hide" | "disable" | "modal" | "callback" | undefined; upgradeTitle?: string | undefined; onUpgradeClick?: (() => void) | undefined; upgradeDescription?: string | undefined; onQuotaExceeded?: ((args_0: FeatureKey) => void) | undefined; showRemaining?: boolean | undefined; showNearLimitWarning?: boolean | undefined; nearLimitThreshold?: number | undefined; disabledRenderer?: ((args_0: { max: number; remaining: number; }) => any) | undefined; checkEnabled?: boolean | undefined; testId?: string | undefined; }>; type QuotaGuardProps = Omit, "children" | "disabledRenderer"> & { children: React.ReactNode; disabledRenderer?: (info: { remaining: number; max: number; }) => React.ReactNode; }; /** * Quota status for display */ declare const QuotaStatusSchema: z.ZodObject<{ feature: z.ZodType; allowed: z.ZodBoolean; enabled: z.ZodBoolean; remaining: z.ZodNumber; max: z.ZodNumber; usagePercentage: z.ZodNullable; isUnlimited: z.ZodBoolean; isNearLimit: z.ZodBoolean; message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; max: number; enabled: boolean; feature: FeatureKey; remaining: number; allowed: boolean; usagePercentage: number | null; isUnlimited: boolean; isNearLimit: boolean; }, { message: string; max: number; enabled: boolean; feature: FeatureKey; remaining: number; allowed: boolean; usagePercentage: number | null; isUnlimited: boolean; isNearLimit: boolean; }>; type QuotaStatus = z.infer; /** * Usage bar props for visual display */ declare const UsageBarPropsSchema: z.ZodObject<{ /** * Feature to display usage for */ feature: z.ZodType; /** * Show text label * @default true */ showLabel: z.ZodDefault>; /** * Show percentage * @default true */ showPercentage: z.ZodDefault>; /** * Custom color when normal */ normalColor: z.ZodOptional; /** * Custom color when warning (near limit) */ warningColor: z.ZodOptional; /** * Custom color when at limit */ limitColor: z.ZodOptional; /** * Size variant */ size: z.ZodDefault>>; /** * Additional CSS class */ className: z.ZodOptional; }, "strip", z.ZodTypeAny, { size: "small" | "medium" | "large"; feature: FeatureKey; showLabel: boolean; showPercentage: boolean; className?: string | undefined; normalColor?: string | undefined; warningColor?: string | undefined; limitColor?: string | undefined; }, { feature: FeatureKey; className?: string | undefined; size?: "small" | "medium" | "large" | undefined; showLabel?: boolean | undefined; showPercentage?: boolean | undefined; normalColor?: string | undefined; warningColor?: string | undefined; limitColor?: string | undefined; }>; type UsageBarProps = z.input; /** * Quota summary card props */ declare const QuotaSummaryCardPropsSchema: z.ZodObject<{ /** * Features to show in summary * If not provided, shows all features with limits */ features: z.ZodOptional, "many">>; /** * Whether to show disabled features * @default false */ showDisabled: z.ZodDefault>; /** * Whether to show unlimited features * @default true */ showUnlimited: z.ZodDefault>; /** * Callback when upgrade is requested */ onUpgradeClick: z.ZodOptional, z.ZodVoid>>; /** * Additional CSS class */ className: z.ZodOptional; }, "strip", z.ZodTypeAny, { showDisabled: boolean; showUnlimited: boolean; className?: string | undefined; features?: FeatureKey[] | undefined; onUpgradeClick?: (() => void) | undefined; }, { className?: string | undefined; features?: FeatureKey[] | undefined; onUpgradeClick?: (() => void) | undefined; showDisabled?: boolean | undefined; showUnlimited?: boolean | undefined; }>; type QuotaSummaryCardProps = z.infer; /** * QuotaGuard Component * * Protects features based on usage quotas and subscription limits. * Provides multiple blocking strategies and visual feedback for quota status. * Implements mobile-first responsive design. * * ## Features * - Multiple blocking behaviors (hide, disable, overlay, modal, tooltip) * - Visual feedback for remaining quota with badges and chips * - Warning alerts when approaching limits * - Upgrade prompts with customizable content * - Mobile-first responsive design * * ## Behaviors * - **hide**: Completely removes content from DOM * - **disable**: Shows content with reduced opacity, disabled interactions * - **overlay**: Covers content with upgrade prompt overlay * - **modal**: Triggers upgrade modal on interaction * - **tooltip**: Shows quota info in tooltip, allows interaction * * ## Responsive Design * - `xs`: Smaller icons (36px), compact padding, full-width buttons * - `sm`: Medium icons (48px), standard padding * - `md+`: Large icons (56px), generous padding * * @requires UsageProvider - Must be wrapped in UsageProvider context * * @example * // Basic usage - hide when quota exceeded * * * * * @example * // Show overlay when quota exceeded * navigate('/upgrade')} * > * * * * @example * // Show remaining count with warning * * * * * @example * // Custom upgrade prompt * * * */ declare const QuotaGuard: React__default.FC; type UsageKey = "events" | "members" | "activities" | "inventoryItems" | "bankAccounts" | "incomingTransactions" | "outcomeTransactions" | "ritualBaths"; /** * Props for useUsageQuota hook */ interface UseUsageQuotaProps { /** * Current plan ID (free, basic, standard, advanced, unlimit) */ planId: string; /** * Current usage tracking data with detailed stats */ usage: UsageTracking; } /** * Result of checking quota for a feature */ interface QuotaCheckResult { /** Whether the feature is enabled for this plan */ enabled: boolean; /** Whether the user can add more of this feature */ allowed: boolean; /** Current usage count */ current: number; /** Maximum allowed (-1 for unlimited) */ maxAllowed: number; /** Remaining count */ remaining: number; /** Usage percentage (0-100) */ usagePercentage: number | null; /** Whether usage is unlimited */ isUnlimited: boolean; /** Message to display */ message: string; } /** * Hook for accessing usage quota data and performing quota checks * * This hook provides both data access and quota checking functions * for use with the new UsageTracking structure from the backend. * * @example * const { data, fns } = useUsageQuota({ * planId: "basic", * usage: usageTrackingData, * }); * * // Check quota for events * const eventsQuota = fns.checkQuota("events"); * if (!eventsQuota.allowed) { * showUpgradePrompt(); * } */ declare const useUsageQuota: ({ planId, usage }: UseUsageQuotaProps) => { data: { planId: string; usage: { tier?: string | undefined; plan?: string | undefined; planName?: string | undefined; context?: string | undefined; upgradeRecommended?: boolean | undefined; nearingLimits?: string[] | undefined; usage?: { events?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; members?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; activities?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; inventoryItems?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; bankAccounts?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; incomingTransactions?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; outcomeTransactions?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; ritualBaths?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; } | undefined; features?: Record | undefined; }; }; fns: { checkQuota: (feature: string) => QuotaCheckResult; canAdd: (feature: string) => boolean; incrementUsage: (feature: string) => void; decrementUsage: (feature: string) => void; getUsageKey: (feature: string) => UsageKey; }; }; /** * Props for useQuotaGuard hook */ interface UseQuotaGuardProps extends Pick { /** * Usage quota hook props */ usageQuotaProps: UseUsageQuotaProps; } /** * Hook for QuotaGuard component logic * * Follows the project pattern of returning { data, fns } */ declare const useQuotaGuard: ({ feature, behavior, message, onUpgradeClick, onQuotaExceeded, showNearLimitWarning, nearLimitThreshold, checkEnabled, usageQuotaProps, }: UseQuotaGuardProps) => { data: { quotaStatus: { message: string; max: number; enabled: boolean; feature: FeatureKey; remaining: number; allowed: boolean; usagePercentage: number | null; isUnlimited: boolean; isNearLimit: boolean; }; shouldShow: boolean; shouldDisable: boolean; shouldShowOverlay: boolean; shouldShowWarning: boolean; featureDisplayName: string; tooltipMessage: string; remainingDisplay: string; isBlocked: boolean; hasAccess: boolean; }; fns: { handleUpgradeClick: () => void; handleAction: () => boolean; checkQuota: () => QuotaCheckResult; canAdd: () => boolean; incrementUsage: () => void; decrementUsage: () => void; }; }; /** * UsageBar Component * * A visual progress bar that displays usage quota for a specific feature. * Shows color-coded progress based on usage percentage with responsive design. * * ## Features * - Color-coded progress: green (normal), yellow (warning), red (limit) * - Three sizes: small, medium, large * - Mobile-first responsive layout (labels stack on mobile) * - Tooltip with detailed quota information * - Automatic integration with UsageProvider context * * ## Color States * - **Green** (primary): Under 80% usage * - **Yellow** (warning): 80-99% usage * - **Red** (error): 100% usage (limit reached) * - **Gray**: Feature disabled in current plan * * ## Responsive Behavior * - `xs`: Labels stack vertically, smaller font/height * - `sm+`: Labels inline, standard sizing * * @requires UsageProvider - Must be wrapped in UsageProvider context * * @example * // Basic usage * * * @example * // Without percentage * * * @example * // Different sizes * * * * * @example * // Custom colors * */ declare const UsageBar: React__default.FC; /** * QuotaSummaryCard Component * * Comprehensive overview card that displays all feature quotas for the current plan. * Organizes features into categories: limited, unlimited, and disabled. * Implements mobile-first responsive design. * * ## Features * - **Limited Features**: Shows usage bars with progress indicators * - **Unlimited Features**: Lists features with infinity icon * - **Disabled Features**: Shows unavailable features with upgrade chips * - **Plan Features**: Lists what's included in the current plan * - Upgrade button for non-unlimited plans * * ## Sections * 1. Header with plan name chip and upgrade button * 2. Limited features with UsageBar components * 3. Unlimited features list (optional) * 4. Disabled features with upgrade chips (optional) * 5. Plan features list * * ## Responsive Design * - `xs`: Header stacks vertically, full-width upgrade button, compact spacing * - `sm+`: Header inline, standard button, generous spacing * * @requires UsageProvider - Must be wrapped in UsageProvider context * * @example * // Basic usage * navigate('/upgrade')} * /> * * @example * // Show all sections * * * @example * // Show all features (when features prop is omitted) * */ declare const QuotaSummaryCard: React__default.FC; declare const BadgeTierSchema$2: z.ZodEnum<["STARTER", "BASIC", "ACTIVE", "VERIFIED"]>; type BadgeTier$2 = z.infer; declare const BadgeSizeSchema: z.ZodEnum<["xs", "sm", "md", "lg"]>; type BadgeSize = z.infer; declare const BadgeVariantSchema: z.ZodEnum<["icon", "chip", "full"]>; type BadgeVariant = z.infer; declare const VerificationBadgePropsSchema: z.ZodObject<{ /** Badge tier level */ tier: z.ZodEnum<["STARTER", "BASIC", "ACTIVE", "VERIFIED"]>; /** Size of the badge */ size: z.ZodOptional>; /** Visual variant */ variant: z.ZodOptional>; /** Show tooltip on hover */ showTooltip: z.ZodOptional; /** Completeness score (0-100) for tooltip display */ completenessScore: z.ZodOptional; /** Click handler */ onClick: z.ZodOptional, z.ZodUnknown>>; /** Additional CSS class */ className: z.ZodOptional; }, "strip", z.ZodTypeAny, { tier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; className?: string | undefined; onClick?: ((...args: unknown[]) => unknown) | undefined; size?: "xs" | "sm" | "md" | "lg" | undefined; variant?: "icon" | "chip" | "full" | undefined; showTooltip?: boolean | undefined; completenessScore?: number | undefined; }, { tier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; className?: string | undefined; onClick?: ((...args: unknown[]) => unknown) | undefined; size?: "xs" | "sm" | "md" | "lg" | undefined; variant?: "icon" | "chip" | "full" | undefined; showTooltip?: boolean | undefined; completenessScore?: number | undefined; }>; type VerificationBadgeProps = z.infer; interface BadgeTierDisplayInfo { tier: BadgeTier$2; label: string; color: string; backgroundColor: string; description: string; } declare const BADGE_TIER_CONFIG: Record; declare const BADGE_SIZE_CONFIG: Record; declare const VerificationBadge: React__default.FC; /** * Hook for VerificationBadge business logic * Follows the { data, fns } pattern */ declare const useVerificationBadge: (props: VerificationBadgeProps) => { data: { tierInfo: BadgeTierDisplayInfo; sizeConfig: { icon: number; chip: number; fontSize: string; }; tooltipText: string; isClickable: boolean; isVerified: boolean; progressInfo: { nextTier: "BASIC" | "ACTIVE" | "VERIFIED"; nextTierLabel: string; pointsNeeded: number; threshold: number; } | null; variant: "icon" | "chip" | "full"; size: "xs" | "sm" | "md" | "lg"; showTooltip: boolean; }; fns: { handleClick: ((...args: unknown[]) => unknown) | undefined; }; }; declare const AvatarSizeSchema: z.ZodEnum<["xs", "sm", "md", "lg", "xl", "2xl"]>; type AvatarSize = z.infer; declare const AVATAR_SIZE_CONFIG: Record; declare const AvatarWithBadgePropsSchema: z.ZodObject<{ /** Image source URL for the avatar */ src: z.ZodOptional; /** Alt text for the avatar image */ alt: z.ZodOptional; /** Fallback text to display when no image (usually initials) */ fallback: z.ZodOptional; /** Size of the avatar */ size: z.ZodOptional>; /** Badge tier to display (if undefined, no badge shown) */ badgeTier: z.ZodOptional>; /** Whether to show the badge overlay */ showBadge: z.ZodOptional; /** Click handler for the avatar */ onClick: z.ZodOptional, z.ZodUnknown>>; /** Custom border color */ borderColor: z.ZodOptional; /** Whether to show border */ showBorder: z.ZodOptional; /** Additional sx props for the container */ sx: z.ZodOptional; /** Completeness score for badge tooltip (optional) */ completenessScore: z.ZodOptional; /** Click handler for the badge (optional) */ onBadgeClick: z.ZodOptional, z.ZodUnknown>>; /** Load the avatar immediately. Use for the above-the-fold brand mark. */ priority: z.ZodOptional; }, "strip", z.ZodTypeAny, { onClick?: ((...args: unknown[]) => unknown) | undefined; sx?: any; borderColor?: string | undefined; size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined; alt?: string | undefined; src?: string | undefined; priority?: boolean | undefined; fallback?: string | undefined; completenessScore?: number | undefined; badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined; showBadge?: boolean | undefined; showBorder?: boolean | undefined; onBadgeClick?: ((...args: unknown[]) => unknown) | undefined; }, { onClick?: ((...args: unknown[]) => unknown) | undefined; sx?: any; borderColor?: string | undefined; size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined; alt?: string | undefined; src?: string | undefined; priority?: boolean | undefined; fallback?: string | undefined; completenessScore?: number | undefined; badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined; showBadge?: boolean | undefined; showBorder?: boolean | undefined; onBadgeClick?: ((...args: unknown[]) => unknown) | undefined; }>; type AvatarWithBadgeProps = z.infer & { /** Additional children to render as overlay (e.g., Fab button) */ children?: React.ReactNode; }; /** * AvatarWithBadge - Avatar component with optional verification badge overlay * * Used for displaying user/medium/terreiro avatars with their profile verification badge. * The badge appears at the top-right corner of the avatar (to avoid overlap with edit buttons * typically positioned at bottom-right). * * @example * // Basic usage with badge * * * @example * // Without badge * * * @example * // With children (e.g., Fab button overlay at bottom-right) * * * * * */ declare const AvatarWithBadge: React__default.FC; /** * Hook for AvatarWithBadge business logic * Follows the { data, fns } pattern */ declare const useAvatarWithBadge: (props: AvatarWithBadgeProps) => { data: { src: string | undefined; alt: string | undefined; initials: string; sizeConfig: { avatar: number; badge: "xs" | "sm" | "md"; }; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined; shouldShowBadge: boolean; borderColor: string | undefined; showBorder: boolean; isClickable: boolean; }; fns: { handleClick: () => void; }; }; interface InsumoAvatarItem { id: string | number; name?: string; imageUrl?: string | null; quantity?: number | null; unit?: string | null; fromActivity?: boolean; inventoryItem?: { name?: string; imageUrl?: string | null; quantity?: number | null; unit?: string | null; item?: { imageUrl?: string | null; }; }; } interface InsumosAvatarGroupProps { items: InsumoAvatarItem[]; max?: number; avatarSize?: number; showSourceGroups?: boolean; showQuantityBadge?: boolean; emptyText?: string; sx?: SxProps$1; } declare const InsumosAvatarGroup: React__default.FC; declare const AcademyCertificatePreviewPropsSchema: z.ZodObject<{ payload: z.ZodObject<{ holderName: z.ZodString; terreiroName: z.ZodString; courseTitle: z.ZodString; courseCode: z.ZodOptional>; verificationCode: z.ZodString; completionDate: z.ZodOptional>; issuedAt: z.ZodOptional>; logoUrl: z.ZodOptional>; }, "strip", z.ZodTypeAny, { terreiroName: string; holderName: string; courseTitle: string; verificationCode: string; courseCode?: string | null | undefined; completionDate?: string | null | undefined; issuedAt?: string | null | undefined; logoUrl?: string | null | undefined; }, { terreiroName: string; holderName: string; courseTitle: string; verificationCode: string; courseCode?: string | null | undefined; completionDate?: string | null | undefined; issuedAt?: string | null | undefined; logoUrl?: string | null | undefined; }>; scale: z.ZodDefault; }, "strip", z.ZodTypeAny, { scale: number; payload: { terreiroName: string; holderName: string; courseTitle: string; verificationCode: string; courseCode?: string | null | undefined; completionDate?: string | null | undefined; issuedAt?: string | null | undefined; logoUrl?: string | null | undefined; }; }, { payload: { terreiroName: string; holderName: string; courseTitle: string; verificationCode: string; courseCode?: string | null | undefined; completionDate?: string | null | undefined; issuedAt?: string | null | undefined; logoUrl?: string | null | undefined; }; scale?: number | undefined; }>; type AcademyCertificatePreviewProps = z.infer; declare const AcademyCertificatePreview: React__default.FC; declare const PWAUpdatePromptUIPropsSchema: z.ZodObject<{ open: z.ZodBoolean; isUpdating: z.ZodOptional; onUpdate: z.ZodFunction, z.ZodVoid>; onClose: z.ZodFunction, z.ZodOptional], null>, z.ZodVoid>; title: z.ZodOptional; description: z.ZodOptional; updateLabel: z.ZodOptional; }, "strip", z.ZodTypeAny, { onClose: (args_0: any, args_1: string | undefined) => void; open: boolean; onUpdate: () => void; title?: string | undefined; description?: string | undefined; isUpdating?: boolean | undefined; updateLabel?: string | undefined; }, { onClose: (args_0: any, args_1: string | undefined) => void; open: boolean; onUpdate: () => void; title?: string | undefined; description?: string | undefined; isUpdating?: boolean | undefined; updateLabel?: string | undefined; }>; type PWAUpdatePromptUIProps = z.infer; declare const PWAUpdatePromptUI: React__default.FunctionComponent; declare const usePWAUpdatePromptUI: (props: PWAUpdatePromptUIProps) => { readonly data: { open: boolean; isUpdating: boolean; title: string; description: string; updateLabel: string; }; readonly fns: { handleUpdate: () => void; handleClose: (args_0: any, args_1: string | undefined) => void; }; }; declare const PushNotificationPromptUIPropsSchema: z.ZodObject<{ open: z.ZodBoolean; title: z.ZodOptional; description: z.ZodOptional; enableLabel: z.ZodOptional; dismissLabel: z.ZodOptional; closeLabel: z.ZodOptional; loading: z.ZodOptional; onEnable: z.ZodFunction, z.ZodVoid>; onDismiss: z.ZodFunction, z.ZodVoid>; onClose: z.ZodFunction, z.ZodVoid>; }, "strip", z.ZodTypeAny, { onClose: () => void; open: boolean; onEnable: () => void; onDismiss: () => void; title?: string | undefined; loading?: boolean | undefined; description?: string | undefined; enableLabel?: string | undefined; dismissLabel?: string | undefined; closeLabel?: string | undefined; }, { onClose: () => void; open: boolean; onEnable: () => void; onDismiss: () => void; title?: string | undefined; loading?: boolean | undefined; description?: string | undefined; enableLabel?: string | undefined; dismissLabel?: string | undefined; closeLabel?: string | undefined; }>; type PushNotificationPromptUIProps = z.infer; declare const PushNotificationPromptUI: React__default.FunctionComponent; declare const usePushNotificationPromptUI: (props: PushNotificationPromptUIProps) => { readonly data: { open: boolean; loading: boolean; title: string; description: string; enableLabel: string; dismissLabel: string; closeLabel: string; titleId: string; descriptionId: string; }; readonly fns: { handleEnable: () => void; handleDismiss: () => void; handleClose: () => void; }; }; declare const LoadingPropsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; type LoadingProps = z.infer; declare const Loading: React__default.FC; declare const _default$g: React__default.NamedExoticComponent<{ title: string; onClose: () => void; open: boolean; onSubmit?: ((args_0: string) => void) | undefined; message?: string | undefined; mode?: "display" | "input" | undefined; guidance?: string | undefined; confirmLabel?: string | undefined; cancelLabel?: string | undefined; inputPlaceholder?: string | undefined; inputRequired?: boolean | undefined; inputMinLength?: number | undefined; }>; /** * Schema for ReasonDialog props * A reusable dialog component for displaying or collecting reasons/messages */ declare const ReasonDialogPropsSchema: z.ZodObject<{ /** Whether the dialog is open */ open: z.ZodBoolean; /** Dialog title */ title: z.ZodString; /** Main message to display (read-only mode) or placeholder for input (input mode) */ message: z.ZodOptional; /** Additional guidance text shown below the main message */ guidance: z.ZodOptional; /** Mode of the dialog - display shows message, input collects reason */ mode: z.ZodOptional>; /** Label for the confirm/submit button */ confirmLabel: z.ZodOptional; /** Label for the cancel button (only shown in input mode) */ cancelLabel: z.ZodOptional; /** Placeholder text for the input field (input mode only) */ inputPlaceholder: z.ZodOptional; /** Whether the input is required (input mode only) */ inputRequired: z.ZodOptional; /** Minimum length for the input (input mode only) */ inputMinLength: z.ZodOptional; /** Callback when dialog is closed */ onClose: z.ZodFunction, z.ZodVoid>; /** Callback when reason is submitted (input mode only) */ onSubmit: z.ZodOptional, z.ZodVoid>>; }, "strip", z.ZodTypeAny, { title: string; onClose: () => void; open: boolean; onSubmit?: ((args_0: string) => void) | undefined; message?: string | undefined; mode?: "display" | "input" | undefined; guidance?: string | undefined; confirmLabel?: string | undefined; cancelLabel?: string | undefined; inputPlaceholder?: string | undefined; inputRequired?: boolean | undefined; inputMinLength?: number | undefined; }, { title: string; onClose: () => void; open: boolean; onSubmit?: ((args_0: string) => void) | undefined; message?: string | undefined; mode?: "display" | "input" | undefined; guidance?: string | undefined; confirmLabel?: string | undefined; cancelLabel?: string | undefined; inputPlaceholder?: string | undefined; inputRequired?: boolean | undefined; inputMinLength?: number | undefined; }>; type ReasonDialogProps = z.infer; /** * Default props for display mode (showing a message) */ declare const defaultDisplayProps: Partial; /** * Default props for input mode (collecting a reason) */ declare const defaultInputProps: Partial; declare const _default$f: React__default.NamedExoticComponent<{ size: "small" | "medium"; status?: "PENDING" | "CONFIRMED" | "DECLINED" | undefined; declineReason?: string | undefined; }>; declare const _default$e: React__default.NamedExoticComponent<{ compact: boolean; memberId: string; entityId: string; status?: "PENDING" | "CONFIRMED" | "DECLINED" | undefined; onConfirm?: ((args_0: { memberId: string; entityId: string; }) => void) | undefined; onDecline?: ((args_0: { memberId: string; entityId: string; reason: string; }) => void) | undefined; }>; /** * Participation status enum for event/activity members */ declare const ParticipationStatusEnum: z.ZodEnum<["PENDING", "CONFIRMED", "DECLINED"]>; type ParticipationStatus = z.infer; /** * Labels for participation status in Portuguese */ declare const ParticipationStatusLabels: Record; /** * Props schema for ParticipationStatusBadge */ declare const ParticipationStatusBadgePropsSchema: z.ZodObject<{ /** Current participation status */ status: z.ZodOptional>; /** Reason for declining (shown in dialog when clicked) */ declineReason: z.ZodOptional; /** Size variant */ size: z.ZodDefault>; }, "strip", z.ZodTypeAny, { size: "small" | "medium"; status?: "PENDING" | "CONFIRMED" | "DECLINED" | undefined; declineReason?: string | undefined; }, { status?: "PENDING" | "CONFIRMED" | "DECLINED" | undefined; size?: "small" | "medium" | undefined; declineReason?: string | undefined; }>; type ParticipationStatusBadgeProps = z.infer; /** * Props schema for ParticipationResponseButtons * Note: Uses generic entityId to support both activities and events */ declare const ParticipationResponseButtonsPropsSchema: z.ZodObject<{ /** Current participation status */ status: z.ZodOptional>; /** Member ID */ memberId: z.ZodString; /** Entity ID (activity or event) */ entityId: z.ZodString; /** Callback when confirming participation */ onConfirm: z.ZodOptional], null>, z.ZodVoid>>; /** Callback when declining participation (with reason) */ onDecline: z.ZodOptional], null>, z.ZodVoid>>; /** Whether to show compact version */ compact: z.ZodDefault; }, "strip", z.ZodTypeAny, { compact: boolean; memberId: string; entityId: string; status?: "PENDING" | "CONFIRMED" | "DECLINED" | undefined; onConfirm?: ((args_0: { memberId: string; entityId: string; }) => void) | undefined; onDecline?: ((args_0: { memberId: string; entityId: string; reason: string; }) => void) | undefined; }, { memberId: string; entityId: string; status?: "PENDING" | "CONFIRMED" | "DECLINED" | undefined; compact?: boolean | undefined; onConfirm?: ((args_0: { memberId: string; entityId: string; }) => void) | undefined; onDecline?: ((args_0: { memberId: string; entityId: string; reason: string; }) => void) | undefined; }>; type ParticipationResponseButtonsProps = z.infer; declare const _default$d: React__default.NamedExoticComponent<{ member: { id: string; firstName: string; lastName: string; status?: string | undefined; declineReason?: string | null | undefined; avatarUrl?: string | null | undefined; participationStatus?: "PENDING" | "CONFIRMED" | "DECLINED" | undefined; ranks?: { id: string; name: string; level: number; date?: string | undefined; description?: string | undefined; }[] | undefined; roles?: { id: string; name: string; description?: string | undefined; startDate?: string | undefined; endDate?: string | null | undefined; }[] | undefined; }; isHighlighted: boolean; showStatusChip: boolean; showParticipationBadge: boolean; showParticipationIndicatorNearAvatar: boolean; showRsvpButtons: boolean; entityId?: string | undefined; onConfirmParticipation?: ((args_0: { memberId: string; entityId: string; }) => void) | undefined; onDeclineParticipation?: ((args_0: { memberId: string; entityId: string; reason: string; }) => void) | undefined; }>; declare enum MediumStatus$2 { WAITING_APPROVAL = "WAITING_APPROVAL", NOT_APPROVED = "NOT_APPROVED", ACTIVE = "ACTIVE", INACTIVE = "INACTIVE", SUSPENDED = "SUSPENDED", TRANSFERRED = "TRANSFERRED", DECEASED = "DECEASED", RETIRED = "RETIRED", ON_LEAVE = "ON_LEAVE", EXPELLED = "EXPELLED", INITIATING = "INITIATING", VISITOR = "VISITOR" } declare const mediumStatusLabelsPtBr: Record; declare const MemberListItemMemberSchema: z.ZodObject<{ id: z.ZodString; firstName: z.ZodString; lastName: z.ZodString; avatarUrl: z.ZodOptional>; status: z.ZodOptional; participationStatus: z.ZodOptional>; declineReason: z.ZodOptional>; ranks: z.ZodOptional; date: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; name: string; level: number; date?: string | undefined; description?: string | undefined; }, { id: string; name: string; level: number; date?: string | undefined; description?: string | undefined; }>, "many">>; roles: z.ZodOptional; startDate: z.ZodOptional; endDate: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; name: string; description?: string | undefined; startDate?: string | undefined; endDate?: string | null | undefined; }, { id: string; name: string; description?: string | undefined; startDate?: string | undefined; endDate?: string | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { id: string; firstName: string; lastName: string; status?: string | undefined; declineReason?: string | null | undefined; avatarUrl?: string | null | undefined; participationStatus?: "PENDING" | "CONFIRMED" | "DECLINED" | undefined; ranks?: { id: string; name: string; level: number; date?: string | undefined; description?: string | undefined; }[] | undefined; roles?: { id: string; name: string; description?: string | undefined; startDate?: string | undefined; endDate?: string | null | undefined; }[] | undefined; }, { id: string; firstName: string; lastName: string; status?: string | undefined; declineReason?: string | null | undefined; avatarUrl?: string | null | undefined; participationStatus?: "PENDING" | "CONFIRMED" | "DECLINED" | undefined; ranks?: { id: string; name: string; level: number; date?: string | undefined; description?: string | undefined; }[] | undefined; roles?: { id: string; name: string; description?: string | undefined; startDate?: string | undefined; endDate?: string | null | undefined; }[] | undefined; }>; type MemberListItemMember = z.infer; declare const MemberListItemPropsSchema: z.ZodObject<{ member: z.ZodObject<{ id: z.ZodString; firstName: z.ZodString; lastName: z.ZodString; avatarUrl: z.ZodOptional>; status: z.ZodOptional; participationStatus: z.ZodOptional>; declineReason: z.ZodOptional>; ranks: z.ZodOptional; date: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; name: string; level: number; date?: string | undefined; description?: string | undefined; }, { id: string; name: string; level: number; date?: string | undefined; description?: string | undefined; }>, "many">>; roles: z.ZodOptional; startDate: z.ZodOptional; endDate: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; name: string; description?: string | undefined; startDate?: string | undefined; endDate?: string | null | undefined; }, { id: string; name: string; description?: string | undefined; startDate?: string | undefined; endDate?: string | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { id: string; firstName: string; lastName: string; status?: string | undefined; declineReason?: string | null | undefined; avatarUrl?: string | null | undefined; participationStatus?: "PENDING" | "CONFIRMED" | "DECLINED" | undefined; ranks?: { id: string; name: string; level: number; date?: string | undefined; description?: string | undefined; }[] | undefined; roles?: { id: string; name: string; description?: string | undefined; startDate?: string | undefined; endDate?: string | null | undefined; }[] | undefined; }, { id: string; firstName: string; lastName: string; status?: string | undefined; declineReason?: string | null | undefined; avatarUrl?: string | null | undefined; participationStatus?: "PENDING" | "CONFIRMED" | "DECLINED" | undefined; ranks?: { id: string; name: string; level: number; date?: string | undefined; description?: string | undefined; }[] | undefined; roles?: { id: string; name: string; description?: string | undefined; startDate?: string | undefined; endDate?: string | null | undefined; }[] | undefined; }>; isHighlighted: z.ZodDefault>; showStatusChip: z.ZodDefault>; showParticipationBadge: z.ZodDefault>; showParticipationIndicatorNearAvatar: z.ZodDefault>; showRsvpButtons: z.ZodDefault>; entityId: z.ZodOptional; onConfirmParticipation: z.ZodOptional], null>, z.ZodVoid>>; onDeclineParticipation: z.ZodOptional], null>, z.ZodVoid>>; }, "strip", z.ZodTypeAny, { member: { id: string; firstName: string; lastName: string; status?: string | undefined; declineReason?: string | null | undefined; avatarUrl?: string | null | undefined; participationStatus?: "PENDING" | "CONFIRMED" | "DECLINED" | undefined; ranks?: { id: string; name: string; level: number; date?: string | undefined; description?: string | undefined; }[] | undefined; roles?: { id: string; name: string; description?: string | undefined; startDate?: string | undefined; endDate?: string | null | undefined; }[] | undefined; }; isHighlighted: boolean; showStatusChip: boolean; showParticipationBadge: boolean; showParticipationIndicatorNearAvatar: boolean; showRsvpButtons: boolean; entityId?: string | undefined; onConfirmParticipation?: ((args_0: { memberId: string; entityId: string; }) => void) | undefined; onDeclineParticipation?: ((args_0: { memberId: string; entityId: string; reason: string; }) => void) | undefined; }, { member: { id: string; firstName: string; lastName: string; status?: string | undefined; declineReason?: string | null | undefined; avatarUrl?: string | null | undefined; participationStatus?: "PENDING" | "CONFIRMED" | "DECLINED" | undefined; ranks?: { id: string; name: string; level: number; date?: string | undefined; description?: string | undefined; }[] | undefined; roles?: { id: string; name: string; description?: string | undefined; startDate?: string | undefined; endDate?: string | null | undefined; }[] | undefined; }; entityId?: string | undefined; isHighlighted?: boolean | undefined; showStatusChip?: boolean | undefined; showParticipationBadge?: boolean | undefined; showParticipationIndicatorNearAvatar?: boolean | undefined; showRsvpButtons?: boolean | undefined; onConfirmParticipation?: ((args_0: { memberId: string; entityId: string; }) => void) | undefined; onDeclineParticipation?: ((args_0: { memberId: string; entityId: string; reason: string; }) => void) | undefined; }>; type MemberListItemProps = z.infer; /** * Custom hook for MemberListItem component logic */ declare const useMemberListItem: (props: MemberListItemProps) => { data: { member: { id: string; firstName: string; lastName: string; status?: string | undefined; declineReason?: string | null | undefined; avatarUrl?: string | null | undefined; participationStatus?: "PENDING" | "CONFIRMED" | "DECLINED" | undefined; ranks?: { id: string; name: string; level: number; date?: string | undefined; description?: string | undefined; }[] | undefined; roles?: { id: string; name: string; description?: string | undefined; startDate?: string | undefined; endDate?: string | null | undefined; }[] | undefined; }; fullName: string; primaryRole: string; highestRank: string; initials: string; isHighlighted: boolean; showStatusChip: boolean; showParticipationBadge: boolean; showParticipationIndicatorNearAvatar: boolean; statusChipData: { label: string; color: "warning" | "secondary" | "error" | "info" | "success" | "default"; } | null; shouldShowRsvpButtons: boolean; entityId: string | undefined; }; fns: { onConfirmParticipation: ((args_0: { memberId: string; entityId: string; }) => void) | undefined; onDeclineParticipation: ((args_0: { memberId: string; entityId: string; reason: string; }) => void) | undefined; }; }; type QrCameraScannerEventType = "scanner_init" | "stream_started" | "first_frame" | "decode_success" | "decode_error" | "start_failed" | "auto_retry" | "stopped"; interface QrCameraScannerEvent { type: QrCameraScannerEventType; payload?: Record; } type AttendanceScannerEvent = QrCameraScannerEvent; type AttendanceCheckinDialogProps = { open: boolean; title: string; isSubmitting: boolean; feedbackMessage?: string | null; feedbackSeverity?: "success" | "info" | "warning" | "error"; onClose: () => void; onSubmitToken: (token: string) => void; onScannerEvent?: (event: AttendanceScannerEvent) => void; onManualFallbackUsed?: () => void; }; declare const AttendanceCheckinDialog: React__default.FC; type AttendanceCheckinCtaProps = { contextLabel: "atividade" | "ritual" | "evento"; isSubmitting?: boolean; onOpen: () => void; }; declare const _default$c: React__default.NamedExoticComponent; interface CompactListDateParts { day: string; month: string; } declare const compactListDateParts: (value?: string | Date | null) => CompactListDateParts | null; declare const CompactListDateBlock: React__default.FC; interface CompactListRowProps { title: string; meta?: React__default.ReactNode; leading?: React__default.ReactNode; trailing?: React__default.ReactNode; onClick?: () => void; isLast?: boolean; ariaLabel?: string; testId?: string; } declare const CompactListRow: React__default.FC; type ListRowAvatarVariant = "person" | "inventory" | "bank"; type ListRowAvatarProps = { src?: string | null; alt: string; variant: ListRowAvatarVariant; name?: string; }; /** * Initials for a list-row avatar. * * Words with no letters or numbers (a leading "🪣", for example) are skipped * when the name still has a letter or number, so "🪣 Limpeza do salão principal" * becomes "LP" rather than a split surrogate pair plus "P". A name that is * only emoji keeps up to two whole graphemes, so the emoji stays intact. * Graphemes come from Intl.Segmenter. Without it, a small clusterer still * keeps ZWJ sequences, variation selectors, skin tones, combining marks, * flags, and keycaps together. */ declare const listRowInitials: (name: string) => string; declare const ListRowAvatar: React__default.FC; type QrScannerSurfaceVariant = "dialog" | "page"; type QrScannerSurfaceProps = { handleScan: (detectedCodes: IDetectedBarcode[]) => void; handleError: (error: unknown) => void; isPaused: boolean; restartKey: number; status: string; isScanning: boolean; isSubmitting: boolean; errorMessage?: string | null; feedbackMessage?: string | null; feedbackSeverity?: "success" | "info" | "warning" | "error"; showRetry?: boolean; retryLabel?: string; onRetry?: () => void; requestingPermissionLabel?: string; previewInstructionLabel?: string; submittingLabel?: string; manualSectionTitle: string; manualValue: string; manualLabel: string; manualPlaceholder: string; manualSubmitLabel: string; manualDisabled?: boolean; manualInputDisabled?: boolean; manualSubmitDisabled?: boolean; onManualValueChange: (value: string) => void; onManualSubmit: () => void; manualInputAdornment?: React__default.ReactNode; rootTestId?: string; errorTestId?: string; manualInputTestId?: string; manualSubmitTestId?: string; variant?: QrScannerSurfaceVariant; }; declare const _default$b: React__default.NamedExoticComponent; interface ScheduleDateTimeFieldsProps { /** Optional helper text above the date field */ description?: string; dateLabel: string; date: Date | null; onDateChange: (date: Date | null) => void; dateError?: string; dateRequired?: boolean; minDate?: Date; maxDate?: Date; dateTestId?: string; timeSectionLabel?: string; startTimeLabel?: string; endTimeLabel?: string; startTime?: string | null; endTime?: string | null; onStartTimeChange?: (value: string | null) => void; onEndTimeChange?: (value: string | null) => void; startTimeError?: string; endTimeError?: string; timesRequired?: boolean; startTimeTestId?: string; endTimeTestId?: string; /** When false, time pickers are always shown (optional times for ritual baths). */ showAllDayToggle?: boolean; isAllDay?: boolean; onAllDayChange?: (checked: boolean) => void; allDayLabel?: string; /** Optional educational tip rendered below the fields */ tip?: string; } declare const _default$a: React__default.NamedExoticComponent; /** * Helpers for schedule date/time fields shared across onboarding and scheduling flows. */ /** Parse `YYYY-MM-DD` into a local Date at midnight. */ declare function parseScheduleDate(value?: string | null): Date | null; /** Format a local Date as `YYYY-MM-DD`. */ declare function formatScheduleDate(date: Date | null): string; type FinanceMetricCardProps = { title: string; value: number | string; month?: number; year?: number; periodLabel?: string; color: string; icon: React__default.ReactNode; formatCurrency: (amount: number | string) => string; onClick?: () => void; }; declare const FinanceMetricCard: React__default.MemoExoticComponent<({ title, value, month, year, periodLabel, color, icon, formatCurrency, onClick, }: FinanceMetricCardProps) => React__default.JSX.Element>; interface FinanceMobilePeriodBarProps { periodLabel?: string; amountLabel: string; periodInputValue?: string; periodInputMin?: string; periodInputMax?: string; onPeriodInputChange?: (value: string) => void; onResetToCurrentPeriod?: () => void; testIdPrefix: string; } declare const LabeledTimePickerPropsSchema: z.ZodObject<{ label: z.ZodString; value: z.ZodNullable; onChange: z.ZodFunction], z.ZodUnknown>, z.ZodVoid>; error: z.ZodOptional; required: z.ZodOptional; helperText: z.ZodOptional; disabled: z.ZodOptional; "data-testid": z.ZodOptional; }, "strip", z.ZodTypeAny, { onChange: (args_0: string | null, ...args: unknown[]) => void; label: string; value: string | null; disabled?: boolean | undefined; error?: string | undefined; required?: boolean | undefined; helperText?: string | undefined; "data-testid"?: string | undefined; }, { onChange: (args_0: string | null, ...args: unknown[]) => void; label: string; value: string | null; disabled?: boolean | undefined; error?: string | undefined; required?: boolean | undefined; helperText?: string | undefined; "data-testid"?: string | undefined; }>; type LabeledTimePickerProps = z.infer; declare const LabeledTimePicker: React__default.FC; declare const LabeledMinuteInputPropsSchema: z.ZodObject<{ name: z.ZodString; label: z.ZodString; value: z.ZodOptional>; onChange: z.ZodFunction, z.ZodVoid>; error: z.ZodOptional; required: z.ZodOptional; helperText: z.ZodOptional; disabled: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; fallbackValue: z.ZodOptional; size: z.ZodOptional>; placeholder: z.ZodOptional; presets: z.ZodOptional>; "data-testid": z.ZodOptional; }, "strip", z.ZodTypeAny, { onChange: (args_0: number, ...args: unknown[]) => void; label: string; name: string; disabled?: boolean | undefined; value?: number | null | undefined; size?: "small" | "medium" | undefined; max?: number | undefined; min?: number | undefined; error?: string | undefined; required?: boolean | undefined; placeholder?: string | undefined; helperText?: string | undefined; "data-testid"?: string | undefined; fallbackValue?: number | undefined; presets?: number[] | undefined; }, { onChange: (args_0: number, ...args: unknown[]) => void; label: string; name: string; disabled?: boolean | undefined; value?: number | null | undefined; size?: "small" | "medium" | undefined; max?: number | undefined; min?: number | undefined; error?: string | undefined; required?: boolean | undefined; placeholder?: string | undefined; helperText?: string | undefined; "data-testid"?: string | undefined; fallbackValue?: number | undefined; presets?: number[] | undefined; }>; type LabeledMinuteInputProps = z.infer; declare const LabeledMinuteInput: React__default.FC; declare const ReligionSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; origin: z.ZodString; matriz: z.ZodString; characteristics: z.ZodString; founder: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; origin: string; description: string; updatedAt: string; createdAt: string; matriz: string; characteristics: string; founder: string; }, { id: string; name: string; origin: string; description: string; updatedAt: string; createdAt: string; matriz: string; characteristics: string; founder: string; }>; declare const TerreiroStatusSchema: z.ZodEnum<["ACTIVE", "INACTIVE"]>; declare const TerreiroSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; documentType: z.ZodString; document: z.ZodString; foundationDate: z.ZodNullable; biography: z.ZodNullable; religion: z.ZodNullable>; imageUrl: z.ZodNullable; status: z.ZodEnum<["ACTIVE", "INACTIVE"]>; }, "strip", z.ZodTypeAny, { id: string; status: "ACTIVE" | "INACTIVE"; name: string; document: string; imageUrl: string | null; documentType: string; foundationDate: string | null; biography: string | null; religion: { id: string; name: string; origin: string; description: string; updatedAt: string; createdAt: string; matriz: string; characteristics: string; founder: string; } | null; }, { id: string; status: "ACTIVE" | "INACTIVE"; name: string; document: string; imageUrl: string | null; documentType: string; foundationDate: string | null; biography: string | null; religion: { id: string; name: string; origin: string; description: string; updatedAt: string; createdAt: string; matriz: string; characteristics: string; founder: string; } | null; }>; declare const TerreiroSectionCardPropsSchema: z.ZodObject<{ terreiro: z.ZodObject<{ id: z.ZodString; name: z.ZodString; documentType: z.ZodString; document: z.ZodString; foundationDate: z.ZodNullable; biography: z.ZodNullable; religion: z.ZodNullable>; imageUrl: z.ZodNullable; status: z.ZodEnum<["ACTIVE", "INACTIVE"]>; }, "strip", z.ZodTypeAny, { id: string; status: "ACTIVE" | "INACTIVE"; name: string; document: string; imageUrl: string | null; documentType: string; foundationDate: string | null; biography: string | null; religion: { id: string; name: string; origin: string; description: string; updatedAt: string; createdAt: string; matriz: string; characteristics: string; founder: string; } | null; }, { id: string; status: "ACTIVE" | "INACTIVE"; name: string; document: string; imageUrl: string | null; documentType: string; foundationDate: string | null; biography: string | null; religion: { id: string; name: string; origin: string; description: string; updatedAt: string; createdAt: string; matriz: string; characteristics: string; founder: string; } | null; }>; }, "strip", z.ZodTypeAny, { terreiro: { id: string; status: "ACTIVE" | "INACTIVE"; name: string; document: string; imageUrl: string | null; documentType: string; foundationDate: string | null; biography: string | null; religion: { id: string; name: string; origin: string; description: string; updatedAt: string; createdAt: string; matriz: string; characteristics: string; founder: string; } | null; }; }, { terreiro: { id: string; status: "ACTIVE" | "INACTIVE"; name: string; document: string; imageUrl: string | null; documentType: string; foundationDate: string | null; biography: string | null; religion: { id: string; name: string; origin: string; description: string; updatedAt: string; createdAt: string; matriz: string; characteristics: string; founder: string; } | null; }; }>; type TerreiroSectionCardProps = z.infer; type Terreiro$1 = z.infer; type Religion = z.infer; declare const TerreiroSectionCard: React__default.FC; declare const useTerreiroSectionCard: (props: TerreiroSectionCardProps) => { data: { name: string; documentType: string; document: string; foundationDate: string; biography: string; religionInfo: string; imageUrl: string | null; status: "ACTIVE" | "INACTIVE"; }; fns: {}; }; declare const SharePlatformSchema: z.ZodObject<{ id: z.ZodString; label: z.ZodString; icon: z.ZodType; color: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; color: string; label: string; icon?: ReactNode; }, { id: string; color: string; label: string; icon?: ReactNode; }>; declare const ShareDrawerPropsSchema: z.ZodObject<{ open: z.ZodBoolean; onClose: z.ZodFunction, z.ZodVoid>; onPlatformClick: z.ZodFunction, z.ZodVoid>; platforms: z.ZodArray; color: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; color: string; label: string; icon?: ReactNode; }, { id: string; color: string; label: string; icon?: ReactNode; }>, "many">; title: z.ZodOptional; }, "strip", z.ZodTypeAny, { onClose: (...args: unknown[]) => void; open: boolean; onPlatformClick: (args_0: string, ...args: unknown[]) => void; platforms: { id: string; color: string; label: string; icon?: ReactNode; }[]; title?: string | undefined; }, { onClose: (...args: unknown[]) => void; open: boolean; onPlatformClick: (args_0: string, ...args: unknown[]) => void; platforms: { id: string; color: string; label: string; icon?: ReactNode; }[]; title?: string | undefined; }>; type SharePlatform$1 = z.infer; type ShareDrawerProps = z.infer; type FilterDrawerAnchor = "bottom" | "left" | "right" | "top"; type FilterDrawerDraftContext> = { draft: TFilters; setDraft: (next: TFilters | ((prev: TFilters) => TFilters)) => void; }; type FilterDrawerProps> = { open: boolean; onClose: () => void; onOpen?: () => void; value: TFilters; emptyValue: TFilters; countActiveFilters: (filters: TFilters) => number; onFilter: (filters: TFilters) => void; children: (ctx: FilterDrawerDraftContext) => ReactNode; title?: string; cancelLabel?: string; filterLabel?: string; clearLabel?: string; anchor?: FilterDrawerAnchor; "data-testid"?: string; }; /** Zod shell for non-generic props (labels, open, anchor). */ declare const FilterDrawerShellPropsSchema: z.ZodObject<{ open: z.ZodBoolean; onClose: z.ZodFunction, z.ZodVoid>; onOpen: z.ZodOptional, z.ZodVoid>>; title: z.ZodOptional; cancelLabel: z.ZodOptional; filterLabel: z.ZodOptional; clearLabel: z.ZodOptional; anchor: z.ZodOptional>; }, "strip", z.ZodTypeAny, { onClose: () => void; open: boolean; title?: string | undefined; onOpen?: (() => void) | undefined; anchor?: "bottom" | "left" | "right" | "top" | undefined; cancelLabel?: string | undefined; filterLabel?: string | undefined; clearLabel?: string | undefined; }, { onClose: () => void; open: boolean; title?: string | undefined; onOpen?: (() => void) | undefined; anchor?: "bottom" | "left" | "right" | "top" | undefined; cancelLabel?: string | undefined; filterLabel?: string | undefined; clearLabel?: string | undefined; }>; type FilterDrawerShellProps = z.infer; declare const useFilterDrawer: >(props: Pick, "open" | "value" | "emptyValue" | "countActiveFilters" | "onClose" | "onFilter">) => { data: { draft: TFilters; draftActiveCount: number; }; fns: { setDraft: React$1.Dispatch>; handleCancel: () => void; handleFilter: () => void; handleClearDraft: () => void; }; }; declare const ContactSchema: z.ZodObject<{ id: z.ZodString; phone: z.ZodString; contactPerson: z.ZodNullable; userId: z.ZodOptional; terreiroId: z.ZodOptional; createdByUserId: z.ZodOptional; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; phone: string; contactPerson: string | null; updatedAt?: string | undefined; userId?: string | undefined; terreiroId?: string | undefined; createdAt?: string | undefined; createdByUserId?: string | undefined; }, { id: string; phone: string; contactPerson: string | null; updatedAt?: string | undefined; userId?: string | undefined; terreiroId?: string | undefined; createdAt?: string | undefined; createdByUserId?: string | undefined; }>; declare const ContactSectionCardPropsSchema: z.ZodObject<{ contacts: z.ZodNullable; userId: z.ZodOptional; terreiroId: z.ZodOptional; createdByUserId: z.ZodOptional; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; phone: string; contactPerson: string | null; updatedAt?: string | undefined; userId?: string | undefined; terreiroId?: string | undefined; createdAt?: string | undefined; createdByUserId?: string | undefined; }, { id: string; phone: string; contactPerson: string | null; updatedAt?: string | undefined; userId?: string | undefined; terreiroId?: string | undefined; createdAt?: string | undefined; createdByUserId?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { contacts: { id: string; phone: string; contactPerson: string | null; updatedAt?: string | undefined; userId?: string | undefined; terreiroId?: string | undefined; createdAt?: string | undefined; createdByUserId?: string | undefined; }[] | null; }, { contacts: { id: string; phone: string; contactPerson: string | null; updatedAt?: string | undefined; userId?: string | undefined; terreiroId?: string | undefined; createdAt?: string | undefined; createdByUserId?: string | undefined; }[] | null; }>; type ContactSectionCardProps = z.infer; type Contact = z.infer; declare const BRAZILIAN_STATES: readonly [{ readonly value: "AC"; readonly label: "Acre"; }, { readonly value: "AL"; readonly label: "Alagoas"; }, { readonly value: "AP"; readonly label: "Amapá"; }, { readonly value: "AM"; readonly label: "Amazonas"; }, { readonly value: "BA"; readonly label: "Bahia"; }, { readonly value: "CE"; readonly label: "Ceará"; }, { readonly value: "DF"; readonly label: "Distrito Federal"; }, { readonly value: "ES"; readonly label: "Espírito Santo"; }, { readonly value: "GO"; readonly label: "Goiás"; }, { readonly value: "MA"; readonly label: "Maranhão"; }, { readonly value: "MT"; readonly label: "Mato Grosso"; }, { readonly value: "MS"; readonly label: "Mato Grosso do Sul"; }, { readonly value: "MG"; readonly label: "Minas Gerais"; }, { readonly value: "PA"; readonly label: "Pará"; }, { readonly value: "PB"; readonly label: "Paraíba"; }, { readonly value: "PR"; readonly label: "Paraná"; }, { readonly value: "PE"; readonly label: "Pernambuco"; }, { readonly value: "PI"; readonly label: "Piauí"; }, { readonly value: "RJ"; readonly label: "Rio de Janeiro"; }, { readonly value: "RN"; readonly label: "Rio Grande do Norte"; }, { readonly value: "RS"; readonly label: "Rio Grande do Sul"; }, { readonly value: "RO"; readonly label: "Rondônia"; }, { readonly value: "RR"; readonly label: "Roraima"; }, { readonly value: "SC"; readonly label: "Santa Catarina"; }, { readonly value: "SP"; readonly label: "São Paulo"; }, { readonly value: "SE"; readonly label: "Sergipe"; }, { readonly value: "TO"; readonly label: "Tocantins"; }]; declare const BrazilianStateUFSchema: z.ZodEnum<[string, ...string[]]>; declare const LabeledBrazilianStateSelectPropsSchema: z.ZodObject<{ label: z.ZodString; value: z.ZodNullable>; onChange: z.ZodFunction>], z.ZodUnknown>, z.ZodVoid>; error: z.ZodOptional; required: z.ZodOptional; helperText: z.ZodOptional; disabled: z.ZodOptional; "data-testid": z.ZodOptional; }, "strip", z.ZodTypeAny, { onChange: (args_0: string | null, ...args: unknown[]) => void; label: string; value: string | null; disabled?: boolean | undefined; error?: string | undefined; required?: boolean | undefined; helperText?: string | undefined; "data-testid"?: string | undefined; }, { onChange: (args_0: string | null, ...args: unknown[]) => void; label: string; value: string | null; disabled?: boolean | undefined; error?: string | undefined; required?: boolean | undefined; helperText?: string | undefined; "data-testid"?: string | undefined; }>; type BrazilianStateUF = z.infer; type LabeledBrazilianStateSelectProps = z.infer; declare const LabeledBrazilianStateSelect: React__default.FC; declare const useLabeledBrazilianStateSelect: (props: LabeledBrazilianStateSelectProps) => { data: { value: string | null; }; fns: { handleChange: (event: SelectChangeEvent) => void; }; }; declare const LabeledDatePickerPropsSchema: z.ZodObject<{ label: z.ZodString; value: z.ZodNullable; onChange: z.ZodFunction], z.ZodUnknown>, z.ZodVoid>; error: z.ZodOptional; required: z.ZodOptional; helperText: z.ZodOptional; disabled: z.ZodOptional; minDate: z.ZodOptional; maxDate: z.ZodOptional; "data-testid": z.ZodOptional; }, "strip", z.ZodTypeAny, { onChange: (args_0: Date | null, ...args: unknown[]) => void; label: string; value: Date | null; disabled?: boolean | undefined; error?: string | undefined; required?: boolean | undefined; helperText?: string | undefined; "data-testid"?: string | undefined; minDate?: Date | undefined; maxDate?: Date | undefined; }, { onChange: (args_0: Date | null, ...args: unknown[]) => void; label: string; value: Date | null; disabled?: boolean | undefined; error?: string | undefined; required?: boolean | undefined; helperText?: string | undefined; "data-testid"?: string | undefined; minDate?: Date | undefined; maxDate?: Date | undefined; }>; type LabeledDatePickerProps = z.infer; declare const LabeledMonthPickerPropsSchema: z.ZodObject<{ label: z.ZodString; value: z.ZodString; onChange: z.ZodFunction, z.ZodVoid>; error: z.ZodOptional; helperText: z.ZodOptional; disabled: z.ZodOptional; required: z.ZodOptional; minMonth: z.ZodOptional; maxMonth: z.ZodOptional; "data-testid": z.ZodOptional; }, "strip", z.ZodTypeAny, { onChange: (args_0: string) => void; label: string; value: string; disabled?: boolean | undefined; error?: string | undefined; required?: boolean | undefined; helperText?: string | undefined; "data-testid"?: string | undefined; minMonth?: string | undefined; maxMonth?: string | undefined; }, { onChange: (args_0: string) => void; label: string; value: string; disabled?: boolean | undefined; error?: string | undefined; required?: boolean | undefined; helperText?: string | undefined; "data-testid"?: string | undefined; minMonth?: string | undefined; maxMonth?: string | undefined; }>; type LabeledMonthPickerProps = z.infer; declare const LabeledFieldHeaderPropsSchema: z.ZodObject<{ label: z.ZodString; required: z.ZodOptional; htmlFor: z.ZodOptional; "data-testid": z.ZodOptional; }, "strip", z.ZodTypeAny, { label: string; required?: boolean | undefined; htmlFor?: string | undefined; "data-testid"?: string | undefined; }, { label: string; required?: boolean | undefined; htmlFor?: string | undefined; "data-testid"?: string | undefined; }>; type LabeledFieldHeaderProps = z.infer; declare const CellphoneInput: React__default.ForwardRefExoticComponent<{ onChange: (args_0: string, ...args: unknown[]) => void; label: string; value: string; name: string; disabled?: boolean | undefined; status?: "valid" | "loading" | "default" | "invalid" | undefined; error?: string | undefined; required?: boolean | undefined; helperText?: string | undefined; "data-testid"?: string | undefined; } & React__default.RefAttributes>; declare const CellphoneInputPropsSchema: z.ZodObject<{ name: z.ZodDefault; label: z.ZodString; value: z.ZodString; onChange: z.ZodFunction, z.ZodVoid>; error: z.ZodOptional; status: z.ZodOptional>; required: z.ZodOptional; helperText: z.ZodOptional; disabled: z.ZodOptional; "data-testid": z.ZodOptional; }, "strip", z.ZodTypeAny, { onChange: (args_0: string, ...args: unknown[]) => void; label: string; value: string; name: string; disabled?: boolean | undefined; status?: "valid" | "loading" | "default" | "invalid" | undefined; error?: string | undefined; required?: boolean | undefined; helperText?: string | undefined; "data-testid"?: string | undefined; }, { onChange: (args_0: string, ...args: unknown[]) => void; label: string; value: string; disabled?: boolean | undefined; status?: "valid" | "loading" | "default" | "invalid" | undefined; name?: string | undefined; error?: string | undefined; required?: boolean | undefined; helperText?: string | undefined; "data-testid"?: string | undefined; }>; type CellphoneInputProps = z.infer; declare const useCellphoneInput: (props: CellphoneInputProps) => { data: { isValid: boolean; status: "valid" | "loading" | "default" | "invalid"; }; fns: { handleChange: (maskedValue: string) => void; }; }; declare const AddressSchema: z.ZodObject<{ street: z.ZodString; number: z.ZodString; complement: z.ZodOptional; neighborhood: z.ZodString; city: z.ZodString; state: z.ZodString; zipCode: z.ZodString; country: z.ZodString; }, "strip", z.ZodTypeAny, { number: string; country: string; state: string; street: string; neighborhood: string; city: string; zipCode: string; complement?: string | undefined; }, { number: string; country: string; state: string; street: string; neighborhood: string; city: string; zipCode: string; complement?: string | undefined; }>; declare const AddressSectionCardPropsSchema: z.ZodObject<{ address: z.ZodNullable; neighborhood: z.ZodString; city: z.ZodString; state: z.ZodString; zipCode: z.ZodString; country: z.ZodString; }, "strip", z.ZodTypeAny, { number: string; country: string; state: string; street: string; neighborhood: string; city: string; zipCode: string; complement?: string | undefined; }, { number: string; country: string; state: string; street: string; neighborhood: string; city: string; zipCode: string; complement?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { address: { number: string; country: string; state: string; street: string; neighborhood: string; city: string; zipCode: string; complement?: string | undefined; } | null; }, { address: { number: string; country: string; state: string; street: string; neighborhood: string; city: string; zipCode: string; complement?: string | undefined; } | null; }>; type AddressSectionCardProps = z.infer; type Address = z.infer; declare const useAddressSectionCard: (props: AddressSectionCardProps) => { data: { formattedAddress: string; }; fns: {}; }; declare const QuickActionSchema: z$1.ZodObject<{ id: z$1.ZodString; title: z$1.ZodString; route: z$1.ZodString; color: z$1.ZodString; icon: z$1.ZodOptional; badge: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { title: string; id: string; color: string; route: string; icon?: string | undefined; badge?: number | undefined; }, { title: string; id: string; color: string; route: string; icon?: string | undefined; badge?: number | undefined; }>; type QuickAction$1 = z$1.infer; declare const QuickActionsPropsSchema: z$1.ZodObject<{ actions: z$1.ZodArray; badge: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { title: string; id: string; color: string; route: string; icon?: string | undefined; badge?: number | undefined; }, { title: string; id: string; color: string; route: string; icon?: string | undefined; badge?: number | undefined; }>, "many">; onClick: z$1.ZodFunction, z$1.ZodVoid>; title: z$1.ZodOptional; version: z$1.ZodOptional>; renderItem: z$1.ZodOptional; badge: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { title: string; id: string; color: string; route: string; icon?: string | undefined; badge?: number | undefined; }, { title: string; id: string; color: string; route: string; icon?: string | undefined; badge?: number | undefined; }>], z$1.ZodUnknown>, z$1.ZodAny>>; }, "strip", z$1.ZodTypeAny, { onClick: (args_0: string, ...args: unknown[]) => void; actions: { title: string; id: string; color: string; route: string; icon?: string | undefined; badge?: number | undefined; }[]; title?: string | undefined; version?: "grid" | "auto" | "scroll" | undefined; renderItem?: ((args_0: { title: string; id: string; color: string; route: string; icon?: string | undefined; badge?: number | undefined; }, ...args: unknown[]) => any) | undefined; }, { onClick: (args_0: string, ...args: unknown[]) => void; actions: { title: string; id: string; color: string; route: string; icon?: string | undefined; badge?: number | undefined; }[]; title?: string | undefined; version?: "grid" | "auto" | "scroll" | undefined; renderItem?: ((args_0: { title: string; id: string; color: string; route: string; icon?: string | undefined; badge?: number | undefined; }, ...args: unknown[]) => any) | undefined; }>; type QuickActionsProps = z$1.infer; declare const QuickActions: React__default.FC; declare const PaginationInfoSchema: z.ZodObject<{ page: z.ZodNumber; pageSize: z.ZodNumber; totalItems: z.ZodOptional; totalPages: z.ZodOptional; hasNextPage: z.ZodBoolean; }, "strip", z.ZodTypeAny, { page: number; pageSize: number; hasNextPage: boolean; totalItems?: number | undefined; totalPages?: number | undefined; }, { page: number; pageSize: number; hasNextPage: boolean; totalItems?: number | undefined; totalPages?: number | undefined; }>; type PaginationInfo = z.infer; declare const LoadMoreResultSchema: z.ZodObject<{ hasNextPage: z.ZodBoolean; totalItems: z.ZodOptional; totalPages: z.ZodOptional; }, "strip", z.ZodTypeAny, { hasNextPage: boolean; totalItems?: number | undefined; totalPages?: number | undefined; }, { hasNextPage: boolean; totalItems?: number | undefined; totalPages?: number | undefined; }>; type LoadMoreResult = z.infer; declare const InfiniteScrollPropsSchema: z.ZodObject<{ hasNextPage: z.ZodBoolean; isLoading: z.ZodOptional; isFetchingNextPage: z.ZodOptional; threshold: z.ZodOptional; rootMargin: z.ZodOptional; onLoadMore: z.ZodFunction, z.ZodUnion<[z.ZodVoid, z.ZodPromise]>>; children: z.ZodAny; disabled: z.ZodOptional; loaderRef: z.ZodOptional; initialPage: z.ZodOptional; }, "strip", z.ZodTypeAny, { hasNextPage: boolean; onLoadMore: () => void | Promise; children?: any; disabled?: boolean | undefined; threshold?: number | undefined; isLoading?: boolean | undefined; isFetchingNextPage?: boolean | undefined; rootMargin?: string | undefined; loaderRef?: any; initialPage?: number | undefined; }, { hasNextPage: boolean; onLoadMore: () => void | Promise; children?: any; disabled?: boolean | undefined; threshold?: number | undefined; isLoading?: boolean | undefined; isFetchingNextPage?: boolean | undefined; rootMargin?: string | undefined; loaderRef?: any; initialPage?: number | undefined; }>; type InfiniteScrollProps = z.infer; declare const UseInfiniteScrollReturnSchema: z.ZodObject<{ data: z.ZodObject<{ isLoading: z.ZodBoolean; isFetchingNextPage: z.ZodBoolean; hasNextPage: z.ZodBoolean; disabled: z.ZodBoolean; }, "strip", z.ZodTypeAny, { disabled: boolean; isLoading: boolean; hasNextPage: boolean; isFetchingNextPage: boolean; }, { disabled: boolean; isLoading: boolean; hasNextPage: boolean; isFetchingNextPage: boolean; }>; fns: z.ZodObject<{ loadMore: z.ZodFunction, z.ZodPromise>; reset: z.ZodFunction, z.ZodVoid>; }, "strip", z.ZodTypeAny, { reset: () => void; loadMore: () => Promise; }, { reset: () => void; loadMore: () => Promise; }>; refs: z.ZodObject<{ sentinelRef: z.ZodAny; }, "strip", z.ZodTypeAny, { sentinelRef?: any; }, { sentinelRef?: any; }>; }, "strip", z.ZodTypeAny, { data: { disabled: boolean; isLoading: boolean; hasNextPage: boolean; isFetchingNextPage: boolean; }; fns: { reset: () => void; loadMore: () => Promise; }; refs: { sentinelRef?: any; }; }, { data: { disabled: boolean; isLoading: boolean; hasNextPage: boolean; isFetchingNextPage: boolean; }; fns: { reset: () => void; loadMore: () => Promise; }; refs: { sentinelRef?: any; }; }>; type UseInfiniteScrollReturn = z.infer; /** * InfiniteScroll - A headless infinite scroll component * * This component provides infinite scroll functionality without any visual UI. * It uses Intersection Observer to detect when the user scrolls near the bottom * and triggers the onLoadMore callback to fetch more data. * * @example * ```tsx * * * * ``` */ declare const InfiniteScroll: React__default.FC; declare const useInfiniteScroll: (props: InfiniteScrollProps) => { data: { isLoading: boolean; isFetchingNextPage: boolean; hasNextPage: boolean; disabled: boolean; }; fns: { loadMore: () => Promise; reset: () => void; }; refs: { sentinelRef: React$1.RefObject; }; }; declare const CompletenessDataSchema: z.ZodObject<{ completenessScore: z.ZodNumber; badgeTier: z.ZodEnum<["STARTER", "BASIC", "ACTIVE", "VERIFIED"]>; sections: z.ZodRecord; percentage: z.ZodNumber; }, "strip", z.ZodTypeAny, { complete: boolean; percentage: number; missing: string[]; }, { complete: boolean; percentage: number; missing: string[]; }>>; nextActions: z.ZodArray; }, "strip", z.ZodTypeAny, { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: Record; nextActions: string[]; }, { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: Record; nextActions: string[]; }>; type CompletenessData = z.infer; interface SectionConfig { key: string; label: string; icon: string; path?: string; weight: number; } declare const CompletenessCardPropsSchema: z.ZodObject<{ /** Completeness data from API */ data: z.ZodObject<{ completenessScore: z.ZodNumber; badgeTier: z.ZodEnum<["STARTER", "BASIC", "ACTIVE", "VERIFIED"]>; sections: z.ZodRecord; percentage: z.ZodNumber; }, "strip", z.ZodTypeAny, { complete: boolean; percentage: number; missing: string[]; }, { complete: boolean; percentage: number; missing: string[]; }>>; nextActions: z.ZodArray; }, "strip", z.ZodTypeAny, { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: Record; nextActions: string[]; }, { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: Record; nextActions: string[]; }>; /** Section configuration (defines which sections to show and how) */ sectionConfig: z.ZodArray; weight: z.ZodNumber; }, "strip", z.ZodTypeAny, { label: string; key: string; weight: number; icon: string; path?: string | undefined; }, { label: string; key: string; weight: number; icon: string; path?: string | undefined; }>, "many">; /** Title for the card */ title: z.ZodOptional; /** Show compact view (progress bar only) */ compact: z.ZodOptional; /** Show section details */ showSections: z.ZodOptional; /** Show next actions */ showNextActions: z.ZodOptional; /** Callback when user clicks to complete a section */ onCompleteSection: z.ZodOptional, z.ZodVoid>>; /** Callback when user clicks the main CTA */ onComplete: z.ZodOptional, z.ZodUnknown>>; /** Callback when compact state changes (for persisting to localStorage) */ onCompactChange: z.ZodOptional, z.ZodVoid>>; /** Loading state */ isLoading: z.ZodOptional; }, "strip", z.ZodTypeAny, { data: { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: Record; nextActions: string[]; }; sectionConfig: { label: string; key: string; weight: number; icon: string; path?: string | undefined; }[]; title?: string | undefined; compact?: boolean | undefined; isLoading?: boolean | undefined; onComplete?: ((...args: unknown[]) => unknown) | undefined; showSections?: boolean | undefined; showNextActions?: boolean | undefined; onCompleteSection?: ((args_0: string) => void) | undefined; onCompactChange?: ((args_0: boolean) => void) | undefined; }, { data: { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: Record; nextActions: string[]; }; sectionConfig: { label: string; key: string; weight: number; icon: string; path?: string | undefined; }[]; title?: string | undefined; compact?: boolean | undefined; isLoading?: boolean | undefined; onComplete?: ((...args: unknown[]) => unknown) | undefined; showSections?: boolean | undefined; showNextActions?: boolean | undefined; onCompleteSection?: ((args_0: string) => void) | undefined; onCompactChange?: ((args_0: boolean) => void) | undefined; }>; type CompletenessCardProps = z.infer; declare const PROFILE_SECTION_WEIGHTS: { readonly profile: 25; readonly medium: 25; readonly contact: 15; readonly address: 25; readonly avatar: 10; }; declare const PROFILE_SECTION_CONFIG: SectionConfig[]; declare const TERREIRO_SECTION_WEIGHTS: { readonly avatar: 35; readonly contact: 30; readonly address: 35; }; declare const TERREIRO_SECTION_CONFIG: SectionConfig[]; declare const CompletenessCard: React__default.FC; /** * Generic hook for CompletenessCard business logic * Works with any section configuration (profile, terreiro, etc.) * Follows the { data, fns } pattern */ declare const useCompletenessCard: (props: CompletenessCardProps) => { data: { completenessData: { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: Record; nextActions: string[]; }; title: string; badgeTierInfo: BadgeTierDisplayInfo; progressToNextTier: { isComplete: boolean; nextTier: null; pointsNeeded: number; progressPercent: number; nextTierLabel: string; } | { isComplete: boolean; nextTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; nextTierLabel: string; pointsNeeded: number; progressPercent: number; }; sectionsWithConfig: { complete: boolean; missing: string[]; percentage: number; label: string; key: string; weight: number; icon: string; path?: string | undefined; }[]; incompleteSections: { complete: boolean; missing: string[]; percentage: number; label: string; key: string; weight: number; icon: string; path?: string | undefined; }[]; ctaMessage: string; compact: boolean; showSections: boolean; showNextActions: boolean; isLoading: boolean; isComplete: boolean; canComplete: boolean; canCompleteSection: boolean; }; fns: { handleSectionClick: (sectionKey: string) => void; handleCtaClick: () => void; handleCompactToggle: () => void; }; }; declare const SectionCompletenessSchema: z.ZodObject<{ complete: z.ZodBoolean; missing: z.ZodArray; percentage: z.ZodNumber; }, "strip", z.ZodTypeAny, { complete: boolean; percentage: number; missing: string[]; }, { complete: boolean; percentage: number; missing: string[]; }>; type SectionCompleteness = z.infer; declare const ProfileCompletenessDataSchema: z.ZodObject<{ completenessScore: z.ZodNumber; badgeTier: z.ZodEnum<["STARTER", "BASIC", "ACTIVE", "VERIFIED"]>; sections: z.ZodObject<{ profile: z.ZodObject<{ complete: z.ZodBoolean; missing: z.ZodArray; percentage: z.ZodNumber; }, "strip", z.ZodTypeAny, { complete: boolean; percentage: number; missing: string[]; }, { complete: boolean; percentage: number; missing: string[]; }>; medium: z.ZodObject<{ complete: z.ZodBoolean; missing: z.ZodArray; percentage: z.ZodNumber; }, "strip", z.ZodTypeAny, { complete: boolean; percentage: number; missing: string[]; }, { complete: boolean; percentage: number; missing: string[]; }>; contact: z.ZodObject<{ complete: z.ZodBoolean; missing: z.ZodArray; percentage: z.ZodNumber; }, "strip", z.ZodTypeAny, { complete: boolean; percentage: number; missing: string[]; }, { complete: boolean; percentage: number; missing: string[]; }>; address: z.ZodObject<{ complete: z.ZodBoolean; missing: z.ZodArray; percentage: z.ZodNumber; }, "strip", z.ZodTypeAny, { complete: boolean; percentage: number; missing: string[]; }, { complete: boolean; percentage: number; missing: string[]; }>; avatar: z.ZodObject<{ complete: z.ZodBoolean; missing: z.ZodArray; percentage: z.ZodNumber; }, "strip", z.ZodTypeAny, { complete: boolean; percentage: number; missing: string[]; }, { complete: boolean; percentage: number; missing: string[]; }>; }, "strip", z.ZodTypeAny, { address: { complete: boolean; percentage: number; missing: string[]; }; medium: { complete: boolean; percentage: number; missing: string[]; }; avatar: { complete: boolean; percentage: number; missing: string[]; }; profile: { complete: boolean; percentage: number; missing: string[]; }; contact: { complete: boolean; percentage: number; missing: string[]; }; }, { address: { complete: boolean; percentage: number; missing: string[]; }; medium: { complete: boolean; percentage: number; missing: string[]; }; avatar: { complete: boolean; percentage: number; missing: string[]; }; profile: { complete: boolean; percentage: number; missing: string[]; }; contact: { complete: boolean; percentage: number; missing: string[]; }; }>; nextActions: z.ZodArray; }, "strip", z.ZodTypeAny, { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: { address: { complete: boolean; percentage: number; missing: string[]; }; medium: { complete: boolean; percentage: number; missing: string[]; }; avatar: { complete: boolean; percentage: number; missing: string[]; }; profile: { complete: boolean; percentage: number; missing: string[]; }; contact: { complete: boolean; percentage: number; missing: string[]; }; }; nextActions: string[]; }, { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: { address: { complete: boolean; percentage: number; missing: string[]; }; medium: { complete: boolean; percentage: number; missing: string[]; }; avatar: { complete: boolean; percentage: number; missing: string[]; }; profile: { complete: boolean; percentage: number; missing: string[]; }; contact: { complete: boolean; percentage: number; missing: string[]; }; }; nextActions: string[]; }>; type ProfileCompletenessData = z.infer; declare const ProfileCompletenessCardPropsSchema: z.ZodObject<{ /** Completeness data from API */ data: z.ZodObject<{ completenessScore: z.ZodNumber; badgeTier: z.ZodEnum<["STARTER", "BASIC", "ACTIVE", "VERIFIED"]>; sections: z.ZodObject<{ profile: z.ZodObject<{ complete: z.ZodBoolean; missing: z.ZodArray; percentage: z.ZodNumber; }, "strip", z.ZodTypeAny, { complete: boolean; percentage: number; missing: string[]; }, { complete: boolean; percentage: number; missing: string[]; }>; medium: z.ZodObject<{ complete: z.ZodBoolean; missing: z.ZodArray; percentage: z.ZodNumber; }, "strip", z.ZodTypeAny, { complete: boolean; percentage: number; missing: string[]; }, { complete: boolean; percentage: number; missing: string[]; }>; contact: z.ZodObject<{ complete: z.ZodBoolean; missing: z.ZodArray; percentage: z.ZodNumber; }, "strip", z.ZodTypeAny, { complete: boolean; percentage: number; missing: string[]; }, { complete: boolean; percentage: number; missing: string[]; }>; address: z.ZodObject<{ complete: z.ZodBoolean; missing: z.ZodArray; percentage: z.ZodNumber; }, "strip", z.ZodTypeAny, { complete: boolean; percentage: number; missing: string[]; }, { complete: boolean; percentage: number; missing: string[]; }>; avatar: z.ZodObject<{ complete: z.ZodBoolean; missing: z.ZodArray; percentage: z.ZodNumber; }, "strip", z.ZodTypeAny, { complete: boolean; percentage: number; missing: string[]; }, { complete: boolean; percentage: number; missing: string[]; }>; }, "strip", z.ZodTypeAny, { address: { complete: boolean; percentage: number; missing: string[]; }; medium: { complete: boolean; percentage: number; missing: string[]; }; avatar: { complete: boolean; percentage: number; missing: string[]; }; profile: { complete: boolean; percentage: number; missing: string[]; }; contact: { complete: boolean; percentage: number; missing: string[]; }; }, { address: { complete: boolean; percentage: number; missing: string[]; }; medium: { complete: boolean; percentage: number; missing: string[]; }; avatar: { complete: boolean; percentage: number; missing: string[]; }; profile: { complete: boolean; percentage: number; missing: string[]; }; contact: { complete: boolean; percentage: number; missing: string[]; }; }>; nextActions: z.ZodArray; }, "strip", z.ZodTypeAny, { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: { address: { complete: boolean; percentage: number; missing: string[]; }; medium: { complete: boolean; percentage: number; missing: string[]; }; avatar: { complete: boolean; percentage: number; missing: string[]; }; profile: { complete: boolean; percentage: number; missing: string[]; }; contact: { complete: boolean; percentage: number; missing: string[]; }; }; nextActions: string[]; }, { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: { address: { complete: boolean; percentage: number; missing: string[]; }; medium: { complete: boolean; percentage: number; missing: string[]; }; avatar: { complete: boolean; percentage: number; missing: string[]; }; profile: { complete: boolean; percentage: number; missing: string[]; }; contact: { complete: boolean; percentage: number; missing: string[]; }; }; nextActions: string[]; }>; /** Show compact view (progress bar only) */ compact: z.ZodOptional; /** Show section details */ showSections: z.ZodOptional; /** Show next actions */ showNextActions: z.ZodOptional; /** Callback when user clicks to complete a section */ onCompleteSection: z.ZodOptional, z.ZodVoid>>; /** Callback when user clicks the main CTA */ onCompleteProfile: z.ZodOptional, z.ZodUnknown>>; /** Callback when compact state changes (for persisting to localStorage) */ onCompactChange: z.ZodOptional, z.ZodVoid>>; /** Loading state */ isLoading: z.ZodOptional; }, "strip", z.ZodTypeAny, { data: { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: { address: { complete: boolean; percentage: number; missing: string[]; }; medium: { complete: boolean; percentage: number; missing: string[]; }; avatar: { complete: boolean; percentage: number; missing: string[]; }; profile: { complete: boolean; percentage: number; missing: string[]; }; contact: { complete: boolean; percentage: number; missing: string[]; }; }; nextActions: string[]; }; compact?: boolean | undefined; isLoading?: boolean | undefined; showSections?: boolean | undefined; showNextActions?: boolean | undefined; onCompleteSection?: ((args_0: string) => void) | undefined; onCompactChange?: ((args_0: boolean) => void) | undefined; onCompleteProfile?: ((...args: unknown[]) => unknown) | undefined; }, { data: { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: { address: { complete: boolean; percentage: number; missing: string[]; }; medium: { complete: boolean; percentage: number; missing: string[]; }; avatar: { complete: boolean; percentage: number; missing: string[]; }; profile: { complete: boolean; percentage: number; missing: string[]; }; contact: { complete: boolean; percentage: number; missing: string[]; }; }; nextActions: string[]; }; compact?: boolean | undefined; isLoading?: boolean | undefined; showSections?: boolean | undefined; showNextActions?: boolean | undefined; onCompleteSection?: ((args_0: string) => void) | undefined; onCompactChange?: ((args_0: boolean) => void) | undefined; onCompleteProfile?: ((...args: unknown[]) => unknown) | undefined; }>; type ProfileCompletenessCardProps = z.infer; declare const ProfileCompletenessCard: React__default.FC; /** * Hook for ProfileCompletenessCard business logic * Follows the { data, fns } pattern */ declare const useProfileCompletenessCard: (props: ProfileCompletenessCardProps) => { data: { completenessData: { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: { address: { complete: boolean; percentage: number; missing: string[]; }; medium: { complete: boolean; percentage: number; missing: string[]; }; avatar: { complete: boolean; percentage: number; missing: string[]; }; profile: { complete: boolean; percentage: number; missing: string[]; }; contact: { complete: boolean; percentage: number; missing: string[]; }; }; nextActions: string[]; }; badgeTierInfo: BadgeTierDisplayInfo; progressToNextTier: { isComplete: boolean; nextTier: null; pointsNeeded: number; progressPercent: number; nextTierLabel?: undefined; } | { isComplete: boolean; nextTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; nextTierLabel: string; pointsNeeded: number; progressPercent: number; }; sectionsWithConfig: { complete: boolean; percentage: number; missing: string[]; key: keyof ProfileCompletenessData["sections"]; label: string; icon: string; path: string; weight: number; }[]; incompleteSections: { complete: boolean; percentage: number; missing: string[]; key: keyof ProfileCompletenessData["sections"]; label: string; icon: string; path: string; weight: number; }[]; ctaMessage: string; compact: boolean; showSections: boolean; showNextActions: boolean; isLoading: boolean; isComplete: boolean; }; fns: { handleSectionClick: (sectionKey: string) => void; handleCtaClick: () => void; handleCompactToggle: () => void; }; }; declare const PermissionCategorySchema: z.ZodEnum<["ACTIVITIES", "EVENTS", "FINANCIAL", "MONTHLY_FEES", "MEMBERS", "INVENTORY", "RITUAL_BATHS", "TERREIRO", "SETTINGS", "REPORTS", "REQUESTS", "ADMINISTRATION"]>; type PermissionCategory = z.infer; declare const MONTHLY_FEE_GROUP_KEY: "MONTHLY_FEES"; type PermissionGroupCategory = PermissionCategory | typeof MONTHLY_FEE_GROUP_KEY; declare const PermissionSchema: z.ZodObject<{ id: z.ZodString; code: z.ZodString; name: z.ZodString; description: z.ZodString; category: z.ZodEnum<["ACTIVITIES", "EVENTS", "FINANCIAL", "MONTHLY_FEES", "MEMBERS", "INVENTORY", "RITUAL_BATHS", "TERREIRO", "SETTINGS", "REPORTS", "REQUESTS", "ADMINISTRATION"]>; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; code: string; name: string; description: string; category: "ACTIVITIES" | "EVENTS" | "FINANCIAL" | "MONTHLY_FEES" | "MEMBERS" | "INVENTORY" | "RITUAL_BATHS" | "TERREIRO" | "SETTINGS" | "REPORTS" | "REQUESTS" | "ADMINISTRATION"; updatedAt?: string | undefined; createdAt?: string | undefined; }, { id: string; code: string; name: string; description: string; category: "ACTIVITIES" | "EVENTS" | "FINANCIAL" | "MONTHLY_FEES" | "MEMBERS" | "INVENTORY" | "RITUAL_BATHS" | "TERREIRO" | "SETTINGS" | "REPORTS" | "REQUESTS" | "ADMINISTRATION"; updatedAt?: string | undefined; createdAt?: string | undefined; }>; type Permission = z.infer; declare const PermissionSelectorPropsSchema: z.ZodObject<{ /** All available permissions */ permissions: z.ZodArray; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; code: string; name: string; description: string; category: "ACTIVITIES" | "EVENTS" | "FINANCIAL" | "MONTHLY_FEES" | "MEMBERS" | "INVENTORY" | "RITUAL_BATHS" | "TERREIRO" | "SETTINGS" | "REPORTS" | "REQUESTS" | "ADMINISTRATION"; updatedAt?: string | undefined; createdAt?: string | undefined; }, { id: string; code: string; name: string; description: string; category: "ACTIVITIES" | "EVENTS" | "FINANCIAL" | "MONTHLY_FEES" | "MEMBERS" | "INVENTORY" | "RITUAL_BATHS" | "TERREIRO" | "SETTINGS" | "REPORTS" | "REQUESTS" | "ADMINISTRATION"; updatedAt?: string | undefined; createdAt?: string | undefined; }>, "many">; /** Currently selected permission codes */ selectedPermissionCodes: z.ZodArray; /** Callback when selection changes */ onChange: z.ZodFunction], z.ZodUnknown>, z.ZodVoid>; /** Disable all interactions */ disabled: z.ZodOptional; /** Disable selection changes while keeping read-only navigation interactions */ disableSelection: z.ZodOptional; /** Show search input */ showSearch: z.ZodOptional; /** Loading state */ isLoading: z.ZodOptional; /** Error message */ error: z.ZodOptional; }, "strip", z.ZodTypeAny, { onChange: (args_0: string[], ...args: unknown[]) => void; permissions: { id: string; code: string; name: string; description: string; category: "ACTIVITIES" | "EVENTS" | "FINANCIAL" | "MONTHLY_FEES" | "MEMBERS" | "INVENTORY" | "RITUAL_BATHS" | "TERREIRO" | "SETTINGS" | "REPORTS" | "REQUESTS" | "ADMINISTRATION"; updatedAt?: string | undefined; createdAt?: string | undefined; }[]; selectedPermissionCodes: string[]; disabled?: boolean | undefined; error?: string | undefined; isLoading?: boolean | undefined; disableSelection?: boolean | undefined; showSearch?: boolean | undefined; }, { onChange: (args_0: string[], ...args: unknown[]) => void; permissions: { id: string; code: string; name: string; description: string; category: "ACTIVITIES" | "EVENTS" | "FINANCIAL" | "MONTHLY_FEES" | "MEMBERS" | "INVENTORY" | "RITUAL_BATHS" | "TERREIRO" | "SETTINGS" | "REPORTS" | "REQUESTS" | "ADMINISTRATION"; updatedAt?: string | undefined; createdAt?: string | undefined; }[]; selectedPermissionCodes: string[]; disabled?: boolean | undefined; error?: string | undefined; isLoading?: boolean | undefined; disableSelection?: boolean | undefined; showSearch?: boolean | undefined; }>; type PermissionSelectorProps = z.infer; interface CategoryDisplayInfo { category: PermissionGroupCategory; label: string; icon: string; description: string; } declare const CATEGORY_CONFIG: Record; interface GroupedPermissions { category: PermissionGroupCategory; permissions: Permission[]; selectedCount: number; totalCount: number; } /** * PermissionSelector Component * * Multi-select permission picker grouped by categories. * Supports search, bulk selection per category, and expand/collapse all. */ declare const PermissionSelector: React__default.FC; declare const usePermissionSelector: (props: PermissionSelectorProps) => { data: { groupedPermissions: GroupedPermissions[]; expandedCategories: Set; searchQuery: string; summary: { totalPermissions: number; selectedCount: number; hasSelection: boolean; allSelected: boolean; selectionPercentage: number; }; categoryConfig: Record; isLoading: boolean; error: string | undefined; disabled: boolean; disableSelection: boolean; showSearch: boolean; }; fns: { handleTogglePermission: (permissionCode: string) => void; handleToggleCategory: (category: PermissionGroupCategory) => void; handleToggleExpansion: (category: PermissionGroupCategory) => void; handleExpandAll: () => void; handleCollapseAll: () => void; setSearchQuery: React$1.Dispatch>; handleClearSearch: () => void; isCategoryFullySelected: (category: PermissionGroupCategory) => boolean; isCategoryPartiallySelected: (category: PermissionGroupCategory) => boolean; }; }; declare const installPromptPropsSchema: z$1.ZodObject<{ appName: z$1.ZodDefault; benefitsText: z$1.ZodDefault; featureLine: z$1.ZodDefault; dismissCooldownDays: z$1.ZodDefault; disableAutoOpen: z$1.ZodDefault; iOSHelpText: z$1.ZodDefault; onInstall: z$1.ZodOptional, z$1.ZodVoid>>; onDismiss: z$1.ZodOptional, z$1.ZodVoid>>; forceOpen: z$1.ZodDefault>; }, "strip", z$1.ZodTypeAny, { appName: string; benefitsText: string; featureLine: string; dismissCooldownDays: number; disableAutoOpen: boolean; iOSHelpText: string; forceOpen: boolean; onDismiss?: ((...args: unknown[]) => void) | undefined; onInstall?: ((...args: unknown[]) => void) | undefined; }, { onDismiss?: ((...args: unknown[]) => void) | undefined; appName?: string | undefined; benefitsText?: string | undefined; featureLine?: string | undefined; dismissCooldownDays?: number | undefined; disableAutoOpen?: boolean | undefined; iOSHelpText?: string | undefined; onInstall?: ((...args: unknown[]) => void) | undefined; forceOpen?: boolean | undefined; }>; type InstallPromptProps = z$1.infer; /** * Hook public API types */ type InstallPromptData = { open: boolean; isIos: boolean; isStandalone: boolean; canPrompt: boolean; }; type InstallPromptFns = { open: () => void; close: () => void; install: () => Promise; notNow: () => void; }; /** * Pure UI component – all behavior comes from useInstallPrompt(). */ declare function InstallPrompt(uiProps: InstallPromptProps): React$1.JSX.Element | null; /** * Business logic for InstallPrompt. Returns `{ data, fns }` per project convention. */ declare function useInstallPrompt(rawProps: InstallPromptProps): { data: InstallPromptData; fns: InstallPromptFns; props: { appName: string; benefitsText: string; featureLine: string; dismissCooldownDays: number; disableAutoOpen: boolean; iOSHelpText: string; forceOpen: boolean; onDismiss?: ((...args: unknown[]) => void) | undefined; onInstall?: ((...args: unknown[]) => void) | undefined; }; }; declare const onboardingIntroProfileContextSchema: z$1.ZodEnum<["personal", "terreiro"]>; declare const onboardingIntroModeSchema: z$1.ZodEnum<["modal", "page"]>; declare const onboardingIntroModalPropsSchema: z$1.ZodObject<{ open: z$1.ZodDefault; profileContext: z$1.ZodEnum<["personal", "terreiro"]>; mode: z$1.ZodDefault>; isSaving: z$1.ZodDefault; personalProfileName: z$1.ZodOptional; personalProfileImageUrl: z$1.ZodOptional>; terreiroProfileName: z$1.ZodOptional; terreiroProfileImageUrl: z$1.ZodOptional>; onClose: z$1.ZodOptional, z$1.ZodVoid>>; onComplete: z$1.ZodOptional, z$1.ZodVoid>>; onSelectPersonalProfile: z$1.ZodOptional, z$1.ZodVoid>>; onSelectTerreiroProfile: z$1.ZodOptional, z$1.ZodVoid>>; onCreateTerreiro: z$1.ZodOptional, z$1.ZodVoid>>; onJoinTerreiro: z$1.ZodOptional, z$1.ZodVoid>>; }, "strip", z$1.ZodTypeAny, { open: boolean; mode: "page" | "modal"; profileContext: "terreiro" | "personal"; isSaving: boolean; onClose?: (() => void) | undefined; onCreateTerreiro?: (() => void) | undefined; onComplete?: (() => void) | undefined; personalProfileName?: string | undefined; personalProfileImageUrl?: string | null | undefined; terreiroProfileName?: string | undefined; terreiroProfileImageUrl?: string | null | undefined; onSelectPersonalProfile?: (() => void) | undefined; onSelectTerreiroProfile?: (() => void) | undefined; onJoinTerreiro?: (() => void) | undefined; }, { profileContext: "terreiro" | "personal"; onClose?: (() => void) | undefined; open?: boolean | undefined; mode?: "page" | "modal" | undefined; onCreateTerreiro?: (() => void) | undefined; onComplete?: (() => void) | undefined; isSaving?: boolean | undefined; personalProfileName?: string | undefined; personalProfileImageUrl?: string | null | undefined; terreiroProfileName?: string | undefined; terreiroProfileImageUrl?: string | null | undefined; onSelectPersonalProfile?: (() => void) | undefined; onSelectTerreiroProfile?: (() => void) | undefined; onJoinTerreiro?: (() => void) | undefined; }>; type OnboardingIntroProfileContext = z$1.infer; type OnboardingIntroMode = z$1.infer; type OnboardingIntroModalProps = z$1.infer; type OnboardingIntroStep = { id: string; title: string; description: string; bullets: string[]; }; declare const OnboardingIntroModal: React__default.FC; declare const useOnboardingIntroModal: (props: OnboardingIntroModalProps) => { data: { steps: OnboardingIntroStep[]; currentStep: OnboardingIntroStep; currentStepIndex: number; totalSteps: number; isFirstStep: boolean; isLastStep: boolean; isPersonalProfile: boolean; personalProfileOption: { title: string; description: string; name: string; imageUrl: string | undefined; }; terreiroProfileOption: { title: string; description: string; name: string; imageUrl: string | undefined; }; }; fns: { goNext: () => void; goBack: () => void; handleDismiss: () => void; handleContinue: () => void; handleCreateTerreiro: () => void; handleJoinTerreiro: () => void; handleSelectPersonalProfile: () => void; handleSelectTerreiroProfile: () => void; }; }; type PasskeyEnrollmentPromptProps = { open: boolean; loading?: boolean; onActivate: () => void; onDismiss: () => void; }; declare const PasskeyEnrollmentPrompt: React__default.FC; type PasskeyLoginDialogTexts = { appName: string; protectionPrompt: string; cancel: string; }; type PasskeyLoginDialogProps = { open: boolean; loading?: boolean; onAuthenticate: () => void; onCancel: () => void; texts?: Partial; }; declare const PasskeyLoginDialog: React__default.FC; type PasskeyManagerItem = { id: string; nickname: string | null; createdAt: string; lastUsedAt: string | null; }; type PasskeyManagerProps = { passkeys: PasskeyManagerItem[]; supported: boolean; /** Disables actions while a register/rename/delete request is in flight. */ busy?: boolean; /** `page` renders a full empty state and a pill CTA; `section` stays compact. */ variant?: "page" | "section"; onAdd?: () => void; onDelete?: (id: string) => void; onRename?: (id: string, nickname: string) => void; }; declare const PasskeyManager: React__default.FC; /** * Ritual Schema * Complete ritual information including metadata and steps */ declare const RitualSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; category: z.ZodString; categoryColorClass: z.ZodOptional; categoryTextClass: z.ZodOptional; description: z.ZodString; imageUrl: z.ZodOptional; steps: z.ZodArray, "many">; origin: z.ZodOptional; originLabel: z.ZodOptional; status: z.ZodOptional; statusLabel: z.ZodOptional; ingredientsCount: z.ZodOptional; scheduledCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; description: string; category: string; steps: { text: string; icon: string; }[]; status?: string | undefined; origin?: string | undefined; statusLabel?: string | undefined; imageUrl?: string | undefined; categoryColorClass?: string | undefined; categoryTextClass?: string | undefined; originLabel?: string | undefined; ingredientsCount?: number | undefined; scheduledCount?: number | undefined; }, { title: string; id: string; description: string; category: string; steps: { text: string; icon: string; }[]; status?: string | undefined; origin?: string | undefined; statusLabel?: string | undefined; imageUrl?: string | undefined; categoryColorClass?: string | undefined; categoryTextClass?: string | undefined; originLabel?: string | undefined; ingredientsCount?: number | undefined; scheduledCount?: number | undefined; }>; type Ritual = z.infer; /** * Daily Ritual Card Props Schema * Props for the main component displaying daily rituals */ declare const DailyRitualCardPropsSchema: z.ZodObject<{ rituals: z.ZodArray; categoryTextClass: z.ZodOptional; description: z.ZodString; imageUrl: z.ZodOptional; steps: z.ZodArray, "many">; origin: z.ZodOptional; originLabel: z.ZodOptional; status: z.ZodOptional; statusLabel: z.ZodOptional; ingredientsCount: z.ZodOptional; scheduledCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; description: string; category: string; steps: { text: string; icon: string; }[]; status?: string | undefined; origin?: string | undefined; statusLabel?: string | undefined; imageUrl?: string | undefined; categoryColorClass?: string | undefined; categoryTextClass?: string | undefined; originLabel?: string | undefined; ingredientsCount?: number | undefined; scheduledCount?: number | undefined; }, { title: string; id: string; description: string; category: string; steps: { text: string; icon: string; }[]; status?: string | undefined; origin?: string | undefined; statusLabel?: string | undefined; imageUrl?: string | undefined; categoryColorClass?: string | undefined; categoryTextClass?: string | undefined; originLabel?: string | undefined; ingredientsCount?: number | undefined; scheduledCount?: number | undefined; }>, "many">; selectedDate: z.ZodOptional; onExploreClick: z.ZodOptional, z.ZodVoid>>; onRitualClick: z.ZodOptional, z.ZodVoid>>; isLoading: z.ZodOptional; className: z.ZodOptional; }, "strip", z.ZodTypeAny, { rituals: { title: string; id: string; description: string; category: string; steps: { text: string; icon: string; }[]; status?: string | undefined; origin?: string | undefined; statusLabel?: string | undefined; imageUrl?: string | undefined; categoryColorClass?: string | undefined; categoryTextClass?: string | undefined; originLabel?: string | undefined; ingredientsCount?: number | undefined; scheduledCount?: number | undefined; }[]; className?: string | undefined; isLoading?: boolean | undefined; selectedDate?: string | undefined; onExploreClick?: (() => void) | undefined; onRitualClick?: ((args_0: string) => void) | undefined; }, { rituals: { title: string; id: string; description: string; category: string; steps: { text: string; icon: string; }[]; status?: string | undefined; origin?: string | undefined; statusLabel?: string | undefined; imageUrl?: string | undefined; categoryColorClass?: string | undefined; categoryTextClass?: string | undefined; originLabel?: string | undefined; ingredientsCount?: number | undefined; scheduledCount?: number | undefined; }[]; className?: string | undefined; isLoading?: boolean | undefined; selectedDate?: string | undefined; onExploreClick?: (() => void) | undefined; onRitualClick?: ((args_0: string) => void) | undefined; }>; type DailyRitualCardProps = z.infer; declare const DailyRitualCard: React__default.FC; interface RitualCardProps { ritual: Ritual; onClick?: (ritualId: string) => void; onSchedule?: (ritualId: string) => void; } /** * RitualCard Component * Displays a single ritual with image, category, description and steps */ declare const RitualCard: React__default.FC; declare const MoonPositionSchema: z.ZodObject<{ altitude: z.ZodNumber; azimuth: z.ZodNumber; distance: z.ZodNumber; parallactic_angle: z.ZodNumber; phase_angle: z.ZodNumber; }, "strip", z.ZodTypeAny, { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }, { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }>; declare const MoonZodiacSchema: z.ZodObject<{ sun_sign: z.ZodString; moon_sign: z.ZodString; }, "strip", z.ZodTypeAny, { sun_sign: string; moon_sign: string; }, { sun_sign: string; moon_sign: string; }>; declare const PhaseEventSchema: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; declare const UpcomingPhasesSchema: z.ZodObject<{ new_moon: z.ZodObject<{ last: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; next: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; }, "strip", z.ZodTypeAny, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }>; first_quarter: z.ZodObject<{ last: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; next: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; }, "strip", z.ZodTypeAny, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }>; full_moon: z.ZodObject<{ last: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; next: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; }, "strip", z.ZodTypeAny, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }>; last_quarter: z.ZodObject<{ last: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; next: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; }, "strip", z.ZodTypeAny, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }>; }, "strip", z.ZodTypeAny, { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }, { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }>; declare const MoonDetailedSchema: z.ZodObject<{ position: z.ZodObject<{ altitude: z.ZodNumber; azimuth: z.ZodNumber; distance: z.ZodNumber; parallactic_angle: z.ZodNumber; phase_angle: z.ZodNumber; }, "strip", z.ZodTypeAny, { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }, { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }>; visibility: z.ZodObject<{ visible_hours: z.ZodNumber; best_viewing_time: z.ZodString; visibility_rating: z.ZodString; illumination: z.ZodString; viewing_conditions: z.ZodObject<{ phase_quality: z.ZodString; recommended_equipment: z.ZodObject<{ filters: z.ZodString; telescope: z.ZodString; best_magnification: z.ZodString; }, "strip", z.ZodTypeAny, { filters: string; telescope: string; best_magnification: string; }, { filters: string; telescope: string; best_magnification: string; }>; }, "strip", z.ZodTypeAny, { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }, { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }>; }, "strip", z.ZodTypeAny, { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }, { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }>; upcoming_phases: z.ZodObject<{ new_moon: z.ZodObject<{ last: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; next: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; }, "strip", z.ZodTypeAny, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }>; first_quarter: z.ZodObject<{ last: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; next: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; }, "strip", z.ZodTypeAny, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }>; full_moon: z.ZodObject<{ last: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; next: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; }, "strip", z.ZodTypeAny, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }>; last_quarter: z.ZodObject<{ last: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; next: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; }, "strip", z.ZodTypeAny, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }>; }, "strip", z.ZodTypeAny, { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }, { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }>; illumination_details: z.ZodObject<{ percentage: z.ZodNumber; visible_fraction: z.ZodNumber; phase_angle: z.ZodNumber; }, "strip", z.ZodTypeAny, { percentage: number; phase_angle: number; visible_fraction: number; }, { percentage: number; phase_angle: number; visible_fraction: number; }>; }, "strip", z.ZodTypeAny, { position: { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }; visibility: { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }; upcoming_phases: { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }; illumination_details: { percentage: number; phase_angle: number; visible_fraction: number; }; }, { position: { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }; visibility: { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }; upcoming_phases: { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }; illumination_details: { percentage: number; phase_angle: number; visible_fraction: number; }; }>; declare const MoonEventsSchema: z.ZodObject<{ moonrise_visible: z.ZodBoolean; moonset_visible: z.ZodBoolean; optimal_viewing_period: z.ZodObject<{ start_time: z.ZodString; end_time: z.ZodString; duration_hours: z.ZodNumber; viewing_quality: z.ZodString; recommendations: z.ZodArray; }, "strip", z.ZodTypeAny, { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }, { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }>; }, "strip", z.ZodTypeAny, { moonrise_visible: boolean; moonset_visible: boolean; optimal_viewing_period: { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }; }, { moonrise_visible: boolean; moonset_visible: boolean; optimal_viewing_period: { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }; }>; declare const LunarEclipseSchema: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; type: z.ZodString; visibility_regions: z.ZodString; }, "strip", z.ZodTypeAny, { type: string; timestamp: number; datestamp: string; visibility_regions: string; }, { type: string; timestamp: number; datestamp: string; visibility_regions: string; }>; declare const MoonDataSchema: z.ZodObject<{ phase: z.ZodNumber; phase_name: z.ZodString; major_phase: z.ZodString; stage: z.ZodString; illumination: z.ZodString; age_days: z.ZodNumber; lunar_cycle: z.ZodString; emoji: z.ZodString; zodiac: z.ZodObject<{ sun_sign: z.ZodString; moon_sign: z.ZodString; }, "strip", z.ZodTypeAny, { sun_sign: string; moon_sign: string; }, { sun_sign: string; moon_sign: string; }>; moonrise: z.ZodString; moonrise_timestamp: z.ZodNumber; moonset: z.ZodString; moonset_timestamp: z.ZodNumber; next_lunar_eclipse: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; type: z.ZodString; visibility_regions: z.ZodString; }, "strip", z.ZodTypeAny, { type: string; timestamp: number; datestamp: string; visibility_regions: string; }, { type: string; timestamp: number; datestamp: string; visibility_regions: string; }>; detailed: z.ZodObject<{ position: z.ZodObject<{ altitude: z.ZodNumber; azimuth: z.ZodNumber; distance: z.ZodNumber; parallactic_angle: z.ZodNumber; phase_angle: z.ZodNumber; }, "strip", z.ZodTypeAny, { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }, { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }>; visibility: z.ZodObject<{ visible_hours: z.ZodNumber; best_viewing_time: z.ZodString; visibility_rating: z.ZodString; illumination: z.ZodString; viewing_conditions: z.ZodObject<{ phase_quality: z.ZodString; recommended_equipment: z.ZodObject<{ filters: z.ZodString; telescope: z.ZodString; best_magnification: z.ZodString; }, "strip", z.ZodTypeAny, { filters: string; telescope: string; best_magnification: string; }, { filters: string; telescope: string; best_magnification: string; }>; }, "strip", z.ZodTypeAny, { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }, { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }>; }, "strip", z.ZodTypeAny, { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }, { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }>; upcoming_phases: z.ZodObject<{ new_moon: z.ZodObject<{ last: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; next: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; }, "strip", z.ZodTypeAny, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }>; first_quarter: z.ZodObject<{ last: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; next: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; }, "strip", z.ZodTypeAny, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }>; full_moon: z.ZodObject<{ last: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; next: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; }, "strip", z.ZodTypeAny, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }>; last_quarter: z.ZodObject<{ last: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; next: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; }, "strip", z.ZodTypeAny, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }>; }, "strip", z.ZodTypeAny, { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }, { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }>; illumination_details: z.ZodObject<{ percentage: z.ZodNumber; visible_fraction: z.ZodNumber; phase_angle: z.ZodNumber; }, "strip", z.ZodTypeAny, { percentage: number; phase_angle: number; visible_fraction: number; }, { percentage: number; phase_angle: number; visible_fraction: number; }>; }, "strip", z.ZodTypeAny, { position: { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }; visibility: { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }; upcoming_phases: { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }; illumination_details: { percentage: number; phase_angle: number; visible_fraction: number; }; }, { position: { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }; visibility: { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }; upcoming_phases: { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }; illumination_details: { percentage: number; phase_angle: number; visible_fraction: number; }; }>; events: z.ZodObject<{ moonrise_visible: z.ZodBoolean; moonset_visible: z.ZodBoolean; optimal_viewing_period: z.ZodObject<{ start_time: z.ZodString; end_time: z.ZodString; duration_hours: z.ZodNumber; viewing_quality: z.ZodString; recommendations: z.ZodArray; }, "strip", z.ZodTypeAny, { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }, { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }>; }, "strip", z.ZodTypeAny, { moonrise_visible: boolean; moonset_visible: boolean; optimal_viewing_period: { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }; }, { moonrise_visible: boolean; moonset_visible: boolean; optimal_viewing_period: { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }; }>; }, "strip", z.ZodTypeAny, { emoji: string; events: { moonrise_visible: boolean; moonset_visible: boolean; optimal_viewing_period: { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }; }; illumination: string; phase: number; phase_name: string; major_phase: string; stage: string; age_days: number; lunar_cycle: string; zodiac: { sun_sign: string; moon_sign: string; }; moonrise: string; moonrise_timestamp: number; moonset: string; moonset_timestamp: number; next_lunar_eclipse: { type: string; timestamp: number; datestamp: string; visibility_regions: string; }; detailed: { position: { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }; visibility: { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }; upcoming_phases: { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }; illumination_details: { percentage: number; phase_angle: number; visible_fraction: number; }; }; }, { emoji: string; events: { moonrise_visible: boolean; moonset_visible: boolean; optimal_viewing_period: { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }; }; illumination: string; phase: number; phase_name: string; major_phase: string; stage: string; age_days: number; lunar_cycle: string; zodiac: { sun_sign: string; moon_sign: string; }; moonrise: string; moonrise_timestamp: number; moonset: string; moonset_timestamp: number; next_lunar_eclipse: { type: string; timestamp: number; datestamp: string; visibility_regions: string; }; detailed: { position: { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }; visibility: { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }; upcoming_phases: { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }; illumination_details: { percentage: number; phase_angle: number; visible_fraction: number; }; }; }>; type MoonData = z.infer; type MoonPosition = z.infer; type MoonZodiac = z.infer; type MoonDetailed = z.infer; type MoonEvents = z.infer; declare const MoonApiResponseSchema: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; plan: z.ZodString; sun: z.ZodAny; moon: z.ZodObject<{ phase: z.ZodNumber; phase_name: z.ZodString; major_phase: z.ZodString; stage: z.ZodString; illumination: z.ZodString; age_days: z.ZodNumber; lunar_cycle: z.ZodString; emoji: z.ZodString; zodiac: z.ZodObject<{ sun_sign: z.ZodString; moon_sign: z.ZodString; }, "strip", z.ZodTypeAny, { sun_sign: string; moon_sign: string; }, { sun_sign: string; moon_sign: string; }>; moonrise: z.ZodString; moonrise_timestamp: z.ZodNumber; moonset: z.ZodString; moonset_timestamp: z.ZodNumber; next_lunar_eclipse: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; type: z.ZodString; visibility_regions: z.ZodString; }, "strip", z.ZodTypeAny, { type: string; timestamp: number; datestamp: string; visibility_regions: string; }, { type: string; timestamp: number; datestamp: string; visibility_regions: string; }>; detailed: z.ZodObject<{ position: z.ZodObject<{ altitude: z.ZodNumber; azimuth: z.ZodNumber; distance: z.ZodNumber; parallactic_angle: z.ZodNumber; phase_angle: z.ZodNumber; }, "strip", z.ZodTypeAny, { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }, { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }>; visibility: z.ZodObject<{ visible_hours: z.ZodNumber; best_viewing_time: z.ZodString; visibility_rating: z.ZodString; illumination: z.ZodString; viewing_conditions: z.ZodObject<{ phase_quality: z.ZodString; recommended_equipment: z.ZodObject<{ filters: z.ZodString; telescope: z.ZodString; best_magnification: z.ZodString; }, "strip", z.ZodTypeAny, { filters: string; telescope: string; best_magnification: string; }, { filters: string; telescope: string; best_magnification: string; }>; }, "strip", z.ZodTypeAny, { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }, { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }>; }, "strip", z.ZodTypeAny, { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }, { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }>; upcoming_phases: z.ZodObject<{ new_moon: z.ZodObject<{ last: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; next: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; }, "strip", z.ZodTypeAny, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }>; first_quarter: z.ZodObject<{ last: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; next: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; }, "strip", z.ZodTypeAny, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }>; full_moon: z.ZodObject<{ last: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; next: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; }, "strip", z.ZodTypeAny, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }>; last_quarter: z.ZodObject<{ last: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; next: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; }, "strip", z.ZodTypeAny, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }>; }, "strip", z.ZodTypeAny, { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }, { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }>; illumination_details: z.ZodObject<{ percentage: z.ZodNumber; visible_fraction: z.ZodNumber; phase_angle: z.ZodNumber; }, "strip", z.ZodTypeAny, { percentage: number; phase_angle: number; visible_fraction: number; }, { percentage: number; phase_angle: number; visible_fraction: number; }>; }, "strip", z.ZodTypeAny, { position: { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }; visibility: { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }; upcoming_phases: { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }; illumination_details: { percentage: number; phase_angle: number; visible_fraction: number; }; }, { position: { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }; visibility: { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }; upcoming_phases: { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }; illumination_details: { percentage: number; phase_angle: number; visible_fraction: number; }; }>; events: z.ZodObject<{ moonrise_visible: z.ZodBoolean; moonset_visible: z.ZodBoolean; optimal_viewing_period: z.ZodObject<{ start_time: z.ZodString; end_time: z.ZodString; duration_hours: z.ZodNumber; viewing_quality: z.ZodString; recommendations: z.ZodArray; }, "strip", z.ZodTypeAny, { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }, { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }>; }, "strip", z.ZodTypeAny, { moonrise_visible: boolean; moonset_visible: boolean; optimal_viewing_period: { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }; }, { moonrise_visible: boolean; moonset_visible: boolean; optimal_viewing_period: { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }; }>; }, "strip", z.ZodTypeAny, { emoji: string; events: { moonrise_visible: boolean; moonset_visible: boolean; optimal_viewing_period: { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }; }; illumination: string; phase: number; phase_name: string; major_phase: string; stage: string; age_days: number; lunar_cycle: string; zodiac: { sun_sign: string; moon_sign: string; }; moonrise: string; moonrise_timestamp: number; moonset: string; moonset_timestamp: number; next_lunar_eclipse: { type: string; timestamp: number; datestamp: string; visibility_regions: string; }; detailed: { position: { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }; visibility: { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }; upcoming_phases: { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }; illumination_details: { percentage: number; phase_angle: number; visible_fraction: number; }; }; }, { emoji: string; events: { moonrise_visible: boolean; moonset_visible: boolean; optimal_viewing_period: { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }; }; illumination: string; phase: number; phase_name: string; major_phase: string; stage: string; age_days: number; lunar_cycle: string; zodiac: { sun_sign: string; moon_sign: string; }; moonrise: string; moonrise_timestamp: number; moonset: string; moonset_timestamp: number; next_lunar_eclipse: { type: string; timestamp: number; datestamp: string; visibility_regions: string; }; detailed: { position: { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }; visibility: { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }; upcoming_phases: { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }; illumination_details: { percentage: number; phase_angle: number; visible_fraction: number; }; }; }>; }, "strip", z.ZodTypeAny, { plan: string; timestamp: number; datestamp: string; moon: { emoji: string; events: { moonrise_visible: boolean; moonset_visible: boolean; optimal_viewing_period: { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }; }; illumination: string; phase: number; phase_name: string; major_phase: string; stage: string; age_days: number; lunar_cycle: string; zodiac: { sun_sign: string; moon_sign: string; }; moonrise: string; moonrise_timestamp: number; moonset: string; moonset_timestamp: number; next_lunar_eclipse: { type: string; timestamp: number; datestamp: string; visibility_regions: string; }; detailed: { position: { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }; visibility: { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }; upcoming_phases: { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }; illumination_details: { percentage: number; phase_angle: number; visible_fraction: number; }; }; }; sun?: any; }, { plan: string; timestamp: number; datestamp: string; moon: { emoji: string; events: { moonrise_visible: boolean; moonset_visible: boolean; optimal_viewing_period: { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }; }; illumination: string; phase: number; phase_name: string; major_phase: string; stage: string; age_days: number; lunar_cycle: string; zodiac: { sun_sign: string; moon_sign: string; }; moonrise: string; moonrise_timestamp: number; moonset: string; moonset_timestamp: number; next_lunar_eclipse: { type: string; timestamp: number; datestamp: string; visibility_regions: string; }; detailed: { position: { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }; visibility: { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }; upcoming_phases: { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }; illumination_details: { percentage: number; phase_angle: number; visible_fraction: number; }; }; }; sun?: any; }>; type MoonApiResponse = z.infer; declare const MoonCardPropsSchema: z.ZodObject<{ moonData: z.ZodOptional; moonrise: z.ZodString; moonrise_timestamp: z.ZodNumber; moonset: z.ZodString; moonset_timestamp: z.ZodNumber; next_lunar_eclipse: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; type: z.ZodString; visibility_regions: z.ZodString; }, "strip", z.ZodTypeAny, { type: string; timestamp: number; datestamp: string; visibility_regions: string; }, { type: string; timestamp: number; datestamp: string; visibility_regions: string; }>; detailed: z.ZodObject<{ position: z.ZodObject<{ altitude: z.ZodNumber; azimuth: z.ZodNumber; distance: z.ZodNumber; parallactic_angle: z.ZodNumber; phase_angle: z.ZodNumber; }, "strip", z.ZodTypeAny, { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }, { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }>; visibility: z.ZodObject<{ visible_hours: z.ZodNumber; best_viewing_time: z.ZodString; visibility_rating: z.ZodString; illumination: z.ZodString; viewing_conditions: z.ZodObject<{ phase_quality: z.ZodString; recommended_equipment: z.ZodObject<{ filters: z.ZodString; telescope: z.ZodString; best_magnification: z.ZodString; }, "strip", z.ZodTypeAny, { filters: string; telescope: string; best_magnification: string; }, { filters: string; telescope: string; best_magnification: string; }>; }, "strip", z.ZodTypeAny, { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }, { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }>; }, "strip", z.ZodTypeAny, { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }, { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }>; upcoming_phases: z.ZodObject<{ new_moon: z.ZodObject<{ last: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; next: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; }, "strip", z.ZodTypeAny, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }>; first_quarter: z.ZodObject<{ last: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; next: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; }, "strip", z.ZodTypeAny, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }>; full_moon: z.ZodObject<{ last: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; next: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; }, "strip", z.ZodTypeAny, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }>; last_quarter: z.ZodObject<{ last: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; next: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; }, "strip", z.ZodTypeAny, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }>; }, "strip", z.ZodTypeAny, { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }, { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }>; illumination_details: z.ZodObject<{ percentage: z.ZodNumber; visible_fraction: z.ZodNumber; phase_angle: z.ZodNumber; }, "strip", z.ZodTypeAny, { percentage: number; phase_angle: number; visible_fraction: number; }, { percentage: number; phase_angle: number; visible_fraction: number; }>; }, "strip", z.ZodTypeAny, { position: { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }; visibility: { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }; upcoming_phases: { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }; illumination_details: { percentage: number; phase_angle: number; visible_fraction: number; }; }, { position: { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }; visibility: { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }; upcoming_phases: { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }; illumination_details: { percentage: number; phase_angle: number; visible_fraction: number; }; }>; events: z.ZodObject<{ moonrise_visible: z.ZodBoolean; moonset_visible: z.ZodBoolean; optimal_viewing_period: z.ZodObject<{ start_time: z.ZodString; end_time: z.ZodString; duration_hours: z.ZodNumber; viewing_quality: z.ZodString; recommendations: z.ZodArray; }, "strip", z.ZodTypeAny, { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }, { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }>; }, "strip", z.ZodTypeAny, { moonrise_visible: boolean; moonset_visible: boolean; optimal_viewing_period: { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }; }, { moonrise_visible: boolean; moonset_visible: boolean; optimal_viewing_period: { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }; }>; }, "strip", z.ZodTypeAny, { emoji: string; events: { moonrise_visible: boolean; moonset_visible: boolean; optimal_viewing_period: { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }; }; illumination: string; phase: number; phase_name: string; major_phase: string; stage: string; age_days: number; lunar_cycle: string; zodiac: { sun_sign: string; moon_sign: string; }; moonrise: string; moonrise_timestamp: number; moonset: string; moonset_timestamp: number; next_lunar_eclipse: { type: string; timestamp: number; datestamp: string; visibility_regions: string; }; detailed: { position: { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }; visibility: { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }; upcoming_phases: { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }; illumination_details: { percentage: number; phase_angle: number; visible_fraction: number; }; }; }, { emoji: string; events: { moonrise_visible: boolean; moonset_visible: boolean; optimal_viewing_period: { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }; }; illumination: string; phase: number; phase_name: string; major_phase: string; stage: string; age_days: number; lunar_cycle: string; zodiac: { sun_sign: string; moon_sign: string; }; moonrise: string; moonrise_timestamp: number; moonset: string; moonset_timestamp: number; next_lunar_eclipse: { type: string; timestamp: number; datestamp: string; visibility_regions: string; }; detailed: { position: { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }; visibility: { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }; upcoming_phases: { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }; illumination_details: { percentage: number; phase_angle: number; visible_fraction: number; }; }; }>, z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; plan: z.ZodString; sun: z.ZodAny; moon: z.ZodObject<{ phase: z.ZodNumber; phase_name: z.ZodString; major_phase: z.ZodString; stage: z.ZodString; illumination: z.ZodString; age_days: z.ZodNumber; lunar_cycle: z.ZodString; emoji: z.ZodString; zodiac: z.ZodObject<{ sun_sign: z.ZodString; moon_sign: z.ZodString; }, "strip", z.ZodTypeAny, { sun_sign: string; moon_sign: string; }, { sun_sign: string; moon_sign: string; }>; moonrise: z.ZodString; moonrise_timestamp: z.ZodNumber; moonset: z.ZodString; moonset_timestamp: z.ZodNumber; next_lunar_eclipse: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; type: z.ZodString; visibility_regions: z.ZodString; }, "strip", z.ZodTypeAny, { type: string; timestamp: number; datestamp: string; visibility_regions: string; }, { type: string; timestamp: number; datestamp: string; visibility_regions: string; }>; detailed: z.ZodObject<{ position: z.ZodObject<{ altitude: z.ZodNumber; azimuth: z.ZodNumber; distance: z.ZodNumber; parallactic_angle: z.ZodNumber; phase_angle: z.ZodNumber; }, "strip", z.ZodTypeAny, { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }, { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }>; visibility: z.ZodObject<{ visible_hours: z.ZodNumber; best_viewing_time: z.ZodString; visibility_rating: z.ZodString; illumination: z.ZodString; viewing_conditions: z.ZodObject<{ phase_quality: z.ZodString; recommended_equipment: z.ZodObject<{ filters: z.ZodString; telescope: z.ZodString; best_magnification: z.ZodString; }, "strip", z.ZodTypeAny, { filters: string; telescope: string; best_magnification: string; }, { filters: string; telescope: string; best_magnification: string; }>; }, "strip", z.ZodTypeAny, { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }, { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }>; }, "strip", z.ZodTypeAny, { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }, { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }>; upcoming_phases: z.ZodObject<{ new_moon: z.ZodObject<{ last: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; next: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; }, "strip", z.ZodTypeAny, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }>; first_quarter: z.ZodObject<{ last: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; next: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; }, "strip", z.ZodTypeAny, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }>; full_moon: z.ZodObject<{ last: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; next: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; }, "strip", z.ZodTypeAny, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }>; last_quarter: z.ZodObject<{ last: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; next: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; }, "strip", z.ZodTypeAny, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }>; }, "strip", z.ZodTypeAny, { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }, { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }>; illumination_details: z.ZodObject<{ percentage: z.ZodNumber; visible_fraction: z.ZodNumber; phase_angle: z.ZodNumber; }, "strip", z.ZodTypeAny, { percentage: number; phase_angle: number; visible_fraction: number; }, { percentage: number; phase_angle: number; visible_fraction: number; }>; }, "strip", z.ZodTypeAny, { position: { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }; visibility: { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }; upcoming_phases: { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }; illumination_details: { percentage: number; phase_angle: number; visible_fraction: number; }; }, { position: { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }; visibility: { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }; upcoming_phases: { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }; illumination_details: { percentage: number; phase_angle: number; visible_fraction: number; }; }>; events: z.ZodObject<{ moonrise_visible: z.ZodBoolean; moonset_visible: z.ZodBoolean; optimal_viewing_period: z.ZodObject<{ start_time: z.ZodString; end_time: z.ZodString; duration_hours: z.ZodNumber; viewing_quality: z.ZodString; recommendations: z.ZodArray; }, "strip", z.ZodTypeAny, { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }, { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }>; }, "strip", z.ZodTypeAny, { moonrise_visible: boolean; moonset_visible: boolean; optimal_viewing_period: { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }; }, { moonrise_visible: boolean; moonset_visible: boolean; optimal_viewing_period: { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }; }>; }, "strip", z.ZodTypeAny, { emoji: string; events: { moonrise_visible: boolean; moonset_visible: boolean; optimal_viewing_period: { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }; }; illumination: string; phase: number; phase_name: string; major_phase: string; stage: string; age_days: number; lunar_cycle: string; zodiac: { sun_sign: string; moon_sign: string; }; moonrise: string; moonrise_timestamp: number; moonset: string; moonset_timestamp: number; next_lunar_eclipse: { type: string; timestamp: number; datestamp: string; visibility_regions: string; }; detailed: { position: { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }; visibility: { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }; upcoming_phases: { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }; illumination_details: { percentage: number; phase_angle: number; visible_fraction: number; }; }; }, { emoji: string; events: { moonrise_visible: boolean; moonset_visible: boolean; optimal_viewing_period: { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }; }; illumination: string; phase: number; phase_name: string; major_phase: string; stage: string; age_days: number; lunar_cycle: string; zodiac: { sun_sign: string; moon_sign: string; }; moonrise: string; moonrise_timestamp: number; moonset: string; moonset_timestamp: number; next_lunar_eclipse: { type: string; timestamp: number; datestamp: string; visibility_regions: string; }; detailed: { position: { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }; visibility: { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }; upcoming_phases: { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }; illumination_details: { percentage: number; phase_angle: number; visible_fraction: number; }; }; }>; }, "strip", z.ZodTypeAny, { plan: string; timestamp: number; datestamp: string; moon: { emoji: string; events: { moonrise_visible: boolean; moonset_visible: boolean; optimal_viewing_period: { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }; }; illumination: string; phase: number; phase_name: string; major_phase: string; stage: string; age_days: number; lunar_cycle: string; zodiac: { sun_sign: string; moon_sign: string; }; moonrise: string; moonrise_timestamp: number; moonset: string; moonset_timestamp: number; next_lunar_eclipse: { type: string; timestamp: number; datestamp: string; visibility_regions: string; }; detailed: { position: { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }; visibility: { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }; upcoming_phases: { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }; illumination_details: { percentage: number; phase_angle: number; visible_fraction: number; }; }; }; sun?: any; }, { plan: string; timestamp: number; datestamp: string; moon: { emoji: string; events: { moonrise_visible: boolean; moonset_visible: boolean; optimal_viewing_period: { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }; }; illumination: string; phase: number; phase_name: string; major_phase: string; stage: string; age_days: number; lunar_cycle: string; zodiac: { sun_sign: string; moon_sign: string; }; moonrise: string; moonrise_timestamp: number; moonset: string; moonset_timestamp: number; next_lunar_eclipse: { type: string; timestamp: number; datestamp: string; visibility_regions: string; }; detailed: { position: { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }; visibility: { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }; upcoming_phases: { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }; illumination_details: { percentage: number; phase_angle: number; visible_fraction: number; }; }; }; sun?: any; }>]>>; onClick: z.ZodOptional, z.ZodVoid>>; isLoading: z.ZodOptional; }, "strip", z.ZodTypeAny, { onClick?: (() => void) | undefined; isLoading?: boolean | undefined; moonData?: { emoji: string; events: { moonrise_visible: boolean; moonset_visible: boolean; optimal_viewing_period: { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }; }; illumination: string; phase: number; phase_name: string; major_phase: string; stage: string; age_days: number; lunar_cycle: string; zodiac: { sun_sign: string; moon_sign: string; }; moonrise: string; moonrise_timestamp: number; moonset: string; moonset_timestamp: number; next_lunar_eclipse: { type: string; timestamp: number; datestamp: string; visibility_regions: string; }; detailed: { position: { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }; visibility: { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }; upcoming_phases: { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }; illumination_details: { percentage: number; phase_angle: number; visible_fraction: number; }; }; } | { plan: string; timestamp: number; datestamp: string; moon: { emoji: string; events: { moonrise_visible: boolean; moonset_visible: boolean; optimal_viewing_period: { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }; }; illumination: string; phase: number; phase_name: string; major_phase: string; stage: string; age_days: number; lunar_cycle: string; zodiac: { sun_sign: string; moon_sign: string; }; moonrise: string; moonrise_timestamp: number; moonset: string; moonset_timestamp: number; next_lunar_eclipse: { type: string; timestamp: number; datestamp: string; visibility_regions: string; }; detailed: { position: { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }; visibility: { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }; upcoming_phases: { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }; illumination_details: { percentage: number; phase_angle: number; visible_fraction: number; }; }; }; sun?: any; } | undefined; }, { onClick?: (() => void) | undefined; isLoading?: boolean | undefined; moonData?: { emoji: string; events: { moonrise_visible: boolean; moonset_visible: boolean; optimal_viewing_period: { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }; }; illumination: string; phase: number; phase_name: string; major_phase: string; stage: string; age_days: number; lunar_cycle: string; zodiac: { sun_sign: string; moon_sign: string; }; moonrise: string; moonrise_timestamp: number; moonset: string; moonset_timestamp: number; next_lunar_eclipse: { type: string; timestamp: number; datestamp: string; visibility_regions: string; }; detailed: { position: { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }; visibility: { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }; upcoming_phases: { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }; illumination_details: { percentage: number; phase_angle: number; visible_fraction: number; }; }; } | { plan: string; timestamp: number; datestamp: string; moon: { emoji: string; events: { moonrise_visible: boolean; moonset_visible: boolean; optimal_viewing_period: { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }; }; illumination: string; phase: number; phase_name: string; major_phase: string; stage: string; age_days: number; lunar_cycle: string; zodiac: { sun_sign: string; moon_sign: string; }; moonrise: string; moonrise_timestamp: number; moonset: string; moonset_timestamp: number; next_lunar_eclipse: { type: string; timestamp: number; datestamp: string; visibility_regions: string; }; detailed: { position: { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }; visibility: { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }; upcoming_phases: { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }; illumination_details: { percentage: number; phase_angle: number; visible_fraction: number; }; }; }; sun?: any; } | undefined; }>; type MoonCardProps = z.infer; /** * MoonCard Component - Refactored Version * * IMPROVEMENTS: * ✅ Reduced from 268 to ~80 lines (-70% reduction) * ✅ Cyclomatic complexity: 8 → 3 * ✅ Cognitive complexity: 12 → 4 * ✅ Eliminated code duplication (40+ lines) * ✅ Extracted magic numbers to constants * ✅ Separated concerns: loading, content, styling * * ARCHITECTURE: * - Main component: Orchestration only * - MoonCardSkeleton: Loading state * - MoonCardContent: Data rendering * - Constants: Design tokens and utilities * * BENEFITS: * - Easier to test in isolation * - Better maintainability * - Improved readability * - Open for extension (new card variants) */ /** * MoonCard - Main component * Orchestrates rendering based on loading state * * @param props - Component props including moonData, onClick, isLoading */ declare const MoonCard: React__default.FunctionComponent; /** * MoonCardSkeleton - Loading state component * * Separated for Single Responsibility Principle: * - Main component handles data rendering * - Skeleton handles loading state UI * * Benefits: * - Easier to test in isolation * - Can be reused for different card variants * - Reduces cognitive load of main component */ interface MoonCardSkeletonProps { theme: Theme; } declare const MoonCardSkeleton: React__default.FC; /** * MoonCardContent - Main content rendering component * * Extracted to separate rendering logic from structural concerns * Follows Single Responsibility: only handles content display */ interface MoonCardContentProps { theme: Theme; moonIcon: string; formattedPhaseName: string; phaseDescription: string; zodiacSign: string; illuminationPercentage: number; } declare const MoonCardContent: React__default.FC; /** * Design tokens and constants for MoonCard component * Centralized values improve maintainability and consistency */ declare const SKELETON_SIZES: { readonly moonEmoji: { readonly width: 96; readonly height: 96; }; readonly header: { readonly width: 160; readonly height: 20; }; readonly phaseName: { readonly width: 200; readonly height: 48; }; readonly descriptionLine1: { readonly width: 280; readonly height: 20; }; readonly descriptionLine2: { readonly width: 260; readonly height: 20; }; readonly zodiac: { readonly width: 120; readonly height: 18; }; readonly progressBar: { readonly width: 280; readonly height: 4; }; readonly percentage: { readonly width: 100; readonly height: 18; }; }; declare const LAYOUT: { readonly maxWidth: "100%"; readonly maxWidthPx: "100%"; readonly minWidth: { readonly xs: 0; readonly sm: 0; }; readonly padding: { readonly xs: 2; readonly sm: 2.5; readonly md: 3; }; readonly contentMaxWidth: 280; readonly borderRadius: 1; }; declare const GLOW_EFFECT: { readonly size: { readonly xs: 150; readonly sm: 192; }; readonly blur: "70px"; readonly opacity: 0.2; }; declare const TYPOGRAPHY_SCALE: { readonly moonEmoji: { readonly xs: "5rem"; readonly sm: "6rem"; }; readonly phaseName: { readonly xs: "2rem"; readonly sm: "2.5rem"; }; readonly caption: { readonly xs: "0.7rem"; readonly sm: "0.75rem"; }; readonly body: { readonly xs: "0.875rem"; readonly sm: "0.9rem"; }; readonly zodiac: { readonly xs: "0.75rem"; readonly sm: "0.8rem"; }; }; /** * Generates card base styles shared between loading and loaded states * Prevents duplication and ensures consistency */ declare const getCardBaseStyles: (theme: Theme, isClickable: boolean) => { transition?: string | undefined; cursor?: string | undefined; "&:hover"?: { transform: string; boxShadow: string; } | undefined; "&:active"?: { transform: string; } | undefined; position: "relative"; overflow: string; borderRadius: 1; bgcolor: string; color: string; p: { readonly xs: 2; readonly sm: 2.5; readonly md: 3; }; boxShadow: string; width: "100%"; maxWidth: "100%"; minWidth: { readonly xs: 0; readonly sm: 0; }; mx: string; border: number; borderColor: string; }; /** * Content wrapper styles - extracted for reusability */ declare const CARD_CONTENT_STYLES: { readonly position: "relative"; readonly zIndex: 10; readonly display: "flex"; readonly flexDirection: "column"; readonly alignItems: "center"; readonly textAlign: "center"; readonly p: 0; readonly "&:last-child": { readonly pb: 0; }; }; declare const useMoonCard: (props: MoonCardProps) => { data: { moonData: { emoji: string; events: { moonrise_visible: boolean; moonset_visible: boolean; optimal_viewing_period: { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }; }; illumination: string; phase: number; phase_name: string; major_phase: string; stage: string; age_days: number; lunar_cycle: string; zodiac: { sun_sign: string; moon_sign: string; }; moonrise: string; moonrise_timestamp: number; moonset: string; moonset_timestamp: number; next_lunar_eclipse: { type: string; timestamp: number; datestamp: string; visibility_regions: string; }; detailed: { position: { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }; visibility: { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }; upcoming_phases: { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }; illumination_details: { percentage: number; phase_angle: number; visible_fraction: number; }; }; } | null; illuminationPercentage: number; moonIcon: string; formattedPhaseName: string; phaseDescription: string; moonVisual: { illuminatedSide: string; shadowWidth: number; phase: number; }; lunarCyclePercentage: number; zodiacSign: string; majorPhase: string; }; fns: { handleClick: () => void; }; }; interface PageHeaderTab { value: string; label: string; testId?: string; } interface PageHeaderProps { title: string; onBack?: () => void; onAdd?: () => void; addLabel?: string; showAddButton?: boolean; hideAddButtonOnMobile?: boolean; tabs?: PageHeaderTab[]; selectedTab?: string; onTabChange?: (value: string) => void; /** Optional control between back and title (e.g. chat peer avatar). */ startAdornment?: React__default.ReactNode; /** Optional trailing control in the toolbar (e.g. icon button). */ endAction?: React__default.ReactNode; /** Sticky by default. Static keeps a nested app's floating back button clear. */ position?: "sticky" | "static"; } declare const PageHeader: React__default.FC; declare const SuggestionsCarouselPropsSchema: z.ZodObject<{ suggestions: z.ZodArray; }, "strip", z.ZodTypeAny, { name: string; description: string; confidence: number; reasoning?: string | undefined; }, { name: string; description: string; confidence: number; reasoning?: string | undefined; }>, "many">; onSelect: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; description: string; confidence: number; reasoning?: string | undefined; }, { name: string; description: string; confidence: number; reasoning?: string | undefined; }>, z.ZodOptional>], null>, z.ZodVoid>>; isLoading: z.ZodDefault; selectedIndex: z.ZodOptional; mode: z.ZodOptional>; }, "strip", z.ZodTypeAny, { isLoading: boolean; suggestions: { name: string; description: string; confidence: number; reasoning?: string | undefined; }[]; onSelect?: ((args_0: { name: string; description: string; confidence: number; reasoning?: string | undefined; }, args_1: "apply_both" | "apply_description_only" | undefined) => void) | undefined; mode?: "name" | "description" | undefined; selectedIndex?: number | undefined; }, { suggestions: { name: string; description: string; confidence: number; reasoning?: string | undefined; }[]; onSelect?: ((args_0: { name: string; description: string; confidence: number; reasoning?: string | undefined; }, args_1: "apply_both" | "apply_description_only" | undefined) => void) | undefined; mode?: "name" | "description" | undefined; selectedIndex?: number | undefined; isLoading?: boolean | undefined; }>; type SuggestionsCarouselProps = z.infer; declare const SuggestionsCarousel: React__default.FC; type FormChatTextFormat = "cep" | "cpf" | "cnpj" | "phone" | "email"; type FormChatRole = "user" | "assistant" | "system"; type FormChatStep = "basic-info" | "quantity" | "location" | "template" | "time-selection" | "checkin-window" | "activity-selection" | "members-selection" | "insumos-selection" | "review" | "complete" | "personal" | "terreiro" | "password" | "guardian" | "financial" | "subscription" | "address" | "documents" | "social-identity" | "social-profile" | "social-privacy" | "social-experience" | "social-question" | "ingredients" | "ritual-steps"; interface ActivityChatSummary { title?: string; description?: string; activityType?: "ACTIVITY" | "RITUAL"; isTemplate?: boolean; date?: string; isAllDay?: boolean; startTime?: string; endTime?: string; qrCheckinEnabled?: boolean; checkinStartWindowMinutes?: number; checkinEndWindowMinutes?: number; /** Same shape as events. Omitted on personal profiles. */ isInTerreiro?: boolean; /** Structured address. Present for terreiro activities and rituals, including templates. */ location?: EventChatLocationState; memberIds?: string[]; memberNames?: string[]; /** `null` when nobody is selected. Review cards omit the quorum row for `null` and for `memberIds: []`. */ minConfirmedMembers?: number | null; insumos?: Array<{ id: string; quantity: number; }>; insumoLabels?: string[]; } interface ActivityChatMemberOption { id: string; name: string; email?: string; profilePictureUrl?: string | null; rank?: string; role?: string; } interface ActivityChatInsumoOption { id: string; name: string; availableQuantity: number; unit?: string; imageUrl?: string | null; } interface ActivityStructuredSelectionPayload { field: "memberIds" | "insumos" | "location"; memberIds?: string[]; /** * On `field: "memberIds"`, always send this key: `null` when `memberIds` is empty, * a positive integer when someone is selected. Omit the key on insumos and location payloads. * Do not send `1` to stand in for an empty selection. */ minConfirmedMembers?: number | null; insumos?: Array<{ id: string; quantity: number; }>; /** Sent when the location picker confirms, same object events already use. */ location?: EventChatLocationState; } /** * Confirm payload of `ActivityChatMembersPicker`. * Rituals use this same picker; there is no separate ritual members control. * `minConfirmedMembers` is always present: `null` when `memberIds` is empty * (including "Pular"), and a positive integer when one or more members are selected. */ interface ActivityChatMembersConfirmPayload { memberIds: string[]; minConfirmedMembers: number | null; } interface EventChatLocationState { isInTerreiro: boolean; knownLocation?: string; street?: string; number?: string; complement?: string; neighborhood?: string; city?: string; state?: string; zipCode?: string; reference?: string; } interface EventChatActivitySelection { id: string; startTime?: string; endTime?: string; required?: boolean; } interface EventChatActivityOption { id: string; title: string; description?: string; startTime?: string; endTime?: string; status?: string; } interface EventChatSummary { name?: string; type?: string; typeCustomLabel?: string; description?: string; isTemplate?: boolean; date?: string; isAllDay?: boolean; startTime?: string; endTime?: string; qrCheckinEnabled?: boolean; checkinStartWindowMinutes?: number; checkinEndWindowMinutes?: number; isInTerreiro?: boolean; location?: EventChatLocationState; activities?: EventChatActivitySelection[]; activityLabels?: string[]; memberIds?: string[]; memberNames?: string[]; /** `null` when nobody is selected. Review cards omit the quorum row for `null` and for `memberIds: []`. */ minConfirmedMembers?: number | null; insumos?: Array<{ id: string; quantity: number; }>; insumoLabels?: string[]; } interface EventMergedMediumOption { id: string; name: string; profilePictureUrl?: string | null; rank?: string; role?: string; fromActivity?: boolean; } interface EventMergedInsumoOption { id: string | number; name: string; quantity?: number; unit: string; imageUrl?: string; availableQuantity: number; fromActivity?: boolean; activityQuantity?: number; activityTitles?: string[]; } /** * Confirm payload of `EventChatMembersPicker`. * Same rule as the activity/ritual picker: `minConfirmedMembers` is `null` when * `memberIds` is empty, and a positive integer when someone is selected. */ interface EventChatMembersConfirmPayload { memberIds: string[]; minConfirmedMembers: number | null; } interface EventStructuredSelectionPayload { field: "memberIds" | "insumos" | "activities" | "location" | "type"; memberIds?: string[]; /** * On `field: "memberIds"`, always send this key: `null` when `memberIds` is empty, * a positive integer when someone is selected. Omit the key on the other fields. * Do not send `1` to stand in for an empty selection. */ minConfirmedMembers?: number | null; insumos?: Array<{ id: string; quantity: number; }>; activities?: EventChatActivitySelection[]; requiredActivityIds?: string[]; location?: EventChatLocationState; type?: string; } interface FormChatMessage { id: string; role: FormChatRole; content: string; createdAt: string; } interface InventoryChatSummary { name?: string; category?: string; subcategory?: string; description?: string; quantity?: number; minimumQuantity?: number; /** `"skipped"` renders "Não informado"; `undefined` hides the row. */ estimatedUnitCost?: number | "skipped"; unit?: string; location?: string; /** Photo preview URL; `null` renders "Sem foto", `undefined` hides the row. */ imageUrl?: string | null; } interface SpiritualChatSummary { lineId?: string; lineName?: string; entryMode?: "line" | "entity"; entityId?: string; entityName?: string; developmentStage?: string; developmentStageLabel?: string; visibility?: string; visibilityLabel?: string; notes?: string; } interface FinancialChatSummary { transactionType: "income" | "outcome"; description?: string; /** Total of the transaction; for stock purchases, unitPrice × purchasedQuantity. */ amount?: number; unitPrice?: number; categoryName?: string; subcategoryName?: string; accountName?: string; paymentMethodLabel?: string; settlementStatusLabel?: string; dueDate?: string; installments?: number; inventoryItemName?: string; purchasedQuantity?: number; isSharedWithMembers?: boolean; shareReason?: string; observation?: string; correctionReason?: string; } interface BankAccountChatSummary { accountType?: "BANK" | "CASH"; bankName?: string; agency?: string; account?: string; pixKeyTypeLabel?: string; pixKey?: string; currentBalance?: number; } interface RitualBathChatSummary { bathTitle: string; bathCategoryName?: string; bathStatusLabel: string; bathDescription?: string; bathIntroduction?: string; bathSource?: string; bathImageUrl?: string; hasNewImage?: boolean; ingredientLabels: string[]; stepItems: Array<{ typeLabel: string; text: string; }>; scheduleLabel?: string; } interface MonthlyFeeChatSummary { monthlyFee?: number; monthlyFeeLabel?: string; dueDay?: number; paymentMethod?: string; receivingAccountName?: string; } interface OnboardingChatSummary { firstName?: string; lastName?: string; email?: string; phone?: string; birthDate?: string; terreiroName?: string; religionName?: string; guardianName?: string; guardianPhone?: string; guardianRelationship?: string; documentType?: string; document?: string; street?: string; number?: string; city?: string; state?: string; zipCode?: string; rankName?: string; roleName?: string; hasPassword?: boolean; bankName?: string; monthlyFee?: string; dueDay?: string; paymentMethod?: string; } interface FormChatApiError { code: string; message: string; } interface FormChatSendOptions { inputMode?: "text" | "voice"; /** Only sent when the active step enables `imageAttachment`. */ image?: File; } interface FormChatImageAttachmentConfig { enabled: boolean; /** Defaults to 10 MB. */ maxSizeBytes?: number; /** MIME types; defaults to any `image/*`. */ acceptedTypes?: string[]; allowImageOnly?: boolean; } interface FormChatListOption { id: string; label: string; disabled?: boolean; /** `null` renders an initial-letter avatar; `undefined` renders no avatar. */ imageUrl?: string | null; } interface TicketingClaimChatSummary { batchName?: string; holderName?: string; holderEmail?: string; holderPhone?: string; holderDocument?: string; priorityCategoryLabel?: string; companionCount?: number; consentAccepted?: boolean; } interface EventPublicationChatSummary { eventName?: string; publicTitle?: string; publishedLabel?: string; maxTicketsPerEmail?: number; generalBatchName?: string; generalBatchQuantityTotal?: number; priorityBatchLabels?: string[]; } interface TicketingFormChatPanelProps { messages: FormChatMessage[]; quickReplies?: string[]; currentStep?: FormChatStep; isLoading?: boolean; error?: FormChatApiError | null; activeField?: string; fieldInput?: FormChatFieldInput; fieldOptions?: FormChatListOption[]; selectedOption?: FormChatListOption; confirmLabel?: string; onSendMessage: (message: string, options?: FormChatSendOptions) => void; onSelectOption?: (selection: FormChatSelectionPayload) => void; onConfirm?: () => void; onEdit?: () => void; onReset?: () => void; onClose?: () => void; } type FormChatFieldInputType = "text" | "password" | "date" | "time" | "quick_replies" | "list_select" | "image" | "number"; interface FormChatFieldInput { type: FormChatFieldInputType; field: string; searchable?: boolean; openListLabel?: string; changeLabel?: string; allowFreeText?: boolean; topSuggestions?: string[]; /** Keyboard and allowed characters for `number` inputs; defaults to `decimal`. */ /** `currency` masks the input as BRL ("R$ 1.234,56"). */ numberFormat?: "integer" | "decimal" | "currency"; /** Opt-in for `currency`: lets the user enter negative amounts ("R$ -1.234,56"). */ allowNegative?: boolean; /** `text` only: applies a Brazilian input mask and keyboard to the composer. */ textFormat?: FormChatTextFormat; /** `password` only: browser autofill hint ("current-password" | "new-password"). */ autoComplete?: string; } interface FormChatKeyValueSummaryRow { key: string; label: string; value: string; } interface FormChatKeyValueSummary { title: string; rows: FormChatKeyValueSummaryRow[]; imageUrl?: string; } interface FormChatSelectionPayload { field: string; optionId: string; optionLabel: string; } type FormChatDisplayMode = "fab" | "embedded" | "fullscreen"; type FormChatFabAnchor = "default" | "corner"; type FormChatFabIcon = "logo" | "add"; type FormChatEditInteraction = "select-field" | "await-value" | null; interface FormChatEditableFieldAvatar { src?: string | null; alt: string; } interface FormChatEditableFieldOption { key: string; label: string; currentValue?: string; avatars?: FormChatEditableFieldAvatar[]; } interface FormChatAssistantProps { isEnabled?: boolean; displayMode?: FormChatDisplayMode; /** `corner` aligns with list-page add FABs (e.g. activities). */ fabAnchor?: FormChatFabAnchor; /** `add` shows a plus on activity and event lists. Other pages keep the logo. */ fabIcon?: FormChatFabIcon; /** Accessible name for the floating button. */ fabAriaLabel?: string; title?: string; subtitle?: string; messages: FormChatMessage[]; quickReplies?: string[]; summary?: InventoryChatSummary; summaryCard?: React__default.ReactNode; fieldPanel?: React__default.ReactNode; /** Hides generic list-select bar/drawer (activity chat uses custom pickers). */ hideListSelectBar?: boolean; currentStep?: FormChatStep; /** Label for `currentStep`, shown in the header ahead of `subtitle`. */ stepLabels?: Partial>; /** @deprecated Step progress is no longer rendered; will be removed in the next major. */ stepOrder?: FormChatStep[]; isLoading?: boolean; error?: FormChatApiError | null; confirmLabel?: string; /** Enables the composer image actions for steps that accept images. */ imageAttachment?: FormChatImageAttachmentConfig; editLabel?: string; descriptionAutoGenerated?: boolean; subcategoryAutoGenerated?: boolean; defaultOpen?: boolean; voiceEnabled?: boolean; /** Solid white (light) / paper (dark) panel without brand glass gradient. */ plainSurface?: boolean; hideCloseButton?: boolean; activeField?: string; fieldInput?: FormChatFieldInput; fieldOptions?: FormChatListOption[]; selectedOption?: FormChatListOption; /** @deprecated Messages no longer render avatars; will be removed in the next major. */ userAvatarUrl?: string; onTranscribeAudio?: (audio: Blob) => Promise; onSendMessage: (message: string, options?: FormChatSendOptions) => void; onSelectOption?: (selection: FormChatSelectionPayload) => void; onConfirm?: () => void; onEdit?: () => void; onReset?: () => void; onClose?: () => void; closeLabel?: string; onRetry?: () => void; editInteraction?: FormChatEditInteraction; editingFieldLabel?: string; editableFieldOptions?: FormChatEditableFieldOption[]; onCancelEdit?: () => void; onEditField?: (fieldKey: string) => void; /** Imperative open/close for parent flows (e.g. close after successful submit). */ controlRef?: React__default.MutableRefObject; /** Keeps the chat mounted without the floating button. */ hideFab?: boolean; } interface FormChatAssistantControl { close: () => void; open: () => void; } declare const FormChatAssistant: React__default.FC; declare const useFormChatAssistant: ({ error, onSendMessage, defaultOpen, activeField, }: Pick) => { data: { isOpen: boolean; draftMessage: string; errorMessage: string | null; }; fns: { setIsOpen: React$1.Dispatch>; setDraftMessage: React$1.Dispatch>; submitDraft: (options?: FormChatSendOptions) => void; }; }; interface OnboardingFormChatPanelProps { entityType: "terreiro_onboarding" | "medium_onboarding"; title?: string; subtitle?: string; messages: FormChatMessage[]; quickReplies?: string[]; summary?: OnboardingChatSummary; currentStep?: FormChatStep; stepLabels?: Partial>; stepOrder?: FormChatStep[]; isLoading?: boolean; error?: FormChatApiError | null; confirmLabel?: string; voiceEnabled?: boolean; activeField?: string; fieldInput?: FormChatFieldInput; fieldOptions?: FormChatListOption[]; selectedOption?: FormChatListOption; userAvatarUrl?: string; editInteraction?: FormChatEditInteraction; editingFieldLabel?: string; editableFieldOptions?: FormChatEditableFieldOption[]; onTranscribeAudio?: (audio: Blob) => Promise; onSendMessage: (message: string, options?: FormChatSendOptions) => void; onSelectOption?: (selection: FormChatSelectionPayload) => void; onConfirm?: () => void; onEdit?: () => void; onCancelEdit?: () => void; onEditField?: (fieldKey: string) => void; onReset?: () => void; onClose?: () => void; } declare const OnboardingFormChatPanel: React__default.FC; interface OnboardingFormChatSummaryCardProps { summary: OnboardingChatSummary; entityType: "terreiro_onboarding" | "medium_onboarding"; confirmLabel?: string; editLabel?: string; isLoading?: boolean; isEditing?: boolean; onConfirm?: () => void; onEdit?: () => void; onEditField?: (fieldKey: string) => void; } declare const OnboardingFormChatSummaryCard: React__default.FC; interface ActivityFormChatSummaryCardProps { summary: ActivityChatSummary; confirmLabel?: string; editLabel?: string; isLoading?: boolean; descriptionAutoGenerated?: boolean; onConfirm?: () => void; onEdit?: () => void; } declare const ActivityFormChatSummaryCard: React__default.FC; interface EventFormChatSummaryCardProps { summary: EventChatSummary; confirmLabel?: string; editLabel?: string; isLoading?: boolean; descriptionAutoGenerated?: boolean; onConfirm?: () => void; onEdit?: () => void; } declare const EventFormChatSummaryCard: React__default.FC; interface SpiritualFormChatSummaryCardProps { summary: SpiritualChatSummary; confirmLabel?: string; editLabel?: string; isLoading?: boolean; onConfirm?: () => void; onEdit?: () => void; } declare const SpiritualFormChatSummaryCard: React__default.FC; interface FinancialFormChatSummaryCardProps { summary: FinancialChatSummary; confirmLabel?: string; editLabel?: string; isLoading?: boolean; onConfirm?: () => void; onEdit?: () => void; } declare const FinancialFormChatSummaryCard: React__default.FC; interface MonthlyFeeFormChatSummaryCardProps { summary: MonthlyFeeChatSummary; confirmLabel?: string; editLabel?: string; isLoading?: boolean; onConfirm?: () => void; onEdit?: () => void; } declare const MonthlyFeeFormChatSummaryCard: React__default.FC; interface BankAccountFormChatSummaryCardProps { summary: BankAccountChatSummary; confirmLabel?: string; editLabel?: string; isLoading?: boolean; onConfirm?: () => void; onEdit?: () => void; } declare const BankAccountFormChatSummaryCard: React__default.FC; interface RitualBathFormChatSummaryCardProps { summary: RitualBathChatSummary; confirmLabel?: string; editLabel?: string; isLoading?: boolean; onConfirm?: () => void; onEdit?: () => void; } declare const RitualBathFormChatSummaryCard: React__default.FC; interface FormChatKeyValueSummaryCardProps { summary: FormChatKeyValueSummary; confirmLabel?: string; editLabel?: string; isLoading?: boolean; onConfirm?: () => void; onEdit?: () => void; } declare const FormChatKeyValueSummaryCard: React__default.FC; interface TicketingClaimFormChatSummaryCardProps { summary: TicketingClaimChatSummary; confirmLabel?: string; editLabel?: string; isLoading?: boolean; onConfirm?: () => void; onEdit?: () => void; } declare const TicketingClaimFormChatSummaryCard: React__default.FC; interface EventPublicationFormChatSummaryCardProps { summary: EventPublicationChatSummary; confirmLabel?: string; editLabel?: string; isLoading?: boolean; onConfirm?: () => void; onEdit?: () => void; } declare const EventPublicationFormChatSummaryCard: React__default.FC; interface ActivityChatMembersPickerProps { members: ActivityChatMemberOption[]; selectedIds: string[]; selectedMinConfirmedMembers?: number; isLoading?: boolean; onConfirm: (payload: ActivityChatMembersConfirmPayload) => void; openListLabel?: string; changeLabel?: string; /** @deprecated The picker renders inline; kept for callers. */ zIndex?: number; /** Expands the inline list immediately — useful for Storybook and tests. */ defaultOpen?: boolean; } declare const ActivityChatMembersPicker: React__default.FC; interface ActivityChatInsumosPickerProps { insumos: ActivityChatInsumoOption[]; selected: Array<{ id: string; quantity: number; }>; isLoading?: boolean; onConfirm: (insumos: Array<{ id: string; quantity: number; }>) => void; openListLabel?: string; changeLabel?: string; /** @deprecated The picker renders inline; kept for callers. */ zIndex?: number; defaultOpen?: boolean; } declare const ActivityChatInsumosPicker: React__default.FC; interface EventChatMembersPickerProps { members: EventMergedMediumOption[]; selectedIds: string[]; lockedIds?: string[]; selectedMinConfirmedMembers?: number; isLoading?: boolean; onConfirm: (payload: EventChatMembersConfirmPayload) => void; openListLabel?: string; changeLabel?: string; /** @deprecated The picker renders inline; kept for callers. */ zIndex?: number; defaultOpen?: boolean; } declare const EventChatMembersPicker: React__default.FC; interface EventChatInsumosPickerProps { insumos: EventMergedInsumoOption[]; selected: Array<{ id: string; quantity: number; }>; lockedIds?: string[]; isLoading?: boolean; onConfirm: (insumos: Array<{ id: string; quantity: number; }>) => void; onSkip?: () => void; openListLabel?: string; changeLabel?: string; /** @deprecated The picker renders inline; kept for callers. */ zIndex?: number; defaultOpen?: boolean; } declare const EventChatInsumosPicker: React__default.FC; interface EventChatActivitiesPickerProps { activities: EventChatActivityOption[]; selected: EventChatActivitySelection[]; isAllDay?: boolean; isTemplate?: boolean; isLoading?: boolean; onConfirm: (payload: { activities: EventChatActivitySelection[]; requiredActivityIds: string[]; }) => void; onSkip?: () => void; /** @deprecated The picker renders inline; no overlay stacking is needed. */ zIndex?: number; defaultOpen?: boolean; } declare const EventChatActivitiesPicker: React__default.FC; interface CepAddress { street: string; neighborhood: string; city: string; state: string; complement?: string; } type CepLookup = (cep: string) => Promise; /** Resolves a Brazilian CEP through ViaCEP; returns `null` when the CEP does not exist. */ declare const lookupCepViaCep: CepLookup; interface EventChatLocationPickerProps { value?: EventChatLocationState; isTerreiroAddressEmpty?: boolean; isLoading?: boolean; onConfirm: (location: EventChatLocationState) => void; /** Resolves a CEP into address fields; defaults to ViaCEP. */ onLookupCep?: CepLookup; /** @deprecated The picker renders inline; no overlay stacking is needed. */ zIndex?: number; defaultOpen?: boolean; } declare const EventChatLocationPicker: React__default.FC; interface EventChatTypeOption { value: string; label: string; } interface EventChatTypePickerProps { options: EventChatTypeOption[]; selectedId?: string; isLoading?: boolean; onConfirm: (typeId: string, typeLabel: string) => void; openListLabel?: string; changeLabel?: string; /** Unused since the options render inline; kept for callers. */ zIndex?: number; defaultOpen?: boolean; } declare const EventChatTypePicker: React__default.FC; interface FormChatListSelectProps { open: boolean; title?: string; options: FormChatListOption[]; selectedId?: string; searchPlaceholder?: string; /** Must sit above fullscreen chat shells that use theme.zIndex.modal. */ zIndex?: number; onSelect: (option: FormChatListOption) => void; onClose: () => void; } /** @deprecated Use `FormChatInlineListSelect`; FormChat steps no longer open drawers. */ declare const FormChatListSelect: React__default.FC; interface FormChatPickerDrawerProps { open: boolean; title: string; searchPlaceholder?: string; searchQuery: string; onSearchChange: (query: string) => void; onClose: () => void; /** Must sit above fullscreen chat shells that use theme.zIndex.modal. */ zIndex?: number; footer?: React__default.ReactNode; subtitle?: string; children: React__default.ReactNode; } /** @deprecated FormChat steps render inline; use the controls in `FormChatInlineControls`. */ declare const FormChatPickerDrawer: React__default.FC; interface FormChatInlineSingleSelectProps { options: FormChatListOption[]; selectedId?: string; ariaLabel: string; searchable?: boolean; searchPlaceholder?: string; disabled?: boolean; autoFocus?: boolean; onSelect: (option: FormChatListOption) => void; } interface FormChatInlineListSelectProps extends Omit { openListLabel: string; changeLabel?: string; listLabel?: string; defaultExpanded?: boolean; testId?: string; } /** "Ver ..." pill that reveals a message-attached single-select group. */ declare const FormChatInlineListSelect: React__default.FC; interface FormChatMultiSelectOption { id: string; label: string; description?: string; /** `null` renders an initial-letter avatar; `undefined` renders no avatar. */ imageUrl?: string | null; disabled?: boolean; /** Always selected; the row cannot be unchecked. */ locked?: boolean; lockedReason?: string; /** Lowest quantity the stepper allows for this row (defaults to 1). */ minQuantity?: number; /** Increment used by − / +. Fractions (e.g. 0.1 liter) enable decimal typing. */ quantityStep?: number; /** Extra text matched by search (e.g. e-mail), in addition to the label. */ searchText?: string; /** Small outlined tags under the label (e.g. rank, role). */ badges?: string[]; } interface FormChatMultiSelectItem { id: string; quantity: number; } interface FormChatMultiSelectQuantityConfig { getWarning?: (option: FormChatMultiSelectOption, quantity: number) => string | undefined; } interface FormChatInlineMultiSelectProps { options: FormChatMultiSelectOption[]; value: FormChatMultiSelectItem[]; ariaLabel: string; /** Shows a quantity stepper on checked rows. */ quantity?: FormChatMultiSelectQuantityConfig; searchable?: boolean; searchPlaceholder?: string; confirmLabel?: (count: number) => string; skipLabel?: string; onSkip?: () => void; /** Disables confirm while nothing is selected (implied when `onSkip` is set). */ requireSelection?: boolean; /** Custom content under a checked row; replaces the quantity stepper. */ renderRowExtra?: (option: FormChatMultiSelectOption, state: { disabled: boolean; }) => React__default.ReactNode; /** Content above the confirm action, derived from the current draft selection. */ renderFooter?: (selectedIds: string[]) => React__default.ReactNode; onSelectionChange?: (selectedIds: string[]) => void; disabled?: boolean; autoFocus?: boolean; onConfirm: (items: FormChatMultiSelectItem[]) => void; } interface FormChatNumberStepperProps { /** Visible caption to the left of the stepper. */ label: string; /** Accessible name of the number input. */ ariaLabel: string; decrementLabel?: string; incrementLabel?: string; /** Draft text; may be empty while the user is typing. */ value: string; min?: number; max?: number; step?: number; decimal?: boolean; helperText?: string; warning?: string; disabled?: boolean; onChange: (draft: string) => void; } /** Compact − / value / + control used for quantities and quorum inside chat cards. */ declare const FormChatNumberStepper: React__default.FC; interface FormChatInlineMultiListSelectProps extends Omit { openListLabel: string; changeLabel?: string; listLabel?: string; summaryLabel: (count: number) => string; defaultExpanded?: boolean; testId?: string; } /** "Ver ..." pill that reveals a message-attached multi-select group with a confirm action. */ declare const FormChatInlineMultiListSelect: React__default.FC; interface FormChatChoiceOption { value: string; label: string; } interface FormChatChoicePickerProps { title: string; description?: string; options: FormChatChoiceOption[]; /** Highlighted as the current value. */ selectedValue?: string; isLoading?: boolean; onSelect: (option: FormChatChoiceOption) => void; } /** Inline card with one-tap choices, e.g. turning check-in on or off. */ declare const FormChatChoicePicker: React__default.FC; interface FormChatNumberPickerProps { /** Card title, e.g. "Quórum mínimo". */ title: string; /** Stepper caption and accessible name of the number input. */ label: string; value?: number; min?: number; max?: number; helperText?: string; confirmLabel?: string; /** Optional text action under confirm, e.g. "Pular". */ secondaryActionLabel?: string; isLoading?: boolean; onConfirm: (value: number) => void; onSecondaryAction?: () => void; } /** Inline integer step: − / value / + with a numeric keyboard and a confirm action. */ declare const FormChatNumberPicker: React__default.FC; interface FormChatSelectionBarProps { fieldInput?: FormChatFieldInput; options?: FormChatListOption[]; selectedOption?: FormChatListOption; disabled?: boolean; onSelect: (option: FormChatListOption) => void; } /** Inline `list_select` control rendered beneath the assistant question. */ declare const FormChatSelectionBar: React__default.FC; /** Scopes the monochrome chat palette to its children without touching the app theme. */ declare const FormChatThemeScope: React__default.FC<{ children: React__default.ReactNode; }>; declare const STEP_ORDER: FormChatStep[]; declare const ACTIVITY_STEP_ORDER: FormChatStep[]; declare const EVENT_STEP_ORDER: FormChatStep[]; declare const MediumSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; email: z.ZodString; phone: z.ZodString; profilePictureUrl: z.ZodOptional; isSelected: z.ZodDefault; }, "strip", z.ZodTypeAny, { id: string; name: string; email: string; phone: string; isSelected: boolean; profilePictureUrl?: string | undefined; }, { id: string; name: string; email: string; phone: string; profilePictureUrl?: string | undefined; isSelected?: boolean | undefined; }>; type Medium = z.infer; declare const InventoryItemSchema$2: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional; quantity: z.ZodNumber; unit: z.ZodString; imageUrl: z.ZodOptional; availableQuantity: z.ZodNumber; isSelected: z.ZodDefault; fromActivity: z.ZodDefault; }, "strip", z.ZodTypeAny, { id: string; name: string; unit: string; quantity: number; isSelected: boolean; availableQuantity: number; fromActivity: boolean; description?: string | undefined; imageUrl?: string | undefined; }, { id: string; name: string; unit: string; quantity: number; availableQuantity: number; description?: string | undefined; imageUrl?: string | undefined; isSelected?: boolean | undefined; fromActivity?: boolean | undefined; }>; type InventoryItem$2 = z.infer; declare const ActivityStatusEnum: z.ZodEnum<["PENDING", "CONFIRMED", "IN_PROGRESS", "FINALIZED", "REALIZED", "NOT_REALIZED", "CANCELLED", "MODEL"]>; type ActivityStatusEnum = z.infer; declare const ActivityTypeEnum: z.ZodEnum<["ACTIVITY", "RITUAL"]>; type ActivityType = z.infer; declare const ActivitySchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; isTemplate: z.ZodBoolean; type: z.ZodOptional>; qrCheckinEnabled: z.ZodOptional; qrReleaseOffsetMinutes: z.ZodOptional>; qrCheckinGraceMinutes: z.ZodOptional>; checkinStartWindowMinutes: z.ZodOptional>; checkinEndWindowMinutes: z.ZodOptional>; status: z.ZodDefault>; occurrences: z.ZodArray, "many">; members: z.ZodObject<{ count: z.ZodNumber; list: z.ZodArray; }, "strip", z.ZodTypeAny, { firstName: string; lastName: string; avatarUrl: string | null; }, { firstName: string; lastName: string; avatarUrl: string | null; }>, "many">; }, "strip", z.ZodTypeAny, { list: { firstName: string; lastName: string; avatarUrl: string | null; }[]; count: number; }, { list: { firstName: string; lastName: string; avatarUrl: string | null; }[]; count: number; }>; insumos: z.ZodOptional; quantity: z.ZodNumber; unit: z.ZodString; imageUrl: z.ZodOptional; availableQuantity: z.ZodNumber; isSelected: z.ZodDefault; fromActivity: z.ZodDefault; }, "strip", z.ZodTypeAny, { id: string; name: string; unit: string; quantity: number; isSelected: boolean; availableQuantity: number; fromActivity: boolean; description?: string | undefined; imageUrl?: string | undefined; }, { id: string; name: string; unit: string; quantity: number; availableQuantity: number; description?: string | undefined; imageUrl?: string | undefined; isSelected?: boolean | undefined; fromActivity?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { list: { id: string; name: string; unit: string; quantity: number; isSelected: boolean; availableQuantity: number; fromActivity: boolean; description?: string | undefined; imageUrl?: string | undefined; }[]; count: number; }, { list: { id: string; name: string; unit: string; quantity: number; availableQuantity: number; description?: string | undefined; imageUrl?: string | undefined; isSelected?: boolean | undefined; fromActivity?: boolean | undefined; }[]; count: number; }>>; }, "strip", z.ZodTypeAny, { title: string; id: string; status: "PENDING" | "CONFIRMED" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL"; description: string; members: { list: { firstName: string; lastName: string; avatarUrl: string | null; }[]; count: number; }; isTemplate: boolean; occurrences: { id: string; date: string; startTime: string; endTime: string; activityId: string; }[]; type?: "ACTIVITY" | "RITUAL" | undefined; insumos?: { list: { id: string; name: string; unit: string; quantity: number; isSelected: boolean; availableQuantity: number; fromActivity: boolean; description?: string | undefined; imageUrl?: string | undefined; }[]; count: number; } | undefined; qrCheckinEnabled?: boolean | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: number | null | undefined; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; }, { title: string; id: string; description: string; members: { list: { firstName: string; lastName: string; avatarUrl: string | null; }[]; count: number; }; isTemplate: boolean; occurrences: { id: string; date: string; startTime: string; endTime: string; activityId: string; }[]; type?: "ACTIVITY" | "RITUAL" | undefined; status?: "PENDING" | "CONFIRMED" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | undefined; insumos?: { list: { id: string; name: string; unit: string; quantity: number; availableQuantity: number; description?: string | undefined; imageUrl?: string | undefined; isSelected?: boolean | undefined; fromActivity?: boolean | undefined; }[]; count: number; } | undefined; qrCheckinEnabled?: boolean | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: number | null | undefined; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; }>; type Activity = z.infer; type ActivityStatus$1 = z.infer; declare const ActivityListPagePropsSchema: z.ZodObject<{ activityType: z.ZodOptional>; hideAddFab: z.ZodDefault; isAdmin: z.ZodDefault; canCreate: z.ZodDefault; isPersonalProfile: z.ZodDefault; canViewTemplates: z.ZodDefault; periodInputValue: z.ZodOptional; onPeriodInputChange: z.ZodOptional, z.ZodVoid>>; canExportParticipationReport: z.ZodDefault; isExportingParticipationReport: z.ZodDefault; onExportParticipationReport: z.ZodOptional, z.ZodVoid>>; onClose: z.ZodOptional, z.ZodVoid>>; onActivitySelect: z.ZodOptional, z.ZodVoid>>; onActivityEdit: z.ZodOptional, z.ZodVoid>>; onActivityAdd: z.ZodOptional, z.ZodVoid>>; onTabChange: z.ZodOptional], null>, z.ZodVoid>>; preferredStatus: z.ZodOptional>; shouldRebalance: z.ZodDefault; hasTemporallyRelevantConfirmed: z.ZodDefault; isTemporalContextReady: z.ZodDefault; initialActivities: z.ZodOptional>; qrCheckinEnabled: z.ZodOptional; qrReleaseOffsetMinutes: z.ZodOptional>; qrCheckinGraceMinutes: z.ZodOptional>; checkinStartWindowMinutes: z.ZodOptional>; checkinEndWindowMinutes: z.ZodOptional>; status: z.ZodDefault>; occurrences: z.ZodArray, "many">; members: z.ZodObject<{ count: z.ZodNumber; list: z.ZodArray; }, "strip", z.ZodTypeAny, { firstName: string; lastName: string; avatarUrl: string | null; }, { firstName: string; lastName: string; avatarUrl: string | null; }>, "many">; }, "strip", z.ZodTypeAny, { list: { firstName: string; lastName: string; avatarUrl: string | null; }[]; count: number; }, { list: { firstName: string; lastName: string; avatarUrl: string | null; }[]; count: number; }>; insumos: z.ZodOptional; quantity: z.ZodNumber; unit: z.ZodString; imageUrl: z.ZodOptional; availableQuantity: z.ZodNumber; isSelected: z.ZodDefault; fromActivity: z.ZodDefault; }, "strip", z.ZodTypeAny, { id: string; name: string; unit: string; quantity: number; isSelected: boolean; availableQuantity: number; fromActivity: boolean; description?: string | undefined; imageUrl?: string | undefined; }, { id: string; name: string; unit: string; quantity: number; availableQuantity: number; description?: string | undefined; imageUrl?: string | undefined; isSelected?: boolean | undefined; fromActivity?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { list: { id: string; name: string; unit: string; quantity: number; isSelected: boolean; availableQuantity: number; fromActivity: boolean; description?: string | undefined; imageUrl?: string | undefined; }[]; count: number; }, { list: { id: string; name: string; unit: string; quantity: number; availableQuantity: number; description?: string | undefined; imageUrl?: string | undefined; isSelected?: boolean | undefined; fromActivity?: boolean | undefined; }[]; count: number; }>>; }, "strip", z.ZodTypeAny, { title: string; id: string; status: "PENDING" | "CONFIRMED" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL"; description: string; members: { list: { firstName: string; lastName: string; avatarUrl: string | null; }[]; count: number; }; isTemplate: boolean; occurrences: { id: string; date: string; startTime: string; endTime: string; activityId: string; }[]; type?: "ACTIVITY" | "RITUAL" | undefined; insumos?: { list: { id: string; name: string; unit: string; quantity: number; isSelected: boolean; availableQuantity: number; fromActivity: boolean; description?: string | undefined; imageUrl?: string | undefined; }[]; count: number; } | undefined; qrCheckinEnabled?: boolean | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: number | null | undefined; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; }, { title: string; id: string; description: string; members: { list: { firstName: string; lastName: string; avatarUrl: string | null; }[]; count: number; }; isTemplate: boolean; occurrences: { id: string; date: string; startTime: string; endTime: string; activityId: string; }[]; type?: "ACTIVITY" | "RITUAL" | undefined; status?: "PENDING" | "CONFIRMED" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | undefined; insumos?: { list: { id: string; name: string; unit: string; quantity: number; availableQuantity: number; description?: string | undefined; imageUrl?: string | undefined; isSelected?: boolean | undefined; fromActivity?: boolean | undefined; }[]; count: number; } | undefined; qrCheckinEnabled?: boolean | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: number | null | undefined; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; }>, "many">>; statusCounts: z.ZodOptional, z.ZodNumber>>; }, "strip", z.ZodTypeAny, { isAdmin: boolean; isPersonalProfile: boolean; hideAddFab: boolean; canCreate: boolean; canViewTemplates: boolean; canExportParticipationReport: boolean; isExportingParticipationReport: boolean; shouldRebalance: boolean; hasTemporallyRelevantConfirmed: boolean; isTemporalContextReady: boolean; onClose?: (() => void) | undefined; periodInputValue?: string | undefined; onPeriodInputChange?: ((args_0: string) => void) | undefined; onTabChange?: ((args_0: "PENDING" | "CONFIRMED" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL") => void) | undefined; activityType?: "ACTIVITY" | "RITUAL" | undefined; onExportParticipationReport?: (() => void) | undefined; onActivitySelect?: ((args_0: string) => void) | undefined; onActivityEdit?: ((args_0: string) => void) | undefined; onActivityAdd?: (() => void) | undefined; preferredStatus?: "PENDING" | "CONFIRMED" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | undefined; initialActivities?: { title: string; id: string; status: "PENDING" | "CONFIRMED" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL"; description: string; members: { list: { firstName: string; lastName: string; avatarUrl: string | null; }[]; count: number; }; isTemplate: boolean; occurrences: { id: string; date: string; startTime: string; endTime: string; activityId: string; }[]; type?: "ACTIVITY" | "RITUAL" | undefined; insumos?: { list: { id: string; name: string; unit: string; quantity: number; isSelected: boolean; availableQuantity: number; fromActivity: boolean; description?: string | undefined; imageUrl?: string | undefined; }[]; count: number; } | undefined; qrCheckinEnabled?: boolean | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: number | null | undefined; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; }[] | undefined; statusCounts?: Partial> | undefined; }, { onClose?: (() => void) | undefined; isAdmin?: boolean | undefined; isPersonalProfile?: boolean | undefined; periodInputValue?: string | undefined; onPeriodInputChange?: ((args_0: string) => void) | undefined; onTabChange?: ((args_0: "PENDING" | "CONFIRMED" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL") => void) | undefined; activityType?: "ACTIVITY" | "RITUAL" | undefined; hideAddFab?: boolean | undefined; canCreate?: boolean | undefined; canViewTemplates?: boolean | undefined; canExportParticipationReport?: boolean | undefined; isExportingParticipationReport?: boolean | undefined; onExportParticipationReport?: (() => void) | undefined; onActivitySelect?: ((args_0: string) => void) | undefined; onActivityEdit?: ((args_0: string) => void) | undefined; onActivityAdd?: (() => void) | undefined; preferredStatus?: "PENDING" | "CONFIRMED" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | undefined; shouldRebalance?: boolean | undefined; hasTemporallyRelevantConfirmed?: boolean | undefined; isTemporalContextReady?: boolean | undefined; initialActivities?: { title: string; id: string; description: string; members: { list: { firstName: string; lastName: string; avatarUrl: string | null; }[]; count: number; }; isTemplate: boolean; occurrences: { id: string; date: string; startTime: string; endTime: string; activityId: string; }[]; type?: "ACTIVITY" | "RITUAL" | undefined; status?: "PENDING" | "CONFIRMED" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | undefined; insumos?: { list: { id: string; name: string; unit: string; quantity: number; availableQuantity: number; description?: string | undefined; imageUrl?: string | undefined; isSelected?: boolean | undefined; fromActivity?: boolean | undefined; }[]; count: number; } | undefined; qrCheckinEnabled?: boolean | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: number | null | undefined; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; }[] | undefined; statusCounts?: Partial> | undefined; }>; type ActivityListPageProps = z.infer; declare const EventBasicInfoSchema: z.ZodObject<{ name: z.ZodString; description: z.ZodOptional; type: z.ZodEffects, "GIRA_ABERTA" | "GIRA_FECHADA" | "OFERENDAS" | "MANUTENCAO" | "REFORMA" | "CONFRATERNIZACAO" | "FESTA" | "ACAO_SOLIDARIA" | "GIRA_ATENDIMENTO" | "GIRA_DESENVOLVIMENTO" | "ORACULO" | "ATENDIMENTO_PARTICULAR" | "REUNIAO_ADMINISTRATIVA" | "OTHER", unknown>; typeCustomLabel: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "GIRA_ABERTA" | "GIRA_FECHADA" | "OFERENDAS" | "MANUTENCAO" | "REFORMA" | "CONFRATERNIZACAO" | "FESTA" | "ACAO_SOLIDARIA" | "GIRA_ATENDIMENTO" | "GIRA_DESENVOLVIMENTO" | "ORACULO" | "ATENDIMENTO_PARTICULAR" | "REUNIAO_ADMINISTRATIVA" | "OTHER"; name: string; description?: string | undefined; typeCustomLabel?: string | undefined; }, { name: string; type?: unknown; description?: string | undefined; typeCustomLabel?: string | undefined; }>; declare const EventDateTimeSchema: z.ZodEffects>; isAllDay: z.ZodDefault; startTime: z.ZodOptional>; endTime: z.ZodOptional>; isTemplate: z.ZodDefault; }, "strip", z.ZodTypeAny, { isAllDay: boolean; isTemplate: boolean; date?: Date | null | undefined; startTime?: string | null | undefined; endTime?: string | null | undefined; }, { date?: Date | null | undefined; startTime?: string | null | undefined; endTime?: string | null | undefined; isAllDay?: boolean | undefined; isTemplate?: boolean | undefined; }>, { isAllDay: boolean; isTemplate: boolean; date?: Date | null | undefined; startTime?: string | null | undefined; endTime?: string | null | undefined; }, { date?: Date | null | undefined; startTime?: string | null | undefined; endTime?: string | null | undefined; isAllDay?: boolean | undefined; isTemplate?: boolean | undefined; }>; declare const EventLocationSchema: z.ZodEffects; street: z.ZodOptional; number: z.ZodOptional; complement: z.ZodOptional; neighborhood: z.ZodOptional; city: z.ZodOptional; state: z.ZodOptional; reference: z.ZodOptional; }, "strip", z.ZodTypeAny, { isInTerreiro: boolean; number?: string | undefined; state?: string | undefined; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; reference?: string | undefined; knownLocation?: string | undefined; }, { isInTerreiro: boolean; number?: string | undefined; state?: string | undefined; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; reference?: string | undefined; knownLocation?: string | undefined; }>; }, "strip", z.ZodTypeAny, { location: { isInTerreiro: boolean; number?: string | undefined; state?: string | undefined; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; reference?: string | undefined; knownLocation?: string | undefined; }; }, { location: { isInTerreiro: boolean; number?: string | undefined; state?: string | undefined; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; reference?: string | undefined; knownLocation?: string | undefined; }; }>, { location: { isInTerreiro: boolean; number?: string | undefined; state?: string | undefined; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; reference?: string | undefined; knownLocation?: string | undefined; }; }, { location: { isInTerreiro: boolean; number?: string | undefined; state?: string | undefined; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; reference?: string | undefined; knownLocation?: string | undefined; }; }>; declare const EventCheckinWindowSchema: z.ZodObject<{ qrCheckinEnabled: z.ZodOptional; checkinStartWindowMinutes: z.ZodDefault; checkinEndWindowMinutes: z.ZodDefault; }, "strip", z.ZodTypeAny, { checkinStartWindowMinutes: number; checkinEndWindowMinutes: number; qrCheckinEnabled?: boolean | undefined; }, { qrCheckinEnabled?: boolean | undefined; checkinStartWindowMinutes?: number | undefined; checkinEndWindowMinutes?: number | undefined; }>; declare const EventParticipantsSchema: z.ZodObject<{ members: z.ZodArray; minConfirmedMembers: z.ZodOptional; }, "strip", z.ZodTypeAny, { members: any[]; minConfirmedMembers?: number | undefined; }, { members: any[]; minConfirmedMembers?: number | undefined; }>; declare const InsumosSelectionSchema$1: z.ZodObject<{ insumos: z.ZodOptional>; }, "strip", z.ZodTypeAny, { insumos?: any[] | undefined; }, { insumos?: any[] | undefined; }>; declare const EventFormValuesSchema: z.ZodEffects; name: z.ZodString; terreiroId: z.ZodString; description: z.ZodOptional; date: z.ZodDate; isAllDay: z.ZodDefault; startTime: z.ZodOptional; endTime: z.ZodOptional; location: z.ZodObject<{ zipCode: z.ZodOptional; isInTerreiro: z.ZodBoolean; knownLocation: z.ZodOptional; street: z.ZodOptional; number: z.ZodOptional; complement: z.ZodOptional; neighborhood: z.ZodOptional; city: z.ZodOptional; state: z.ZodOptional; reference: z.ZodOptional; }, "strip", z.ZodTypeAny, { isInTerreiro: boolean; number?: string | undefined; state?: string | undefined; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; zipCode?: string | undefined; reference?: string | undefined; knownLocation?: string | undefined; }, { isInTerreiro: boolean; number?: string | undefined; state?: string | undefined; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; zipCode?: string | undefined; reference?: string | undefined; knownLocation?: string | undefined; }>; isTemplate: z.ZodDefault; type: z.ZodEffects, "GIRA_ABERTA" | "GIRA_FECHADA" | "OFERENDAS" | "MANUTENCAO" | "REFORMA" | "CONFRATERNIZACAO" | "FESTA" | "ACAO_SOLIDARIA" | "GIRA_ATENDIMENTO" | "GIRA_DESENVOLVIMENTO" | "ORACULO" | "ATENDIMENTO_PARTICULAR" | "REUNIAO_ADMINISTRATIVA" | "OTHER", unknown>; typeCustomLabel: z.ZodOptional; members: z.ZodArray; minConfirmedMembers: z.ZodOptional; insumos: z.ZodOptional>; activities: z.ZodOptional; title: z.ZodString; minConfirmedMembers: z.ZodOptional; description: z.ZodOptional; iconUrl: z.ZodOptional; category: z.ZodOptional; durationMinutes: z.ZodOptional; startTime: z.ZodOptional; endTime: z.ZodOptional; qrCheckinEnabled: z.ZodOptional; checkinStartWindowMinutes: z.ZodOptional; checkinEndWindowMinutes: z.ZodOptional; qrReleaseOffsetMinutes: z.ZodOptional; qrCheckinGraceMinutes: z.ZodOptional; isTemplate: z.ZodOptional; status: z.ZodOptional; members: z.ZodOptional; lastName: z.ZodOptional; avatarUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; }, { id: string; firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { count: number; list?: { id: string; firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; }[] | undefined; }, { count: number; list?: { id: string; firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; }[] | undefined; }>>; insumos: z.ZodOptional; name: z.ZodOptional; quantity: z.ZodOptional; unit: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string | number; name?: string | undefined; unit?: string | undefined; quantity?: number | undefined; }, { id: string | number; name?: string | undefined; unit?: string | undefined; quantity?: number | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { count: number; list?: { id: string | number; name?: string | undefined; unit?: string | undefined; quantity?: number | undefined; }[] | undefined; }, { count: number; list?: { id: string | number; name?: string | undefined; unit?: string | undefined; quantity?: number | undefined; }[] | undefined; }>>; }, "strip", z.ZodTypeAny, { title: string; id: string | number; status?: string | undefined; description?: string | undefined; members?: { count: number; list?: { id: string; firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; }[] | undefined; } | undefined; category?: string | undefined; startTime?: string | undefined; endTime?: string | undefined; insumos?: { count: number; list?: { id: string | number; name?: string | undefined; unit?: string | undefined; quantity?: number | undefined; }[] | undefined; } | undefined; isTemplate?: boolean | undefined; qrCheckinEnabled?: boolean | undefined; checkinStartWindowMinutes?: number | undefined; checkinEndWindowMinutes?: number | undefined; qrReleaseOffsetMinutes?: number | undefined; qrCheckinGraceMinutes?: number | undefined; minConfirmedMembers?: number | undefined; iconUrl?: string | undefined; durationMinutes?: number | undefined; }, { title: string; id: string | number; status?: string | undefined; description?: string | undefined; members?: { count: number; list?: { id: string; firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; }[] | undefined; } | undefined; category?: string | undefined; startTime?: string | undefined; endTime?: string | undefined; insumos?: { count: number; list?: { id: string | number; name?: string | undefined; unit?: string | undefined; quantity?: number | undefined; }[] | undefined; } | undefined; isTemplate?: boolean | undefined; qrCheckinEnabled?: boolean | undefined; checkinStartWindowMinutes?: number | undefined; checkinEndWindowMinutes?: number | undefined; qrReleaseOffsetMinutes?: number | undefined; qrCheckinGraceMinutes?: number | undefined; minConfirmedMembers?: number | undefined; iconUrl?: string | undefined; durationMinutes?: number | undefined; }>, "many">>; requiredActivityIds: z.ZodOptional>; qrCheckinEnabled: z.ZodOptional; checkinStartWindowMinutes: z.ZodOptional>; checkinEndWindowMinutes: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "GIRA_ABERTA" | "GIRA_FECHADA" | "OFERENDAS" | "MANUTENCAO" | "REFORMA" | "CONFRATERNIZACAO" | "FESTA" | "ACAO_SOLIDARIA" | "GIRA_ATENDIMENTO" | "GIRA_DESENVOLVIMENTO" | "ORACULO" | "ATENDIMENTO_PARTICULAR" | "REUNIAO_ADMINISTRATIVA" | "OTHER"; name: string; date: Date; location: { isInTerreiro: boolean; number?: string | undefined; state?: string | undefined; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; zipCode?: string | undefined; reference?: string | undefined; knownLocation?: string | undefined; }; members: any[]; isAllDay: boolean; terreiroId: string; isTemplate: boolean; id?: string | undefined; description?: string | undefined; activities?: { title: string; id: string | number; status?: string | undefined; description?: string | undefined; members?: { count: number; list?: { id: string; firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; }[] | undefined; } | undefined; category?: string | undefined; startTime?: string | undefined; endTime?: string | undefined; insumos?: { count: number; list?: { id: string | number; name?: string | undefined; unit?: string | undefined; quantity?: number | undefined; }[] | undefined; } | undefined; isTemplate?: boolean | undefined; qrCheckinEnabled?: boolean | undefined; checkinStartWindowMinutes?: number | undefined; checkinEndWindowMinutes?: number | undefined; qrReleaseOffsetMinutes?: number | undefined; qrCheckinGraceMinutes?: number | undefined; minConfirmedMembers?: number | undefined; iconUrl?: string | undefined; durationMinutes?: number | undefined; }[] | undefined; startTime?: string | undefined; endTime?: string | undefined; insumos?: any[] | undefined; qrCheckinEnabled?: boolean | undefined; checkinStartWindowMinutes?: number | undefined; checkinEndWindowMinutes?: number | undefined; typeCustomLabel?: string | undefined; minConfirmedMembers?: number | undefined; requiredActivityIds?: string[] | undefined; }, { name: string; date: Date; location: { isInTerreiro: boolean; number?: string | undefined; state?: string | undefined; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; zipCode?: string | undefined; reference?: string | undefined; knownLocation?: string | undefined; }; members: any[]; terreiroId: string; id?: string | undefined; type?: unknown; description?: string | undefined; activities?: { title: string; id: string | number; status?: string | undefined; description?: string | undefined; members?: { count: number; list?: { id: string; firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; }[] | undefined; } | undefined; category?: string | undefined; startTime?: string | undefined; endTime?: string | undefined; insumos?: { count: number; list?: { id: string | number; name?: string | undefined; unit?: string | undefined; quantity?: number | undefined; }[] | undefined; } | undefined; isTemplate?: boolean | undefined; qrCheckinEnabled?: boolean | undefined; checkinStartWindowMinutes?: number | undefined; checkinEndWindowMinutes?: number | undefined; qrReleaseOffsetMinutes?: number | undefined; qrCheckinGraceMinutes?: number | undefined; minConfirmedMembers?: number | undefined; iconUrl?: string | undefined; durationMinutes?: number | undefined; }[] | undefined; startTime?: string | undefined; endTime?: string | undefined; isAllDay?: boolean | undefined; insumos?: any[] | undefined; isTemplate?: boolean | undefined; qrCheckinEnabled?: boolean | undefined; checkinStartWindowMinutes?: number | undefined; checkinEndWindowMinutes?: number | undefined; typeCustomLabel?: string | undefined; minConfirmedMembers?: number | undefined; requiredActivityIds?: string[] | undefined; }>, { type: "GIRA_ABERTA" | "GIRA_FECHADA" | "OFERENDAS" | "MANUTENCAO" | "REFORMA" | "CONFRATERNIZACAO" | "FESTA" | "ACAO_SOLIDARIA" | "GIRA_ATENDIMENTO" | "GIRA_DESENVOLVIMENTO" | "ORACULO" | "ATENDIMENTO_PARTICULAR" | "REUNIAO_ADMINISTRATIVA" | "OTHER"; name: string; date: Date; location: { isInTerreiro: boolean; number?: string | undefined; state?: string | undefined; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; zipCode?: string | undefined; reference?: string | undefined; knownLocation?: string | undefined; }; members: any[]; isAllDay: boolean; terreiroId: string; isTemplate: boolean; id?: string | undefined; description?: string | undefined; activities?: { title: string; id: string | number; status?: string | undefined; description?: string | undefined; members?: { count: number; list?: { id: string; firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; }[] | undefined; } | undefined; category?: string | undefined; startTime?: string | undefined; endTime?: string | undefined; insumos?: { count: number; list?: { id: string | number; name?: string | undefined; unit?: string | undefined; quantity?: number | undefined; }[] | undefined; } | undefined; isTemplate?: boolean | undefined; qrCheckinEnabled?: boolean | undefined; checkinStartWindowMinutes?: number | undefined; checkinEndWindowMinutes?: number | undefined; qrReleaseOffsetMinutes?: number | undefined; qrCheckinGraceMinutes?: number | undefined; minConfirmedMembers?: number | undefined; iconUrl?: string | undefined; durationMinutes?: number | undefined; }[] | undefined; startTime?: string | undefined; endTime?: string | undefined; insumos?: any[] | undefined; qrCheckinEnabled?: boolean | undefined; checkinStartWindowMinutes?: number | undefined; checkinEndWindowMinutes?: number | undefined; typeCustomLabel?: string | undefined; minConfirmedMembers?: number | undefined; requiredActivityIds?: string[] | undefined; }, { name: string; date: Date; location: { isInTerreiro: boolean; number?: string | undefined; state?: string | undefined; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; zipCode?: string | undefined; reference?: string | undefined; knownLocation?: string | undefined; }; members: any[]; terreiroId: string; id?: string | undefined; type?: unknown; description?: string | undefined; activities?: { title: string; id: string | number; status?: string | undefined; description?: string | undefined; members?: { count: number; list?: { id: string; firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; }[] | undefined; } | undefined; category?: string | undefined; startTime?: string | undefined; endTime?: string | undefined; insumos?: { count: number; list?: { id: string | number; name?: string | undefined; unit?: string | undefined; quantity?: number | undefined; }[] | undefined; } | undefined; isTemplate?: boolean | undefined; qrCheckinEnabled?: boolean | undefined; checkinStartWindowMinutes?: number | undefined; checkinEndWindowMinutes?: number | undefined; qrReleaseOffsetMinutes?: number | undefined; qrCheckinGraceMinutes?: number | undefined; minConfirmedMembers?: number | undefined; iconUrl?: string | undefined; durationMinutes?: number | undefined; }[] | undefined; startTime?: string | undefined; endTime?: string | undefined; isAllDay?: boolean | undefined; insumos?: any[] | undefined; isTemplate?: boolean | undefined; qrCheckinEnabled?: boolean | undefined; checkinStartWindowMinutes?: number | undefined; checkinEndWindowMinutes?: number | undefined; typeCustomLabel?: string | undefined; minConfirmedMembers?: number | undefined; requiredActivityIds?: string[] | undefined; }>, { type: "GIRA_ABERTA" | "GIRA_FECHADA" | "OFERENDAS" | "MANUTENCAO" | "REFORMA" | "CONFRATERNIZACAO" | "FESTA" | "ACAO_SOLIDARIA" | "GIRA_ATENDIMENTO" | "GIRA_DESENVOLVIMENTO" | "ORACULO" | "ATENDIMENTO_PARTICULAR" | "REUNIAO_ADMINISTRATIVA" | "OTHER"; name: string; date: Date; location: { isInTerreiro: boolean; number?: string | undefined; state?: string | undefined; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; zipCode?: string | undefined; reference?: string | undefined; knownLocation?: string | undefined; }; members: any[]; isAllDay: boolean; terreiroId: string; isTemplate: boolean; id?: string | undefined; description?: string | undefined; activities?: { title: string; id: string | number; status?: string | undefined; description?: string | undefined; members?: { count: number; list?: { id: string; firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; }[] | undefined; } | undefined; category?: string | undefined; startTime?: string | undefined; endTime?: string | undefined; insumos?: { count: number; list?: { id: string | number; name?: string | undefined; unit?: string | undefined; quantity?: number | undefined; }[] | undefined; } | undefined; isTemplate?: boolean | undefined; qrCheckinEnabled?: boolean | undefined; checkinStartWindowMinutes?: number | undefined; checkinEndWindowMinutes?: number | undefined; qrReleaseOffsetMinutes?: number | undefined; qrCheckinGraceMinutes?: number | undefined; minConfirmedMembers?: number | undefined; iconUrl?: string | undefined; durationMinutes?: number | undefined; }[] | undefined; startTime?: string | undefined; endTime?: string | undefined; insumos?: any[] | undefined; qrCheckinEnabled?: boolean | undefined; checkinStartWindowMinutes?: number | undefined; checkinEndWindowMinutes?: number | undefined; typeCustomLabel?: string | undefined; minConfirmedMembers?: number | undefined; requiredActivityIds?: string[] | undefined; }, { name: string; date: Date; location: { isInTerreiro: boolean; number?: string | undefined; state?: string | undefined; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; zipCode?: string | undefined; reference?: string | undefined; knownLocation?: string | undefined; }; members: any[]; terreiroId: string; id?: string | undefined; type?: unknown; description?: string | undefined; activities?: { title: string; id: string | number; status?: string | undefined; description?: string | undefined; members?: { count: number; list?: { id: string; firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; }[] | undefined; } | undefined; category?: string | undefined; startTime?: string | undefined; endTime?: string | undefined; insumos?: { count: number; list?: { id: string | number; name?: string | undefined; unit?: string | undefined; quantity?: number | undefined; }[] | undefined; } | undefined; isTemplate?: boolean | undefined; qrCheckinEnabled?: boolean | undefined; checkinStartWindowMinutes?: number | undefined; checkinEndWindowMinutes?: number | undefined; qrReleaseOffsetMinutes?: number | undefined; qrCheckinGraceMinutes?: number | undefined; minConfirmedMembers?: number | undefined; iconUrl?: string | undefined; durationMinutes?: number | undefined; }[] | undefined; startTime?: string | undefined; endTime?: string | undefined; isAllDay?: boolean | undefined; insumos?: any[] | undefined; isTemplate?: boolean | undefined; qrCheckinEnabled?: boolean | undefined; checkinStartWindowMinutes?: number | undefined; checkinEndWindowMinutes?: number | undefined; typeCustomLabel?: string | undefined; minConfirmedMembers?: number | undefined; requiredActivityIds?: string[] | undefined; }>; type EventFormValues = z.infer; interface EventOnboardingActivityLite { id: string | number; title?: string; members?: { list?: Array<{ id?: string; firstName?: string; lastName?: string; avatarUrl?: string | null; }>; }; insumos?: { list?: Array<{ id?: string | number; name?: string; quantity?: number; unit?: string; }>; }; } type EventAISuggestionMode = "name" | "description"; interface EventOnboardingPageProps { isTerreiroAddressEmpty: boolean; isPersonalProfile?: boolean; initialData?: EventFormValues; knownLocations?: string[]; availableMembers?: Medium[]; availableInsumos?: InventoryItem$2[]; availableActivities?: EventOnboardingActivityLite[]; canAddActivities?: boolean; activityQuotaMessage?: string; canCreateTemplates?: boolean; templateQuotaMessage?: string; onRequestAISuggestions?: (payload: { mode: EventAISuggestionMode; eventType: string; existingName?: string; context?: string; }) => void; onComplete?: (data: EventFormValues) => void; onCancel?: () => void; onStepChange?: (step: number) => void; isAISuggestionsLoading?: boolean; isLoading?: boolean; isTemplate?: boolean; createFromModel?: boolean; enableGoogleAddress?: boolean; googleMapsApiKey?: string; googleCountryCode?: string; googleLanguage?: string; error?: string; } interface EventMergedMedium { id: string; name: string; email: string; profilePictureUrl?: string | null; rank?: string; role?: string; fromActivity: boolean; isSelected: boolean; } interface EventMergedInsumo { id: string | number; name: string; quantity: number; unit: string; imageUrl?: string; availableQuantity: number; fromActivity: boolean; /** Total quantity required by the selected activities (floor for the event). */ activityQuantity?: number; activityTitles?: string[]; isSelected: boolean; } type RawMember = { id?: string; user?: { profile?: { firstName?: string; lastName?: string; }; }; ranks?: Array<{ name?: string; }>; roles?: Array<{ name?: string; }>; profilePictureUrl?: string | null; }; type RawInsumo = { id: string | number; name: string; quantity?: number; unit?: string; imageUrl?: string; }; declare const buildMergedMediums: (selectedActivityIds: string[], availableActivities: EventOnboardingActivityLite[], availableMembers: RawMember[], currentMediums?: EventMergedMedium[]) => EventMergedMedium[]; declare const buildMergedInsumos: (selectedActivityIds: string[], availableActivities: EventOnboardingActivityLite[], availableInsumos: RawInsumo[], currentInsumos?: EventMergedInsumo[]) => EventMergedInsumo[]; type RawActivityAvailableMember = { id: string; name?: string; user?: { email?: string; profile?: { firstName?: string; lastName?: string; avatarUrl?: string | null; }; }; ranks?: Array<{ name?: string; }>; roles?: Array<{ name?: string; }>; }; declare const mapRawMemberToActivityChatOption: (member: RawActivityAvailableMember) => ActivityChatMemberOption; declare const SocialVisibilitySchema: z$1.ZodEnum<["PRIVATE", "TERREIRO", "COMMUNITY"]>; type SocialVisibility = z$1.infer; declare const ExperienceCategorySchema: z$1.ZodEnum<["DESENVOLVIMENTO", "GIRA", "INCORPORACAO", "APRENDIZADO", "SENTIMENTO", "ANCESTRALIDADE", "ESPIRITUALIDADE", "DUVIDA_DESCOBERTA", "OTHER"]>; type ExperienceCategory = z$1.infer; declare const ExperienceReactionTypeSchema: z$1.ZodEnum<["IDENTIFIED", "LEARNED", "WELCOMED", "CURIOUS"]>; type ExperienceReactionType = z$1.infer; declare const QuestionSourceSchema: z$1.ZodEnum<["COMMUNITY", "AI", "SYSTEM"]>; type QuestionSource = z$1.infer; declare const SocialReportReasonSchema: z$1.ZodEnum<["HARASSMENT", "HATE", "DISCRIMINATION", "RELIGIOUS_INTOLERANCE", "SEXUAL_CONTENT", "VIOLENCE", "SPAM", "IMPERSONATION", "MISINFORMATION", "OTHER"]>; type SocialReportReason = z$1.infer; declare const ExperiencePostTypeSchema: z$1.ZodEnum<["RELATO", "PERGUNTA", "EXPERIENCIA_SEMELHANTE", "CONHECIMENTO", "CAMINHADA"]>; type ExperiencePostType = z$1.infer; declare const SocialAuthorSchema: z$1.ZodObject<{ userId: z$1.ZodString; username: z$1.ZodOptional; displayName: z$1.ZodOptional>; avatarUrl: z$1.ZodOptional>; traditionLabel: z$1.ZodOptional>; verified: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { userId: string; displayName?: string | null | undefined; username?: string | undefined; avatarUrl?: string | null | undefined; traditionLabel?: string | null | undefined; verified?: boolean | undefined; }, { userId: string; displayName?: string | null | undefined; username?: string | undefined; avatarUrl?: string | null | undefined; traditionLabel?: string | null | undefined; verified?: boolean | undefined; }>; type SocialAuthor = z$1.infer; declare const SocialHomeCurrentUserSchema: z$1.ZodObject<{ displayName: z$1.ZodOptional; username: z$1.ZodOptional; avatarUrl: z$1.ZodOptional>; verified: z$1.ZodOptional; followingCount: z$1.ZodOptional; followersCount: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { displayName?: string | undefined; username?: string | undefined; avatarUrl?: string | null | undefined; verified?: boolean | undefined; followingCount?: number | undefined; followersCount?: number | undefined; }, { displayName?: string | undefined; username?: string | undefined; avatarUrl?: string | null | undefined; verified?: boolean | undefined; followingCount?: number | undefined; followersCount?: number | undefined; }>; type SocialHomeCurrentUser = z$1.infer; declare const CustomBannerGradientPresetSchema: z$1.ZodObject<{ id: z$1.ZodString; name: z$1.ZodString; colors: z$1.ZodUnion<[z$1.ZodTuple<[z$1.ZodString, z$1.ZodString], null>, z$1.ZodTuple<[z$1.ZodString, z$1.ZodString, z$1.ZodString], null>]>; }, "strip", z$1.ZodTypeAny, { id: string; name: string; colors: [string, string] | [string, string, string]; }, { id: string; name: string; colors: [string, string] | [string, string, string]; }>; type CustomBannerGradientPreset = z$1.infer; declare const ExperienceSchema: z$1.ZodObject<{ id: z$1.ZodString; authorId: z$1.ZodString; author: z$1.ZodOptional; displayName: z$1.ZodOptional>; avatarUrl: z$1.ZodOptional>; traditionLabel: z$1.ZodOptional>; verified: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { userId: string; displayName?: string | null | undefined; username?: string | undefined; avatarUrl?: string | null | undefined; traditionLabel?: string | null | undefined; verified?: boolean | undefined; }, { userId: string; displayName?: string | null | undefined; username?: string | undefined; avatarUrl?: string | null | undefined; traditionLabel?: string | null | undefined; verified?: boolean | undefined; }>>; title: z$1.ZodOptional>; content: z$1.ZodString; traditionLabel: z$1.ZodOptional>; category: z$1.ZodOptional>; postType: z$1.ZodOptional>; locationLabel: z$1.ZodOptional>; imageUrl: z$1.ZodOptional>; visibility: z$1.ZodOptional>; reactionCount: z$1.ZodOptional; reactionCounts: z$1.ZodOptional, z$1.ZodNumber>>; alsoExperiencedCount: z$1.ZodOptional; viewerHasAlsoExperienced: z$1.ZodOptional; viewerReactions: z$1.ZodOptional, "many">>; commentCount: z$1.ZodOptional; bookmarkCount: z$1.ZodOptional; shareCount: z$1.ZodOptional; viewerHasBookmarked: z$1.ZodOptional; eventId: z$1.ZodOptional>; terreiroId: z$1.ZodOptional>; publishedAt: z$1.ZodOptional>>; editedAt: z$1.ZodOptional>>; createdAt: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { id: string; content: string; authorId: string; title?: string | null | undefined; visibility?: "TERREIRO" | "PRIVATE" | "COMMUNITY" | undefined; category?: "OTHER" | "DESENVOLVIMENTO" | "GIRA" | "INCORPORACAO" | "APRENDIZADO" | "SENTIMENTO" | "ANCESTRALIDADE" | "ESPIRITUALIDADE" | "DUVIDA_DESCOBERTA" | undefined; imageUrl?: string | null | undefined; eventId?: string | null | undefined; terreiroId?: string | null | undefined; createdAt?: string | Date | undefined; traditionLabel?: string | null | undefined; author?: { userId: string; displayName?: string | null | undefined; username?: string | undefined; avatarUrl?: string | null | undefined; traditionLabel?: string | null | undefined; verified?: boolean | undefined; } | undefined; postType?: "RELATO" | "PERGUNTA" | "EXPERIENCIA_SEMELHANTE" | "CONHECIMENTO" | "CAMINHADA" | undefined; locationLabel?: string | null | undefined; reactionCount?: number | undefined; reactionCounts?: Partial> | undefined; alsoExperiencedCount?: number | undefined; viewerHasAlsoExperienced?: boolean | undefined; viewerReactions?: ("IDENTIFIED" | "LEARNED" | "WELCOMED" | "CURIOUS")[] | undefined; commentCount?: number | undefined; bookmarkCount?: number | undefined; shareCount?: number | undefined; viewerHasBookmarked?: boolean | undefined; publishedAt?: string | Date | null | undefined; editedAt?: string | Date | null | undefined; }, { id: string; content: string; authorId: string; title?: string | null | undefined; visibility?: "TERREIRO" | "PRIVATE" | "COMMUNITY" | undefined; category?: "OTHER" | "DESENVOLVIMENTO" | "GIRA" | "INCORPORACAO" | "APRENDIZADO" | "SENTIMENTO" | "ANCESTRALIDADE" | "ESPIRITUALIDADE" | "DUVIDA_DESCOBERTA" | undefined; imageUrl?: string | null | undefined; eventId?: string | null | undefined; terreiroId?: string | null | undefined; createdAt?: string | Date | undefined; traditionLabel?: string | null | undefined; author?: { userId: string; displayName?: string | null | undefined; username?: string | undefined; avatarUrl?: string | null | undefined; traditionLabel?: string | null | undefined; verified?: boolean | undefined; } | undefined; postType?: "RELATO" | "PERGUNTA" | "EXPERIENCIA_SEMELHANTE" | "CONHECIMENTO" | "CAMINHADA" | undefined; locationLabel?: string | null | undefined; reactionCount?: number | undefined; reactionCounts?: Partial> | undefined; alsoExperiencedCount?: number | undefined; viewerHasAlsoExperienced?: boolean | undefined; viewerReactions?: ("IDENTIFIED" | "LEARNED" | "WELCOMED" | "CURIOUS")[] | undefined; commentCount?: number | undefined; bookmarkCount?: number | undefined; shareCount?: number | undefined; viewerHasBookmarked?: boolean | undefined; publishedAt?: string | Date | null | undefined; editedAt?: string | Date | null | undefined; }>; type Experience = z$1.infer; declare const QuestionSchema: z$1.ZodObject<{ id: z$1.ZodString; authorId: z$1.ZodOptional>; author: z$1.ZodOptional; displayName: z$1.ZodOptional>; avatarUrl: z$1.ZodOptional>; traditionLabel: z$1.ZodOptional>; verified: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { userId: string; displayName?: string | null | undefined; username?: string | undefined; avatarUrl?: string | null | undefined; traditionLabel?: string | null | undefined; verified?: boolean | undefined; }, { userId: string; displayName?: string | null | undefined; username?: string | undefined; avatarUrl?: string | null | undefined; traditionLabel?: string | null | undefined; verified?: boolean | undefined; }>>; title: z$1.ZodString; description: z$1.ZodOptional>; traditionLabel: z$1.ZodOptional>; category: z$1.ZodOptional>>; source: z$1.ZodOptional>; visibility: z$1.ZodOptional>; answerCount: z$1.ZodOptional; bookmarkCount: z$1.ZodOptional; reactionCount: z$1.ZodOptional; shareCount: z$1.ZodOptional; viewerHasBookmarked: z$1.ZodOptional; viewerReactions: z$1.ZodOptional, "many">>; createdAt: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { title: string; id: string; visibility?: "TERREIRO" | "PRIVATE" | "COMMUNITY" | undefined; source?: "SYSTEM" | "COMMUNITY" | "AI" | undefined; description?: string | null | undefined; category?: "OTHER" | "DESENVOLVIMENTO" | "GIRA" | "INCORPORACAO" | "APRENDIZADO" | "SENTIMENTO" | "ANCESTRALIDADE" | "ESPIRITUALIDADE" | "DUVIDA_DESCOBERTA" | null | undefined; createdAt?: string | Date | undefined; traditionLabel?: string | null | undefined; authorId?: string | null | undefined; author?: { userId: string; displayName?: string | null | undefined; username?: string | undefined; avatarUrl?: string | null | undefined; traditionLabel?: string | null | undefined; verified?: boolean | undefined; } | undefined; reactionCount?: number | undefined; viewerReactions?: ("IDENTIFIED" | "LEARNED" | "WELCOMED" | "CURIOUS")[] | undefined; bookmarkCount?: number | undefined; shareCount?: number | undefined; viewerHasBookmarked?: boolean | undefined; answerCount?: number | undefined; }, { title: string; id: string; visibility?: "TERREIRO" | "PRIVATE" | "COMMUNITY" | undefined; source?: "SYSTEM" | "COMMUNITY" | "AI" | undefined; description?: string | null | undefined; category?: "OTHER" | "DESENVOLVIMENTO" | "GIRA" | "INCORPORACAO" | "APRENDIZADO" | "SENTIMENTO" | "ANCESTRALIDADE" | "ESPIRITUALIDADE" | "DUVIDA_DESCOBERTA" | null | undefined; createdAt?: string | Date | undefined; traditionLabel?: string | null | undefined; authorId?: string | null | undefined; author?: { userId: string; displayName?: string | null | undefined; username?: string | undefined; avatarUrl?: string | null | undefined; traditionLabel?: string | null | undefined; verified?: boolean | undefined; } | undefined; reactionCount?: number | undefined; viewerReactions?: ("IDENTIFIED" | "LEARNED" | "WELCOMED" | "CURIOUS")[] | undefined; bookmarkCount?: number | undefined; shareCount?: number | undefined; viewerHasBookmarked?: boolean | undefined; answerCount?: number | undefined; }>; type Question = z$1.infer; declare const QuestionAnswerSchema: z$1.ZodObject<{ id: z$1.ZodString; questionId: z$1.ZodString; authorId: z$1.ZodString; author: z$1.ZodOptional; displayName: z$1.ZodOptional>; avatarUrl: z$1.ZodOptional>; traditionLabel: z$1.ZodOptional>; verified: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { userId: string; displayName?: string | null | undefined; username?: string | undefined; avatarUrl?: string | null | undefined; traditionLabel?: string | null | undefined; verified?: boolean | undefined; }, { userId: string; displayName?: string | null | undefined; username?: string | undefined; avatarUrl?: string | null | undefined; traditionLabel?: string | null | undefined; verified?: boolean | undefined; }>>; content: z$1.ZodString; traditionLabel: z$1.ZodOptional>; visibility: z$1.ZodOptional>; createdAt: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { id: string; content: string; authorId: string; questionId: string; visibility?: "TERREIRO" | "PRIVATE" | "COMMUNITY" | undefined; createdAt?: string | Date | undefined; traditionLabel?: string | null | undefined; author?: { userId: string; displayName?: string | null | undefined; username?: string | undefined; avatarUrl?: string | null | undefined; traditionLabel?: string | null | undefined; verified?: boolean | undefined; } | undefined; }, { id: string; content: string; authorId: string; questionId: string; visibility?: "TERREIRO" | "PRIVATE" | "COMMUNITY" | undefined; createdAt?: string | Date | undefined; traditionLabel?: string | null | undefined; author?: { userId: string; displayName?: string | null | undefined; username?: string | undefined; avatarUrl?: string | null | undefined; traditionLabel?: string | null | undefined; verified?: boolean | undefined; } | undefined; }>; type QuestionAnswer = z$1.infer; declare const ExperienceCommentSchema: z$1.ZodObject<{ id: z$1.ZodString; experienceId: z$1.ZodString; authorId: z$1.ZodString; author: z$1.ZodOptional; displayName: z$1.ZodOptional>; avatarUrl: z$1.ZodOptional>; traditionLabel: z$1.ZodOptional>; verified: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { userId: string; displayName?: string | null | undefined; username?: string | undefined; avatarUrl?: string | null | undefined; traditionLabel?: string | null | undefined; verified?: boolean | undefined; }, { userId: string; displayName?: string | null | undefined; username?: string | undefined; avatarUrl?: string | null | undefined; traditionLabel?: string | null | undefined; verified?: boolean | undefined; }>>; body: z$1.ZodString; parentId: z$1.ZodOptional>; replyToCommentId: z$1.ZodOptional>; replyCount: z$1.ZodOptional; likeCount: z$1.ZodOptional; viewerHasLiked: z$1.ZodOptional; repliesHasMore: z$1.ZodOptional; editedAt: z$1.ZodOptional>>; createdAt: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { id: string; body: string; authorId: string; experienceId: string; createdAt?: string | Date | undefined; author?: { userId: string; displayName?: string | null | undefined; username?: string | undefined; avatarUrl?: string | null | undefined; traditionLabel?: string | null | undefined; verified?: boolean | undefined; } | undefined; editedAt?: string | Date | null | undefined; parentId?: string | null | undefined; replyToCommentId?: string | null | undefined; replyCount?: number | undefined; likeCount?: number | undefined; viewerHasLiked?: boolean | undefined; repliesHasMore?: boolean | undefined; }, { id: string; body: string; authorId: string; experienceId: string; createdAt?: string | Date | undefined; author?: { userId: string; displayName?: string | null | undefined; username?: string | undefined; avatarUrl?: string | null | undefined; traditionLabel?: string | null | undefined; verified?: boolean | undefined; } | undefined; editedAt?: string | Date | null | undefined; parentId?: string | null | undefined; replyToCommentId?: string | null | undefined; replyCount?: number | undefined; likeCount?: number | undefined; viewerHasLiked?: boolean | undefined; repliesHasMore?: boolean | undefined; }>; type ExperienceComment = z$1.infer & { replies?: ExperienceComment[]; }; declare const SocialProfileSchema: z$1.ZodObject<{ id: z$1.ZodOptional; userId: z$1.ZodString; username: z$1.ZodString; displayName: z$1.ZodOptional>; bio: z$1.ZodOptional>; traditionLabel: z$1.ZodOptional>; city: z$1.ZodOptional>; state: z$1.ZodOptional>; region: z$1.ZodOptional>; locationGranularity: z$1.ZodOptional>; profileVisibility: z$1.ZodOptional>; traditionVisible: z$1.ZodOptional; locationVisible: z$1.ZodOptional; experiencesVisible: z$1.ZodOptional; connectionsVisible: z$1.ZodOptional; activityVisible: z$1.ZodOptional; avatarUrl: z$1.ZodOptional>; bannerUrl: z$1.ZodOptional>; bannerGradientKey: z$1.ZodOptional>>; customBannerGradients: z$1.ZodOptional, z$1.ZodTuple<[z$1.ZodString, z$1.ZodString, z$1.ZodString], null>]>; }, "strip", z$1.ZodTypeAny, { id: string; name: string; colors: [string, string] | [string, string, string]; }, { id: string; name: string; colors: [string, string] | [string, string, string]; }>, "many">>; selectedCustomBannerGradientId: z$1.ZodOptional>; website: z$1.ZodOptional>; verified: z$1.ZodOptional; birthDate: z$1.ZodOptional>>; followingCount: z$1.ZodOptional; followersCount: z$1.ZodOptional; joinedLabel: z$1.ZodOptional>; journeyStartedAt: z$1.ZodOptional>>; onboardingCompletedAt: z$1.ZodOptional>>; connectionStatus: z$1.ZodOptional>; connectionDirection: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { username: string; userId: string; id?: string | undefined; displayName?: string | null | undefined; region?: string | null | undefined; state?: string | null | undefined; avatarUrl?: string | null | undefined; city?: string | null | undefined; birthDate?: string | Date | null | undefined; traditionLabel?: string | null | undefined; verified?: boolean | undefined; followingCount?: number | undefined; followersCount?: number | undefined; bio?: string | null | undefined; locationGranularity?: "CITY" | "STATE" | "REGION" | "HIDDEN" | undefined; profileVisibility?: "TERREIRO" | "PRIVATE" | "COMMUNITY" | undefined; traditionVisible?: boolean | undefined; locationVisible?: boolean | undefined; experiencesVisible?: boolean | undefined; connectionsVisible?: boolean | undefined; activityVisible?: boolean | undefined; bannerUrl?: string | null | undefined; bannerGradientKey?: "oxala-luz" | "iemanja-mar" | "oxum-aguas-douradas" | "ogum-forja-caminhos" | "xango-fogo-terra" | "iansa-ventos" | "oxossi-mata" | "nana-terra-aguas" | null | undefined; customBannerGradients?: { id: string; name: string; colors: [string, string] | [string, string, string]; }[] | undefined; selectedCustomBannerGradientId?: string | null | undefined; website?: string | null | undefined; joinedLabel?: string | null | undefined; journeyStartedAt?: string | Date | null | undefined; onboardingCompletedAt?: string | Date | null | undefined; connectionStatus?: "NONE" | "PENDING" | "CONNECTED" | "SELF" | undefined; connectionDirection?: "OUTBOUND" | "INBOUND" | undefined; }, { username: string; userId: string; id?: string | undefined; displayName?: string | null | undefined; region?: string | null | undefined; state?: string | null | undefined; avatarUrl?: string | null | undefined; city?: string | null | undefined; birthDate?: string | Date | null | undefined; traditionLabel?: string | null | undefined; verified?: boolean | undefined; followingCount?: number | undefined; followersCount?: number | undefined; bio?: string | null | undefined; locationGranularity?: "CITY" | "STATE" | "REGION" | "HIDDEN" | undefined; profileVisibility?: "TERREIRO" | "PRIVATE" | "COMMUNITY" | undefined; traditionVisible?: boolean | undefined; locationVisible?: boolean | undefined; experiencesVisible?: boolean | undefined; connectionsVisible?: boolean | undefined; activityVisible?: boolean | undefined; bannerUrl?: string | null | undefined; bannerGradientKey?: "oxala-luz" | "iemanja-mar" | "oxum-aguas-douradas" | "ogum-forja-caminhos" | "xango-fogo-terra" | "iansa-ventos" | "oxossi-mata" | "nana-terra-aguas" | null | undefined; customBannerGradients?: { id: string; name: string; colors: [string, string] | [string, string, string]; }[] | undefined; selectedCustomBannerGradientId?: string | null | undefined; website?: string | null | undefined; joinedLabel?: string | null | undefined; journeyStartedAt?: string | Date | null | undefined; onboardingCompletedAt?: string | Date | null | undefined; connectionStatus?: "NONE" | "PENDING" | "CONNECTED" | "SELF" | undefined; connectionDirection?: "OUTBOUND" | "INBOUND" | undefined; }>; type SocialProfile = z$1.infer; declare const SimilarPersonSchema: z$1.ZodObject<{ userId: z$1.ZodString; username: z$1.ZodOptional; displayName: z$1.ZodOptional>; avatarUrl: z$1.ZodOptional>; traditionLabel: z$1.ZodOptional>; /** Affinity score on a 0–100 percent scale (not 0–1). */ affinity: z$1.ZodOptional; sharedCategory: z$1.ZodOptional>>; }, "strip", z$1.ZodTypeAny, { userId: string; displayName?: string | null | undefined; username?: string | undefined; avatarUrl?: string | null | undefined; traditionLabel?: string | null | undefined; affinity?: number | undefined; sharedCategory?: "OTHER" | "DESENVOLVIMENTO" | "GIRA" | "INCORPORACAO" | "APRENDIZADO" | "SENTIMENTO" | "ANCESTRALIDADE" | "ESPIRITUALIDADE" | "DUVIDA_DESCOBERTA" | null | undefined; }, { userId: string; displayName?: string | null | undefined; username?: string | undefined; avatarUrl?: string | null | undefined; traditionLabel?: string | null | undefined; affinity?: number | undefined; sharedCategory?: "OTHER" | "DESENVOLVIMENTO" | "GIRA" | "INCORPORACAO" | "APRENDIZADO" | "SENTIMENTO" | "ANCESTRALIDADE" | "ESPIRITUALIDADE" | "DUVIDA_DESCOBERTA" | null | undefined; }>; type SimilarPerson = z$1.infer; declare const SocialMessageDeliveryStatusSchema: z$1.ZodEnum<["SENDING", "SENT", "DELIVERED", "READ", "FAILED"]>; type SocialMessageDeliveryStatus = z$1.infer; declare const SocialConversationPeerSchema: z$1.ZodObject; displayName: z$1.ZodOptional>; avatarUrl: z$1.ZodOptional>; traditionLabel: z$1.ZodOptional>; verified: z$1.ZodOptional; }, "displayName" | "username" | "avatarUrl" | "userId" | "verified">, "strip", z$1.ZodTypeAny, { userId: string; displayName?: string | null | undefined; username?: string | undefined; avatarUrl?: string | null | undefined; verified?: boolean | undefined; }, { userId: string; displayName?: string | null | undefined; username?: string | undefined; avatarUrl?: string | null | undefined; verified?: boolean | undefined; }>; type SocialConversationPeer = z$1.infer; declare const SocialConversationSchema: z$1.ZodObject<{ id: z$1.ZodString; peer: z$1.ZodObject; displayName: z$1.ZodOptional>; avatarUrl: z$1.ZodOptional>; traditionLabel: z$1.ZodOptional>; verified: z$1.ZodOptional; }, "displayName" | "username" | "avatarUrl" | "userId" | "verified">, "strip", z$1.ZodTypeAny, { userId: string; displayName?: string | null | undefined; username?: string | undefined; avatarUrl?: string | null | undefined; verified?: boolean | undefined; }, { userId: string; displayName?: string | null | undefined; username?: string | undefined; avatarUrl?: string | null | undefined; verified?: boolean | undefined; }>; lastMessagePreview: z$1.ZodOptional>; lastMessageAt: z$1.ZodOptional>>; unreadCount: z$1.ZodOptional; isReadOnly: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { id: string; peer: { userId: string; displayName?: string | null | undefined; username?: string | undefined; avatarUrl?: string | null | undefined; verified?: boolean | undefined; }; lastMessagePreview?: string | null | undefined; lastMessageAt?: string | Date | null | undefined; unreadCount?: number | undefined; isReadOnly?: boolean | undefined; }, { id: string; peer: { userId: string; displayName?: string | null | undefined; username?: string | undefined; avatarUrl?: string | null | undefined; verified?: boolean | undefined; }; lastMessagePreview?: string | null | undefined; lastMessageAt?: string | Date | null | undefined; unreadCount?: number | undefined; isReadOnly?: boolean | undefined; }>; type SocialConversation = z$1.infer; declare const SocialMessageSchema: z$1.ZodObject<{ id: z$1.ZodString; conversationId: z$1.ZodString; senderId: z$1.ZodString; content: z$1.ZodString; createdAt: z$1.ZodUnion<[z$1.ZodString, z$1.ZodDate]>; isOwn: z$1.ZodBoolean; status: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { id: string; content: string; createdAt: string | Date; conversationId: string; senderId: string; isOwn: boolean; status?: "SENDING" | "SENT" | "DELIVERED" | "READ" | "FAILED" | undefined; }, { id: string; content: string; createdAt: string | Date; conversationId: string; senderId: string; isOwn: boolean; status?: "SENDING" | "SENT" | "DELIVERED" | "READ" | "FAILED" | undefined; }>; type SocialMessage = z$1.infer; declare const SocialFeedItemSchema: z$1.ZodDiscriminatedUnion<"kind", [z$1.ZodObject<{ kind: z$1.ZodLiteral<"experience">; id: z$1.ZodString; createdAt: z$1.ZodOptional>; experience: z$1.ZodObject<{ id: z$1.ZodString; authorId: z$1.ZodString; author: z$1.ZodOptional; displayName: z$1.ZodOptional>; avatarUrl: z$1.ZodOptional>; traditionLabel: z$1.ZodOptional>; verified: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { userId: string; displayName?: string | null | undefined; username?: string | undefined; avatarUrl?: string | null | undefined; traditionLabel?: string | null | undefined; verified?: boolean | undefined; }, { userId: string; displayName?: string | null | undefined; username?: string | undefined; avatarUrl?: string | null | undefined; traditionLabel?: string | null | undefined; verified?: boolean | undefined; }>>; title: z$1.ZodOptional>; content: z$1.ZodString; traditionLabel: z$1.ZodOptional>; category: z$1.ZodOptional>; postType: z$1.ZodOptional>; locationLabel: z$1.ZodOptional>; imageUrl: z$1.ZodOptional>; visibility: z$1.ZodOptional>; reactionCount: z$1.ZodOptional; reactionCounts: z$1.ZodOptional, z$1.ZodNumber>>; alsoExperiencedCount: z$1.ZodOptional; viewerHasAlsoExperienced: z$1.ZodOptional; viewerReactions: z$1.ZodOptional, "many">>; commentCount: z$1.ZodOptional; bookmarkCount: z$1.ZodOptional; shareCount: z$1.ZodOptional; viewerHasBookmarked: z$1.ZodOptional; eventId: z$1.ZodOptional>; terreiroId: z$1.ZodOptional>; publishedAt: z$1.ZodOptional>>; editedAt: z$1.ZodOptional>>; createdAt: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { id: string; content: string; authorId: string; title?: string | null | undefined; visibility?: "TERREIRO" | "PRIVATE" | "COMMUNITY" | undefined; category?: "OTHER" | "DESENVOLVIMENTO" | "GIRA" | "INCORPORACAO" | "APRENDIZADO" | "SENTIMENTO" | "ANCESTRALIDADE" | "ESPIRITUALIDADE" | "DUVIDA_DESCOBERTA" | undefined; imageUrl?: string | null | undefined; eventId?: string | null | undefined; terreiroId?: string | null | undefined; createdAt?: string | Date | undefined; traditionLabel?: string | null | undefined; author?: { userId: string; displayName?: string | null | undefined; username?: string | undefined; avatarUrl?: string | null | undefined; traditionLabel?: string | null | undefined; verified?: boolean | undefined; } | undefined; postType?: "RELATO" | "PERGUNTA" | "EXPERIENCIA_SEMELHANTE" | "CONHECIMENTO" | "CAMINHADA" | undefined; locationLabel?: string | null | undefined; reactionCount?: number | undefined; reactionCounts?: Partial> | undefined; alsoExperiencedCount?: number | undefined; viewerHasAlsoExperienced?: boolean | undefined; viewerReactions?: ("IDENTIFIED" | "LEARNED" | "WELCOMED" | "CURIOUS")[] | undefined; commentCount?: number | undefined; bookmarkCount?: number | undefined; shareCount?: number | undefined; viewerHasBookmarked?: boolean | undefined; publishedAt?: string | Date | null | undefined; editedAt?: string | Date | null | undefined; }, { id: string; content: string; authorId: string; title?: string | null | undefined; visibility?: "TERREIRO" | "PRIVATE" | "COMMUNITY" | undefined; category?: "OTHER" | "DESENVOLVIMENTO" | "GIRA" | "INCORPORACAO" | "APRENDIZADO" | "SENTIMENTO" | "ANCESTRALIDADE" | "ESPIRITUALIDADE" | "DUVIDA_DESCOBERTA" | undefined; imageUrl?: string | null | undefined; eventId?: string | null | undefined; terreiroId?: string | null | undefined; createdAt?: string | Date | undefined; traditionLabel?: string | null | undefined; author?: { userId: string; displayName?: string | null | undefined; username?: string | undefined; avatarUrl?: string | null | undefined; traditionLabel?: string | null | undefined; verified?: boolean | undefined; } | undefined; postType?: "RELATO" | "PERGUNTA" | "EXPERIENCIA_SEMELHANTE" | "CONHECIMENTO" | "CAMINHADA" | undefined; locationLabel?: string | null | undefined; reactionCount?: number | undefined; reactionCounts?: Partial> | undefined; alsoExperiencedCount?: number | undefined; viewerHasAlsoExperienced?: boolean | undefined; viewerReactions?: ("IDENTIFIED" | "LEARNED" | "WELCOMED" | "CURIOUS")[] | undefined; commentCount?: number | undefined; bookmarkCount?: number | undefined; shareCount?: number | undefined; viewerHasBookmarked?: boolean | undefined; publishedAt?: string | Date | null | undefined; editedAt?: string | Date | null | undefined; }>; }, "strip", z$1.ZodTypeAny, { id: string; kind: "experience"; experience: { id: string; content: string; authorId: string; title?: string | null | undefined; visibility?: "TERREIRO" | "PRIVATE" | "COMMUNITY" | undefined; category?: "OTHER" | "DESENVOLVIMENTO" | "GIRA" | "INCORPORACAO" | "APRENDIZADO" | "SENTIMENTO" | "ANCESTRALIDADE" | "ESPIRITUALIDADE" | "DUVIDA_DESCOBERTA" | undefined; imageUrl?: string | null | undefined; eventId?: string | null | undefined; terreiroId?: string | null | undefined; createdAt?: string | Date | undefined; traditionLabel?: string | null | undefined; author?: { userId: string; displayName?: string | null | undefined; username?: string | undefined; avatarUrl?: string | null | undefined; traditionLabel?: string | null | undefined; verified?: boolean | undefined; } | undefined; postType?: "RELATO" | "PERGUNTA" | "EXPERIENCIA_SEMELHANTE" | "CONHECIMENTO" | "CAMINHADA" | undefined; locationLabel?: string | null | undefined; reactionCount?: number | undefined; reactionCounts?: Partial> | undefined; alsoExperiencedCount?: number | undefined; viewerHasAlsoExperienced?: boolean | undefined; viewerReactions?: ("IDENTIFIED" | "LEARNED" | "WELCOMED" | "CURIOUS")[] | undefined; commentCount?: number | undefined; bookmarkCount?: number | undefined; shareCount?: number | undefined; viewerHasBookmarked?: boolean | undefined; publishedAt?: string | Date | null | undefined; editedAt?: string | Date | null | undefined; }; createdAt?: string | Date | undefined; }, { id: string; kind: "experience"; experience: { id: string; content: string; authorId: string; title?: string | null | undefined; visibility?: "TERREIRO" | "PRIVATE" | "COMMUNITY" | undefined; category?: "OTHER" | "DESENVOLVIMENTO" | "GIRA" | "INCORPORACAO" | "APRENDIZADO" | "SENTIMENTO" | "ANCESTRALIDADE" | "ESPIRITUALIDADE" | "DUVIDA_DESCOBERTA" | undefined; imageUrl?: string | null | undefined; eventId?: string | null | undefined; terreiroId?: string | null | undefined; createdAt?: string | Date | undefined; traditionLabel?: string | null | undefined; author?: { userId: string; displayName?: string | null | undefined; username?: string | undefined; avatarUrl?: string | null | undefined; traditionLabel?: string | null | undefined; verified?: boolean | undefined; } | undefined; postType?: "RELATO" | "PERGUNTA" | "EXPERIENCIA_SEMELHANTE" | "CONHECIMENTO" | "CAMINHADA" | undefined; locationLabel?: string | null | undefined; reactionCount?: number | undefined; reactionCounts?: Partial> | undefined; alsoExperiencedCount?: number | undefined; viewerHasAlsoExperienced?: boolean | undefined; viewerReactions?: ("IDENTIFIED" | "LEARNED" | "WELCOMED" | "CURIOUS")[] | undefined; commentCount?: number | undefined; bookmarkCount?: number | undefined; shareCount?: number | undefined; viewerHasBookmarked?: boolean | undefined; publishedAt?: string | Date | null | undefined; editedAt?: string | Date | null | undefined; }; createdAt?: string | Date | undefined; }>, z$1.ZodObject<{ kind: z$1.ZodLiteral<"question">; id: z$1.ZodString; createdAt: z$1.ZodOptional>; question: z$1.ZodObject<{ id: z$1.ZodString; authorId: z$1.ZodOptional>; author: z$1.ZodOptional; displayName: z$1.ZodOptional>; avatarUrl: z$1.ZodOptional>; traditionLabel: z$1.ZodOptional>; verified: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { userId: string; displayName?: string | null | undefined; username?: string | undefined; avatarUrl?: string | null | undefined; traditionLabel?: string | null | undefined; verified?: boolean | undefined; }, { userId: string; displayName?: string | null | undefined; username?: string | undefined; avatarUrl?: string | null | undefined; traditionLabel?: string | null | undefined; verified?: boolean | undefined; }>>; title: z$1.ZodString; description: z$1.ZodOptional>; traditionLabel: z$1.ZodOptional>; category: z$1.ZodOptional>>; source: z$1.ZodOptional>; visibility: z$1.ZodOptional>; answerCount: z$1.ZodOptional; bookmarkCount: z$1.ZodOptional; reactionCount: z$1.ZodOptional; shareCount: z$1.ZodOptional; viewerHasBookmarked: z$1.ZodOptional; viewerReactions: z$1.ZodOptional, "many">>; createdAt: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { title: string; id: string; visibility?: "TERREIRO" | "PRIVATE" | "COMMUNITY" | undefined; source?: "SYSTEM" | "COMMUNITY" | "AI" | undefined; description?: string | null | undefined; category?: "OTHER" | "DESENVOLVIMENTO" | "GIRA" | "INCORPORACAO" | "APRENDIZADO" | "SENTIMENTO" | "ANCESTRALIDADE" | "ESPIRITUALIDADE" | "DUVIDA_DESCOBERTA" | null | undefined; createdAt?: string | Date | undefined; traditionLabel?: string | null | undefined; authorId?: string | null | undefined; author?: { userId: string; displayName?: string | null | undefined; username?: string | undefined; avatarUrl?: string | null | undefined; traditionLabel?: string | null | undefined; verified?: boolean | undefined; } | undefined; reactionCount?: number | undefined; viewerReactions?: ("IDENTIFIED" | "LEARNED" | "WELCOMED" | "CURIOUS")[] | undefined; bookmarkCount?: number | undefined; shareCount?: number | undefined; viewerHasBookmarked?: boolean | undefined; answerCount?: number | undefined; }, { title: string; id: string; visibility?: "TERREIRO" | "PRIVATE" | "COMMUNITY" | undefined; source?: "SYSTEM" | "COMMUNITY" | "AI" | undefined; description?: string | null | undefined; category?: "OTHER" | "DESENVOLVIMENTO" | "GIRA" | "INCORPORACAO" | "APRENDIZADO" | "SENTIMENTO" | "ANCESTRALIDADE" | "ESPIRITUALIDADE" | "DUVIDA_DESCOBERTA" | null | undefined; createdAt?: string | Date | undefined; traditionLabel?: string | null | undefined; authorId?: string | null | undefined; author?: { userId: string; displayName?: string | null | undefined; username?: string | undefined; avatarUrl?: string | null | undefined; traditionLabel?: string | null | undefined; verified?: boolean | undefined; } | undefined; reactionCount?: number | undefined; viewerReactions?: ("IDENTIFIED" | "LEARNED" | "WELCOMED" | "CURIOUS")[] | undefined; bookmarkCount?: number | undefined; shareCount?: number | undefined; viewerHasBookmarked?: boolean | undefined; answerCount?: number | undefined; }>; }, "strip", z$1.ZodTypeAny, { id: string; kind: "question"; question: { title: string; id: string; visibility?: "TERREIRO" | "PRIVATE" | "COMMUNITY" | undefined; source?: "SYSTEM" | "COMMUNITY" | "AI" | undefined; description?: string | null | undefined; category?: "OTHER" | "DESENVOLVIMENTO" | "GIRA" | "INCORPORACAO" | "APRENDIZADO" | "SENTIMENTO" | "ANCESTRALIDADE" | "ESPIRITUALIDADE" | "DUVIDA_DESCOBERTA" | null | undefined; createdAt?: string | Date | undefined; traditionLabel?: string | null | undefined; authorId?: string | null | undefined; author?: { userId: string; displayName?: string | null | undefined; username?: string | undefined; avatarUrl?: string | null | undefined; traditionLabel?: string | null | undefined; verified?: boolean | undefined; } | undefined; reactionCount?: number | undefined; viewerReactions?: ("IDENTIFIED" | "LEARNED" | "WELCOMED" | "CURIOUS")[] | undefined; bookmarkCount?: number | undefined; shareCount?: number | undefined; viewerHasBookmarked?: boolean | undefined; answerCount?: number | undefined; }; createdAt?: string | Date | undefined; }, { id: string; kind: "question"; question: { title: string; id: string; visibility?: "TERREIRO" | "PRIVATE" | "COMMUNITY" | undefined; source?: "SYSTEM" | "COMMUNITY" | "AI" | undefined; description?: string | null | undefined; category?: "OTHER" | "DESENVOLVIMENTO" | "GIRA" | "INCORPORACAO" | "APRENDIZADO" | "SENTIMENTO" | "ANCESTRALIDADE" | "ESPIRITUALIDADE" | "DUVIDA_DESCOBERTA" | null | undefined; createdAt?: string | Date | undefined; traditionLabel?: string | null | undefined; authorId?: string | null | undefined; author?: { userId: string; displayName?: string | null | undefined; username?: string | undefined; avatarUrl?: string | null | undefined; traditionLabel?: string | null | undefined; verified?: boolean | undefined; } | undefined; reactionCount?: number | undefined; viewerReactions?: ("IDENTIFIED" | "LEARNED" | "WELCOMED" | "CURIOUS")[] | undefined; bookmarkCount?: number | undefined; shareCount?: number | undefined; viewerHasBookmarked?: boolean | undefined; answerCount?: number | undefined; }; createdAt?: string | Date | undefined; }>]>; type SocialFeedItem = z$1.infer; declare const CATEGORY_LABELS: Record; declare const POST_TYPE_LABELS: Record; /** Prefer explicit `postType`; otherwise map legacy `category`. */ declare const resolveExperiencePostType: (experience: Pick) => ExperiencePostType; declare const VISIBILITY_LABELS: Record; declare const VISIBILITY_HELPERS: Record; declare const REACTION_LABELS: Record; /** Also-experienced lives outside the reaction enum (API) but in the engage menu. */ declare const ALSO_EXPERIENCED_LABEL = "Tamb\u00E9m vivi isso"; declare const QUESTION_SOURCE_LABELS: Record; declare const REPORT_REASON_LABELS: Record; declare const formatRelativeTime: (value?: string | Date | null) => string; declare const authorDisplayName: (author?: { displayName?: string | null; username?: string; }, options?: { authorId?: string; viewerUserId?: string; }) => string; declare const BANNER_GRADIENT_KEYS: readonly ["oxala-luz", "iemanja-mar", "oxum-aguas-douradas", "ogum-forja-caminhos", "xango-fogo-terra", "iansa-ventos", "oxossi-mata", "nana-terra-aguas"]; type BannerGradientKey = (typeof BANNER_GRADIENT_KEYS)[number]; type BannerGradientPreset = { key: BannerGradientKey; label: string; gradient: string; }; /** * Visual inspirations only; these labels do not claim universal or canonical * associations between each Orixá and a specific color. */ declare const BANNER_GRADIENT_PRESETS: readonly BannerGradientPreset[]; declare const DEFAULT_BANNER_GRADIENT_KEY: BannerGradientKey; declare function getBannerGradient(key?: BannerGradientKey | null): string | undefined; declare function getCustomBannerGradient(preset?: CustomBannerGradientPreset | null): string | undefined; declare function getSocialBannerSx(bannerUrl?: string | null, gradientKey?: BannerGradientKey | null, customGradients?: readonly CustomBannerGradientPreset[], selectedCustomGradientId?: string | null): { backgroundImage?: undefined; } | { backgroundImage: string; }; declare const SOCIAL_USERNAME_MAX_LENGTH = 48; declare const SOCIAL_DISPLAY_NAME_MAX_LENGTH = 120; declare const SOCIAL_TRADITION_MAX_LENGTH = 120; declare const SOCIAL_BIO_MAX_LENGTH = 160; declare const SocialUsernameSchema: z$1.ZodString; declare const SocialProfileFieldsSchema: z$1.ZodObject<{ username: z$1.ZodString; displayName: z$1.ZodOptional; traditionLabel: z$1.ZodOptional; bio: z$1.ZodOptional; avatarUrl: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { username: string; displayName?: string | undefined; avatarUrl?: string | null | undefined; traditionLabel?: string | undefined; bio?: string | undefined; }, { username: string; displayName?: string | undefined; avatarUrl?: string | null | undefined; traditionLabel?: string | undefined; bio?: string | undefined; }>; type SocialProfileFields = z$1.infer; declare const getSocialUsernameError: (username: string) => string | undefined; type SocialEmptyStateProps = { title?: string; description?: string; actionLabel?: string; onAction?: () => void; icon?: React__default.ReactNode; }; declare const SocialEmptyState: React__default.FC; type SocialSkeletonProps = { count?: number; variant?: "card" | "profile" | "list"; }; declare const SocialSkeleton: React__default.FC; type SocialErrorStateProps = { title?: string; message?: string; onRetry?: () => void; }; declare const SocialErrorState: React__default.FC; type TraditionBadgeProps = { label?: string | null; size?: "small" | "medium"; }; declare const TraditionBadge: React__default.FC; type ExperienceCategoryBadgeProps = { category?: ExperienceCategory | null; size?: "small" | "medium"; }; declare const ExperienceCategoryBadge: React__default.FC; type ExperiencePostTypeBadgeProps = { postType: ExperiencePostType; size?: "small" | "medium"; }; declare const ExperiencePostTypeBadge: React__default.FC; type ExperienceReactionBarProps = { counts?: Partial>; selected?: ExperienceReactionType[]; disabled?: boolean; compact?: boolean; onToggle?: (type: ExperienceReactionType) => void; }; declare const ExperienceReactionBar: React__default.FC; type ExperienceEngageMenuProps = { selected?: ExperienceReactionType[]; alsoExperienced?: boolean; alsoExperiencedCount?: number; alsoExperiencedLoading?: boolean; reactionCount?: number; disabled?: boolean; onReactionToggle?: (type: ExperienceReactionType) => void; onAlsoExperienced?: () => void; }; declare const ExperienceEngageMenu: React__default.FC; type AlsoExperiencedButtonProps = { count?: number; active?: boolean; loading?: boolean; disabled?: boolean; onClick?: () => void; }; declare const AlsoExperiencedButton: React__default.FC; type ExperienceCardProps = { experience: Experience; viewerUserId?: string; onOpen?: (id: string) => void; onAlsoExperienced?: (id: string) => void; onReactionToggle?: (id: string, type: ExperienceReactionType) => void; onShare?: (id: string) => void; onReport?: (id: string) => void; onEdit?: (id: string, value: { content: string; title?: string | null; }) => void | Promise; onDelete?: (id: string) => void | Promise; onComment?: (id: string) => void; onBookmark?: (id: string) => void; onAuthorClick?: (userId: string, username?: string) => void; alsoExperiencedLoading?: boolean; compact?: boolean; }; declare const ExperienceCard: React__default.FC; type ExperienceCommentRowProps = { comment: ExperienceComment; depth?: 0 | 1; likeDisabled?: boolean; viewerUserId?: string; onAuthorClick?: (userId: string, username?: string) => void; onReply?: (comment: ExperienceComment) => void; onToggleLike?: (comment: ExperienceComment) => void; onEdit?: (comment: ExperienceComment) => void; onDelete?: (comment: ExperienceComment) => void; }; declare const ExperienceCommentRow: React__default.FC; type ExperienceCommentSubmitMeta = { parentId?: string; replyToCommentId?: string; }; type ExperienceCommentsSheetProps = { open: boolean; experienceId?: string | null; comments?: ExperienceComment[]; commentCount?: number; isLoading?: boolean; isFetchingMore?: boolean; hasMore?: boolean; isSubmitting?: boolean; error?: string | null; composerDisabled?: boolean; onClose: () => void; onLoadMore?: () => void; onLoadMoreReplies?: (rootCommentId: string) => void | Promise; onSubmitComment?: (body: string, meta?: ExperienceCommentSubmitMeta) => void | Promise; onRetry?: () => void; onAuthorClick?: (userId: string, username?: string) => void; onToggleLike?: (comment: ExperienceComment) => void; viewerUserId?: string; onEditComment?: (comment: ExperienceComment, body: string) => void | Promise; onDeleteComment?: (comment: ExperienceComment) => void | Promise; }; declare const ExperienceCommentsSheet: React__default.FC; type ExperienceComposerValues = { content: string; title?: string; traditionLabel?: string; category?: ExperienceCategory; locationLabel?: string; visibility: SocialVisibility; eventId?: string; }; type ExperienceComposerProps = { initialValues?: Partial; eventTitle?: string; submitting?: boolean; onSubmit: (values: ExperienceComposerValues) => void; onCancel?: () => void; submitLabel?: string; }; declare const ExperienceComposer: React__default.FC; type ExperienceDetailViewProps = { experience: Experience; similarExperiences?: Experience[]; viewerUserId?: string; alsoExperiencedLoading?: boolean; onAlsoExperienced?: () => void; onReactionToggle?: (type: ExperienceReactionType) => void; onComment?: () => void; onShare?: () => void; onReport?: () => void; onEdit?: (value: { content: string; title?: string | null; }) => void | Promise; onDelete?: () => void | Promise; onAuthorClick?: () => void; onSimilarOpen?: (id: string) => void; }; declare const ExperienceDetailView: React__default.FC; type QuestionCardProps = { question: Question; viewerUserId?: string; /** Opens answers sheet (same role as experience comments). */ onOpenAnswers?: (id: string) => void; /** Content tap — defaults to opening answers when onOpenAnswers is set. */ onOpen?: (id: string) => void; onReactionToggle?: (id: string, type: ExperienceReactionType) => void; onShare?: (id: string) => void; onBookmark?: (id: string) => void; onAuthorClick?: (userId: string, username?: string) => void; }; declare const QuestionCard: React__default.FC; type QuestionComposerValues = { title: string; description?: string; traditionLabel?: string; category?: ExperienceCategory; visibility: SocialVisibility; }; type QuestionComposerProps = { initialValues?: Partial; submitting?: boolean; onSubmit: (values: QuestionComposerValues) => void; onCancel?: () => void; }; declare const QuestionComposer: React__default.FC; type QuestionAnswerCardProps = { answer: QuestionAnswer; onAuthorClick?: (userId: string, username?: string) => void; }; declare const QuestionAnswerCard: React__default.FC; type QuestionAnswersSheetProps = { open: boolean; questionId?: string | null; questionTitle?: string | null; answers?: QuestionAnswer[]; answerCount?: number; isLoading?: boolean; isSubmitting?: boolean; error?: string | null; composerDisabled?: boolean; onClose: () => void; onSubmitAnswer?: (content: string) => void | Promise; onRetry?: () => void; onAuthorClick?: (userId: string, username?: string) => void; }; /** * Bottom sheet for reading/writing question answers — mirrors * ExperienceCommentsSheet so Explorar/feed stay in place. */ declare const QuestionAnswersSheet: React__default.FC; type QuestionSourceBadgeProps = { source?: QuestionSource | null; }; declare const QuestionSourceBadge: React__default.FC; type JourneyProfileProps = { profile: SocialProfile; isOwnProfile?: boolean; connectionLoading?: boolean; onBack?: () => void; onSearch?: () => void; onMore?: () => void; onConnect?: () => void; onDisconnect?: () => void; onMessage?: () => void; onEdit?: () => void; onShare?: () => void; onBlock?: () => void; onOpenJoined?: () => void; onOpenFollowing?: () => void; onOpenFollowers?: () => void; showVerificationBanner?: boolean; /** Earn (unverified) vs expiring urgency (≤3 days left). */ verificationBannerMode?: "earn" | "expiring"; verificationDaysRemaining?: number | null; /** Opens Selo de Presença progress sheet (replaces plan upsell). */ onOpenVerificationProgress?: () => void; /** @deprecated Use onOpenVerificationProgress */ onGetVerification?: () => void; onDismissVerification?: () => void; /** @deprecated Prefer profile.followingCount / followersCount */ experiencesCount?: number; /** @deprecated Prefer profile.followingCount / followersCount */ connectionsCount?: number; }; declare const JourneyProfile: React__default.FC; type SocialVerificationProgress = { activeDays7: number; daysRequired: number; posts30: number; postsRequired: number; verified: boolean; verifiedUntil?: string | null; presenceDayKeys7?: string[]; daysRemaining?: number | null; missing?: { days: number; posts: number; }; }; type SocialVerificationPrimaryActionKind = "presence" | "publish" | "home"; type SocialVerificationProgressSheetProps = { open: boolean; onClose: () => void; progress?: SocialVerificationProgress | null; isLoading?: boolean; error?: string | null; onRetry?: () => void; /** Rolling week ending today (SP); if omitted, derived from presenceDayKeys7. */ weekDays?: Array<{ dateKey: string; present: boolean; label: string; }>; primaryActionKind?: SocialVerificationPrimaryActionKind; primaryActionLabel?: string; onPrimaryAction?: () => void; }; declare const SocialVerificationProgressSheet: React__default.FC; type SocialVerificationCelebrationVariant = "earned" | "extended"; type SocialVerificationEarnedCelebrationProps = { open: boolean; onClose: () => void; /** First grant vs renewal. */ variant?: SocialVerificationCelebrationVariant; /** ISO date; shown as “Ativo até dd/mm”. */ verifiedUntil?: string | null; /** Validity length for copy (default 14). */ validityDays?: number; onContinue?: () => void; onViewProfile?: () => void; continueLabel?: string; viewProfileLabel?: string; }; declare const SocialVerificationEarnedCelebration: React__default.FC; type SocialCreateActionKind = "experience" | "question" | "message"; type SocialCreateActionsSheetProps = { open: boolean; onClose: () => void; onCreateExperience?: () => void; onCreateQuestion?: () => void; onComposeMessage?: () => void; /** Fired after an option is chosen (before navigation callback). */ onSelectAction?: (kind: SocialCreateActionKind) => void; }; declare const SocialCreateActionsSheet: React__default.FC; type SimilarPeopleCardProps = { people: SimilarPerson[]; onPersonClick?: (userId: string, username?: string) => void; onConnect?: (userId: string) => void; title?: string; }; declare const SimilarPeopleCard: React__default.FC; type SimilarExperienceCardProps = { experience: Experience; onOpen?: (id: string) => void; }; declare const SimilarExperienceCard: React__default.FC; type ConnectionButtonProps = { status?: "NONE" | "PENDING" | "CONNECTED" | "SELF"; /** When PENDING: OUTBOUND = waiting, INBOUND = accept. */ direction?: "OUTBOUND" | "INBOUND"; loading?: boolean; onConnect?: () => void; onDisconnect?: () => void; }; declare const ConnectionButton: React__default.FC; type PrivacySelectorProps = { value: SocialVisibility | null; onChange: (value: SocialVisibility) => void; label?: string; disabled?: boolean; options?: SocialVisibility[]; }; declare const PrivacySelector: React__default.FC; type SocialFeedVisibilitySheetProps = { open: boolean; value: SocialVisibility | null; onClose: () => void; onChange: (value: SocialVisibility | null) => void; }; declare const SocialFeedVisibilitySheet: React__default.FC; type PostGiraPromptProps = { eventTitle: string; onShareExperience?: () => void; onDismiss?: () => void; }; declare const PostGiraPrompt: React__default.FC; type ShareSheetProps = { open: boolean; onClose: () => void; title?: string; previewText: string; shareUrl: string; onWhatsAppShare?: () => void; onCopyLink?: () => void; onShareStarted?: (channel: "WHATSAPP" | "LINK") => void; }; declare const ShareSheet: React__default.FC; type WhatsAppShareButtonProps = { text: string; label?: string; onClick?: () => void; }; declare const WhatsAppShareButton: React__default.FC; type SocialTextEditPayload = { content: string; title?: string | null; }; type SocialEditTextDialogProps = { open: boolean; dialogTitle: string; contentLabel: string; initialContent: string; initialTitle?: string | null; showTitle?: boolean; submitting?: boolean; maxLength?: number; onClose: () => void; onSave: (value: SocialTextEditPayload) => void | Promise; }; declare const SocialEditTextDialog: React__default.FC; type SocialDeleteKind = "post" | "comment" | "reply"; type SocialDeleteConfirmDialogProps = { open: boolean; kind: SocialDeleteKind; submitting?: boolean; onClose: () => void; onConfirm: () => void | Promise; }; declare const SocialDeleteConfirmDialog: React__default.FC; type ReportDialogProps = { open: boolean; onClose: () => void; onSubmit: (payload: { reason: SocialReportReason; details?: string; }) => void; submitting?: boolean; }; declare const ReportDialog: React__default.FC; type BlockDialogProps = { open: boolean; displayName?: string; onClose: () => void; onConfirm: () => void; submitting?: boolean; }; declare const BlockDialog: React__default.FC; declare const SOCIAL_HOME_HEADER_HEIGHT = 53; type SocialHomeHeaderProps = { avatarUrl?: string | null; displayName?: string; /** When false, parent wraps this in a sliding chrome shell. Default true. */ fixed?: boolean; isScrolling?: boolean; onOpenDrawer?: () => void; onOpenFilter?: () => void; /** True when a visibility filter is applied. */ filterActive?: boolean; /** Number of applied filters, shown as a badge on the filter button. */ filterCount?: number; }; declare const SocialHomeHeader: React__default.FC; type SocialAccountDrawerProps = { open: boolean; onClose: () => void; currentUser?: SocialHomeCurrentUser; /** Unread direct messages (messaging inbox). */ messagesUnreadCount?: number; /** Unread Social notifications (excludes DMs). */ notificationsUnreadCount?: number; /** Inbound PENDING count; shows Pedidos row when > 0. */ pendingFollowersCount?: number; onOpenProfile?: () => void; onOpenFollowing?: () => void; onOpenFollowers?: () => void; onOpenRequests?: () => void; onOpenSaved?: () => void; onOpenMessages?: () => void; onOpenNotifications?: () => void; onOpenVerificationProgress?: () => void; /** Compact Selo status for drawer trailing text. */ verificationSummary?: { verified: boolean; activeDays7: number; daysRequired: number; daysRemaining?: number | null; } | null; onExitToApp?: () => void; }; declare const SocialAccountDrawer: React__default.FC; /** Inner pill height (actions row). */ declare const SOCIAL_HOME_BOTTOM_NAV_HEIGHT = 52; /** Float margin below the pill. */ declare const SOCIAL_HOME_BOTTOM_NAV_FLOAT_MB = 16; /** Total clearance for feed padding (pill + float margin). */ declare const SOCIAL_HOME_BOTTOM_NAV_CLEARANCE: number; type SocialHomeBottomNavProps = { active?: "home" | "messages" | "notifications" | "search"; /** Unread direct messages (messaging inbox). */ messagesUnreadCount?: number; /** Unread Social notifications (excludes DMs). */ notificationsUnreadCount?: number; onNavigateHome?: () => void; onOpenMessages?: () => void; onOpenNotifications?: () => void; onOpenSearch?: () => void; /** When provided, parent owns hide-on-scroll; otherwise this nav listens itself. */ isScrolling?: boolean; }; declare const SocialHomeBottomNav: React__default.FC; type SocialConversationRowProps = { conversation: SocialConversation; onOpen?: (conversationId: string) => void; }; declare const SocialConversationRow: React__default.FC; type SocialMessageBubbleProps = { message: SocialMessage; onRetry?: (messageId: string) => void; /** Peer avatar URL for incoming messages (WhatsApp 1:1). */ peerAvatarUrl?: string | null; peerDisplayName?: string; /** Show peer avatar on this row (last message in an incoming cluster). */ showPeerAvatar?: boolean; /** Last message in a consecutive same-sender cluster (tail corner). */ isClusterEnd?: boolean; /** First message in a consecutive same-sender cluster. */ isClusterStart?: boolean; /** Vertical rhythm: tighter inside a cluster. */ dense?: boolean; }; declare const SocialMessageBubble: React__default.FC; type PeerMessageListProps = { messages: SocialMessage[]; peer: SocialConversationPeer; unreadBeforeMessageId?: string | null; onRetryMessage?: (messageId: string) => void; }; declare const PeerMessageList: React__default.FC; type SocialMessageComposerProps = { value: string; onChange: (value: string) => void; onSend: (message: string) => void; isSending?: boolean; disabled?: boolean; placeholder?: string; maxLength?: number; /** * `drawer` blends with GenericDrawer translucent paper. * `page` keeps opaque surfaces for full-page messaging. */ variant?: "page" | "drawer"; }; declare const SocialMessageComposer: React__default.FC; type SocialUnreadIndicatorProps = { count?: number; label?: string; compact?: boolean; }; declare const SocialUnreadIndicator: React__default.FC; type SocialReadOnlyNoticeProps = { message?: string; }; declare const SocialReadOnlyNotice: React__default.FC; declare const AcademyCourseSummarySchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; progressPercentage: z.ZodNumber; currentModule: z.ZodNumber; status: z.ZodEnum<["PENDING", "CONFIRMED", "IN_PROGRESS", "FINALIZED", "REALIZED", "NOT_REALIZED", "CANCELLED", "MODEL", "COMPLETED", "ACTIVE", "INACTIVE", "NOT_STARTED"]>; }, "strip", z.ZodTypeAny, { title: string; id: string; status: "ACTIVE" | "PENDING" | "CONFIRMED" | "INACTIVE" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | "COMPLETED" | "NOT_STARTED"; progressPercentage: number; currentModule: number; }, { title: string; id: string; status: "ACTIVE" | "PENDING" | "CONFIRMED" | "INACTIVE" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | "COMPLETED" | "NOT_STARTED"; progressPercentage: number; currentModule: number; }>; declare const AcademyModuleSchema: z.ZodObject<{ id: z.ZodString; code: z.ZodString; title: z.ZodString; description: z.ZodOptional>; classes: z.ZodOptional>; videoUrl: z.ZodOptional>; videos: z.ZodOptional>; youtubeUrl: z.ZodString; durationSeconds: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; youtubeUrl: string; description?: string | null | undefined; durationSeconds?: number | undefined; }, { title: string; id: string; youtubeUrl: string; description?: string | null | undefined; durationSeconds?: number | undefined; }>, "many">>; durationSeconds: z.ZodOptional; ctaLabel: z.ZodString; ctaUrl: z.ZodString; displayOrder: z.ZodNumber; status: z.ZodEnum<["PENDING", "CONFIRMED", "IN_PROGRESS", "FINALIZED", "REALIZED", "NOT_REALIZED", "CANCELLED", "MODEL", "COMPLETED", "ACTIVE", "INACTIVE", "NOT_STARTED"]>; progressPercent: z.ZodNumber; }, "strip", z.ZodTypeAny, { title: string; id: string; code: string; status: "ACTIVE" | "PENDING" | "CONFIRMED" | "INACTIVE" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | "COMPLETED" | "NOT_STARTED"; ctaLabel: string; ctaUrl: string; displayOrder: number; progressPercent: number; classes?: string[] | undefined; description?: string | null | undefined; videoUrl?: string | null | undefined; durationSeconds?: number | undefined; videos?: { title: string; id: string; youtubeUrl: string; description?: string | null | undefined; durationSeconds?: number | undefined; }[] | undefined; }, { title: string; id: string; code: string; status: "ACTIVE" | "PENDING" | "CONFIRMED" | "INACTIVE" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | "COMPLETED" | "NOT_STARTED"; ctaLabel: string; ctaUrl: string; displayOrder: number; progressPercent: number; classes?: string[] | undefined; description?: string | null | undefined; videoUrl?: string | null | undefined; durationSeconds?: number | undefined; videos?: { title: string; id: string; youtubeUrl: string; description?: string | null | undefined; durationSeconds?: number | undefined; }[] | undefined; }>; declare const AcademyBadgeSchema: z.ZodObject<{ id: z.ZodString; code: z.ZodString; name: z.ZodString; description: z.ZodOptional>; icon: z.ZodOptional>; unlocked: z.ZodBoolean; }, "strip", z.ZodTypeAny, { id: string; code: string; name: string; unlocked: boolean; icon?: string | null | undefined; description?: string | null | undefined; }, { id: string; code: string; name: string; unlocked: boolean; icon?: string | null | undefined; description?: string | null | undefined; }>; declare const AcademyDashboardSchema: z.ZodObject<{ course: z.ZodObject<{ id: z.ZodString; title: z.ZodString; progressPercentage: z.ZodNumber; currentModule: z.ZodNumber; status: z.ZodEnum<["PENDING", "CONFIRMED", "IN_PROGRESS", "FINALIZED", "REALIZED", "NOT_REALIZED", "CANCELLED", "MODEL", "COMPLETED", "ACTIVE", "INACTIVE", "NOT_STARTED"]>; }, "strip", z.ZodTypeAny, { title: string; id: string; status: "ACTIVE" | "PENDING" | "CONFIRMED" | "INACTIVE" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | "COMPLETED" | "NOT_STARTED"; progressPercentage: number; currentModule: number; }, { title: string; id: string; status: "ACTIVE" | "PENDING" | "CONFIRMED" | "INACTIVE" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | "COMPLETED" | "NOT_STARTED"; progressPercentage: number; currentModule: number; }>; modules: z.ZodArray>; classes: z.ZodOptional>; videoUrl: z.ZodOptional>; videos: z.ZodOptional>; youtubeUrl: z.ZodString; durationSeconds: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; youtubeUrl: string; description?: string | null | undefined; durationSeconds?: number | undefined; }, { title: string; id: string; youtubeUrl: string; description?: string | null | undefined; durationSeconds?: number | undefined; }>, "many">>; durationSeconds: z.ZodOptional; ctaLabel: z.ZodString; ctaUrl: z.ZodString; displayOrder: z.ZodNumber; status: z.ZodEnum<["PENDING", "CONFIRMED", "IN_PROGRESS", "FINALIZED", "REALIZED", "NOT_REALIZED", "CANCELLED", "MODEL", "COMPLETED", "ACTIVE", "INACTIVE", "NOT_STARTED"]>; progressPercent: z.ZodNumber; }, "strip", z.ZodTypeAny, { title: string; id: string; code: string; status: "ACTIVE" | "PENDING" | "CONFIRMED" | "INACTIVE" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | "COMPLETED" | "NOT_STARTED"; ctaLabel: string; ctaUrl: string; displayOrder: number; progressPercent: number; classes?: string[] | undefined; description?: string | null | undefined; videoUrl?: string | null | undefined; durationSeconds?: number | undefined; videos?: { title: string; id: string; youtubeUrl: string; description?: string | null | undefined; durationSeconds?: number | undefined; }[] | undefined; }, { title: string; id: string; code: string; status: "ACTIVE" | "PENDING" | "CONFIRMED" | "INACTIVE" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | "COMPLETED" | "NOT_STARTED"; ctaLabel: string; ctaUrl: string; displayOrder: number; progressPercent: number; classes?: string[] | undefined; description?: string | null | undefined; videoUrl?: string | null | undefined; durationSeconds?: number | undefined; videos?: { title: string; id: string; youtubeUrl: string; description?: string | null | undefined; durationSeconds?: number | undefined; }[] | undefined; }>, "many">; badges: z.ZodArray>; icon: z.ZodOptional>; unlocked: z.ZodBoolean; }, "strip", z.ZodTypeAny, { id: string; code: string; name: string; unlocked: boolean; icon?: string | null | undefined; description?: string | null | undefined; }, { id: string; code: string; name: string; unlocked: boolean; icon?: string | null | undefined; description?: string | null | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { course: { title: string; id: string; status: "ACTIVE" | "PENDING" | "CONFIRMED" | "INACTIVE" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | "COMPLETED" | "NOT_STARTED"; progressPercentage: number; currentModule: number; }; modules: { title: string; id: string; code: string; status: "ACTIVE" | "PENDING" | "CONFIRMED" | "INACTIVE" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | "COMPLETED" | "NOT_STARTED"; ctaLabel: string; ctaUrl: string; displayOrder: number; progressPercent: number; classes?: string[] | undefined; description?: string | null | undefined; videoUrl?: string | null | undefined; durationSeconds?: number | undefined; videos?: { title: string; id: string; youtubeUrl: string; description?: string | null | undefined; durationSeconds?: number | undefined; }[] | undefined; }[]; badges: { id: string; code: string; name: string; unlocked: boolean; icon?: string | null | undefined; description?: string | null | undefined; }[]; }, { course: { title: string; id: string; status: "ACTIVE" | "PENDING" | "CONFIRMED" | "INACTIVE" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | "COMPLETED" | "NOT_STARTED"; progressPercentage: number; currentModule: number; }; modules: { title: string; id: string; code: string; status: "ACTIVE" | "PENDING" | "CONFIRMED" | "INACTIVE" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | "COMPLETED" | "NOT_STARTED"; ctaLabel: string; ctaUrl: string; displayOrder: number; progressPercent: number; classes?: string[] | undefined; description?: string | null | undefined; videoUrl?: string | null | undefined; durationSeconds?: number | undefined; videos?: { title: string; id: string; youtubeUrl: string; description?: string | null | undefined; durationSeconds?: number | undefined; }[] | undefined; }[]; badges: { id: string; code: string; name: string; unlocked: boolean; icon?: string | null | undefined; description?: string | null | undefined; }[]; }>; declare const AcademyNextStepSchema: z.ZodObject<{ moduleId: z.ZodNullable; moduleTitle: z.ZodNullable; ctaLabel: z.ZodString; ctaUrl: z.ZodString; progressPercentage: z.ZodNumber; }, "strip", z.ZodTypeAny, { progressPercentage: number; ctaLabel: string; ctaUrl: string; moduleId: string | null; moduleTitle: string | null; }, { progressPercentage: number; ctaLabel: string; ctaUrl: string; moduleId: string | null; moduleTitle: string | null; }>; declare const AcademyUpgradeSignalSchema: z.ZodObject<{ score: z.ZodNumber; isEligible: z.ZodBoolean; reason: z.ZodOptional>; nextBestAction: z.ZodOptional>; }, "strip", z.ZodTypeAny, { score: number; isEligible: boolean; reason?: string | null | undefined; nextBestAction?: string | null | undefined; }, { score: number; isEligible: boolean; reason?: string | null | undefined; nextBestAction?: string | null | undefined; }>; declare const AcademyPagePropsSchema: z.ZodObject<{ dashboard: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; status: "ACTIVE" | "PENDING" | "CONFIRMED" | "INACTIVE" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | "COMPLETED" | "NOT_STARTED"; progressPercentage: number; currentModule: number; }, { title: string; id: string; status: "ACTIVE" | "PENDING" | "CONFIRMED" | "INACTIVE" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | "COMPLETED" | "NOT_STARTED"; progressPercentage: number; currentModule: number; }>; modules: z.ZodArray>; classes: z.ZodOptional>; videoUrl: z.ZodOptional>; videos: z.ZodOptional>; youtubeUrl: z.ZodString; durationSeconds: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; youtubeUrl: string; description?: string | null | undefined; durationSeconds?: number | undefined; }, { title: string; id: string; youtubeUrl: string; description?: string | null | undefined; durationSeconds?: number | undefined; }>, "many">>; durationSeconds: z.ZodOptional; ctaLabel: z.ZodString; ctaUrl: z.ZodString; displayOrder: z.ZodNumber; status: z.ZodEnum<["PENDING", "CONFIRMED", "IN_PROGRESS", "FINALIZED", "REALIZED", "NOT_REALIZED", "CANCELLED", "MODEL", "COMPLETED", "ACTIVE", "INACTIVE", "NOT_STARTED"]>; progressPercent: z.ZodNumber; }, "strip", z.ZodTypeAny, { title: string; id: string; code: string; status: "ACTIVE" | "PENDING" | "CONFIRMED" | "INACTIVE" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | "COMPLETED" | "NOT_STARTED"; ctaLabel: string; ctaUrl: string; displayOrder: number; progressPercent: number; classes?: string[] | undefined; description?: string | null | undefined; videoUrl?: string | null | undefined; durationSeconds?: number | undefined; videos?: { title: string; id: string; youtubeUrl: string; description?: string | null | undefined; durationSeconds?: number | undefined; }[] | undefined; }, { title: string; id: string; code: string; status: "ACTIVE" | "PENDING" | "CONFIRMED" | "INACTIVE" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | "COMPLETED" | "NOT_STARTED"; ctaLabel: string; ctaUrl: string; displayOrder: number; progressPercent: number; classes?: string[] | undefined; description?: string | null | undefined; videoUrl?: string | null | undefined; durationSeconds?: number | undefined; videos?: { title: string; id: string; youtubeUrl: string; description?: string | null | undefined; durationSeconds?: number | undefined; }[] | undefined; }>, "many">; badges: z.ZodArray>; icon: z.ZodOptional>; unlocked: z.ZodBoolean; }, "strip", z.ZodTypeAny, { id: string; code: string; name: string; unlocked: boolean; icon?: string | null | undefined; description?: string | null | undefined; }, { id: string; code: string; name: string; unlocked: boolean; icon?: string | null | undefined; description?: string | null | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { course: { title: string; id: string; status: "ACTIVE" | "PENDING" | "CONFIRMED" | "INACTIVE" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | "COMPLETED" | "NOT_STARTED"; progressPercentage: number; currentModule: number; }; modules: { title: string; id: string; code: string; status: "ACTIVE" | "PENDING" | "CONFIRMED" | "INACTIVE" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | "COMPLETED" | "NOT_STARTED"; ctaLabel: string; ctaUrl: string; displayOrder: number; progressPercent: number; classes?: string[] | undefined; description?: string | null | undefined; videoUrl?: string | null | undefined; durationSeconds?: number | undefined; videos?: { title: string; id: string; youtubeUrl: string; description?: string | null | undefined; durationSeconds?: number | undefined; }[] | undefined; }[]; badges: { id: string; code: string; name: string; unlocked: boolean; icon?: string | null | undefined; description?: string | null | undefined; }[]; }, { course: { title: string; id: string; status: "ACTIVE" | "PENDING" | "CONFIRMED" | "INACTIVE" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | "COMPLETED" | "NOT_STARTED"; progressPercentage: number; currentModule: number; }; modules: { title: string; id: string; code: string; status: "ACTIVE" | "PENDING" | "CONFIRMED" | "INACTIVE" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | "COMPLETED" | "NOT_STARTED"; ctaLabel: string; ctaUrl: string; displayOrder: number; progressPercent: number; classes?: string[] | undefined; description?: string | null | undefined; videoUrl?: string | null | undefined; durationSeconds?: number | undefined; videos?: { title: string; id: string; youtubeUrl: string; description?: string | null | undefined; durationSeconds?: number | undefined; }[] | undefined; }[]; badges: { id: string; code: string; name: string; unlocked: boolean; icon?: string | null | undefined; description?: string | null | undefined; }[]; }>>>; nextStep: z.ZodOptional; moduleTitle: z.ZodNullable; ctaLabel: z.ZodString; ctaUrl: z.ZodString; progressPercentage: z.ZodNumber; }, "strip", z.ZodTypeAny, { progressPercentage: number; ctaLabel: string; ctaUrl: string; moduleId: string | null; moduleTitle: string | null; }, { progressPercentage: number; ctaLabel: string; ctaUrl: string; moduleId: string | null; moduleTitle: string | null; }>>>; upgradeSignal: z.ZodOptional>; nextBestAction: z.ZodOptional>; }, "strip", z.ZodTypeAny, { score: number; isEligible: boolean; reason?: string | null | undefined; nextBestAction?: string | null | undefined; }, { score: number; isEligible: boolean; reason?: string | null | undefined; nextBestAction?: string | null | undefined; }>>>; certificate: z.ZodOptional; verificationCode: z.ZodString; completionDate: z.ZodOptional>; issuedAt: z.ZodOptional>; pdfUrl: z.ZodOptional>; holder: z.ZodOptional>; name: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; mediumId?: string | null | undefined; }, { name: string; mediumId?: string | null | undefined; }>>>; terreiro: z.ZodOptional>; name: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id?: string | null | undefined; name?: string | null | undefined; }, { id?: string | null | undefined; name?: string | null | undefined; }>>>; course: z.ZodOptional>; code: z.ZodOptional>; title: z.ZodOptional>; }, "strip", z.ZodTypeAny, { title?: string | null | undefined; id?: string | null | undefined; code?: string | null | undefined; }, { title?: string | null | undefined; id?: string | null | undefined; code?: string | null | undefined; }>>>; }, "strip", z.ZodTypeAny, { id: string; status: "ACTIVE" | "REVOKED"; verificationCode: string; terreiro?: { id?: string | null | undefined; name?: string | null | undefined; } | null | undefined; completionDate?: string | null | undefined; issuedAt?: string | null | undefined; course?: { title?: string | null | undefined; id?: string | null | undefined; code?: string | null | undefined; } | null | undefined; pdfUrl?: string | null | undefined; holder?: { name: string; mediumId?: string | null | undefined; } | null | undefined; }, { id: string; status: "ACTIVE" | "REVOKED"; verificationCode: string; terreiro?: { id?: string | null | undefined; name?: string | null | undefined; } | null | undefined; completionDate?: string | null | undefined; issuedAt?: string | null | undefined; course?: { title?: string | null | undefined; id?: string | null | undefined; code?: string | null | undefined; } | null | undefined; pdfUrl?: string | null | undefined; holder?: { name: string; mediumId?: string | null | undefined; } | null | undefined; }>>>; isLoading: z.ZodOptional; error: z.ZodOptional>; styleVariant: z.ZodDefault>; canView: z.ZodDefault; canUpdate: z.ZodDefault; canDownloadCertificate: z.ZodDefault; isPersonalProfile: z.ZodDefault; onBack: z.ZodOptional, z.ZodVoid>>; onRecalculate: z.ZodOptional, z.ZodUnknown>>; onDownloadCertificate: z.ZodOptional, z.ZodUnknown>>; onCtaClick: z.ZodOptional, z.ZodVoid>>; onModuleClick: z.ZodOptional, z.ZodVoid>>; }, "strip", z.ZodTypeAny, { isPersonalProfile: boolean; styleVariant: "corporate" | "premium"; canView: boolean; canUpdate: boolean; canDownloadCertificate: boolean; error?: string | null | undefined; onBack?: ((...args: unknown[]) => void) | undefined; isLoading?: boolean | undefined; dashboard?: { course: { title: string; id: string; status: "ACTIVE" | "PENDING" | "CONFIRMED" | "INACTIVE" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | "COMPLETED" | "NOT_STARTED"; progressPercentage: number; currentModule: number; }; modules: { title: string; id: string; code: string; status: "ACTIVE" | "PENDING" | "CONFIRMED" | "INACTIVE" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | "COMPLETED" | "NOT_STARTED"; ctaLabel: string; ctaUrl: string; displayOrder: number; progressPercent: number; classes?: string[] | undefined; description?: string | null | undefined; videoUrl?: string | null | undefined; durationSeconds?: number | undefined; videos?: { title: string; id: string; youtubeUrl: string; description?: string | null | undefined; durationSeconds?: number | undefined; }[] | undefined; }[]; badges: { id: string; code: string; name: string; unlocked: boolean; icon?: string | null | undefined; description?: string | null | undefined; }[]; } | null | undefined; nextStep?: { progressPercentage: number; ctaLabel: string; ctaUrl: string; moduleId: string | null; moduleTitle: string | null; } | null | undefined; upgradeSignal?: { score: number; isEligible: boolean; reason?: string | null | undefined; nextBestAction?: string | null | undefined; } | null | undefined; certificate?: { id: string; status: "ACTIVE" | "REVOKED"; verificationCode: string; terreiro?: { id?: string | null | undefined; name?: string | null | undefined; } | null | undefined; completionDate?: string | null | undefined; issuedAt?: string | null | undefined; course?: { title?: string | null | undefined; id?: string | null | undefined; code?: string | null | undefined; } | null | undefined; pdfUrl?: string | null | undefined; holder?: { name: string; mediumId?: string | null | undefined; } | null | undefined; } | null | undefined; onRecalculate?: ((...args: unknown[]) => unknown) | undefined; onDownloadCertificate?: ((...args: unknown[]) => unknown) | undefined; onCtaClick?: ((args_0: string, ...args: unknown[]) => void) | undefined; onModuleClick?: ((args_0: string, ...args: unknown[]) => void) | undefined; }, { error?: string | null | undefined; onBack?: ((...args: unknown[]) => void) | undefined; isPersonalProfile?: boolean | undefined; isLoading?: boolean | undefined; dashboard?: { course: { title: string; id: string; status: "ACTIVE" | "PENDING" | "CONFIRMED" | "INACTIVE" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | "COMPLETED" | "NOT_STARTED"; progressPercentage: number; currentModule: number; }; modules: { title: string; id: string; code: string; status: "ACTIVE" | "PENDING" | "CONFIRMED" | "INACTIVE" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | "COMPLETED" | "NOT_STARTED"; ctaLabel: string; ctaUrl: string; displayOrder: number; progressPercent: number; classes?: string[] | undefined; description?: string | null | undefined; videoUrl?: string | null | undefined; durationSeconds?: number | undefined; videos?: { title: string; id: string; youtubeUrl: string; description?: string | null | undefined; durationSeconds?: number | undefined; }[] | undefined; }[]; badges: { id: string; code: string; name: string; unlocked: boolean; icon?: string | null | undefined; description?: string | null | undefined; }[]; } | null | undefined; nextStep?: { progressPercentage: number; ctaLabel: string; ctaUrl: string; moduleId: string | null; moduleTitle: string | null; } | null | undefined; upgradeSignal?: { score: number; isEligible: boolean; reason?: string | null | undefined; nextBestAction?: string | null | undefined; } | null | undefined; certificate?: { id: string; status: "ACTIVE" | "REVOKED"; verificationCode: string; terreiro?: { id?: string | null | undefined; name?: string | null | undefined; } | null | undefined; completionDate?: string | null | undefined; issuedAt?: string | null | undefined; course?: { title?: string | null | undefined; id?: string | null | undefined; code?: string | null | undefined; } | null | undefined; pdfUrl?: string | null | undefined; holder?: { name: string; mediumId?: string | null | undefined; } | null | undefined; } | null | undefined; styleVariant?: "corporate" | "premium" | undefined; canView?: boolean | undefined; canUpdate?: boolean | undefined; canDownloadCertificate?: boolean | undefined; onRecalculate?: ((...args: unknown[]) => unknown) | undefined; onDownloadCertificate?: ((...args: unknown[]) => unknown) | undefined; onCtaClick?: ((args_0: string, ...args: unknown[]) => void) | undefined; onModuleClick?: ((args_0: string, ...args: unknown[]) => void) | undefined; }>; type AcademyCourseSummary = z.infer; type AcademyModule = z.infer; type AcademyBadge = z.infer; type AcademyDashboard = z.infer; type AcademyNextStep = z.infer; type AcademyUpgradeSignal = z.infer; type AcademyPageProps = z.infer; declare const AcademyPage: React__default.FC; declare const useAcademyPage: (props: AcademyPageProps) => { data: { dashboard: { course: { title: string; id: string; status: "ACTIVE" | "PENDING" | "CONFIRMED" | "INACTIVE" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | "COMPLETED" | "NOT_STARTED"; progressPercentage: number; currentModule: number; }; modules: { title: string; id: string; code: string; status: "ACTIVE" | "PENDING" | "CONFIRMED" | "INACTIVE" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | "COMPLETED" | "NOT_STARTED"; ctaLabel: string; ctaUrl: string; displayOrder: number; progressPercent: number; classes?: string[] | undefined; description?: string | null | undefined; videoUrl?: string | null | undefined; durationSeconds?: number | undefined; videos?: { title: string; id: string; youtubeUrl: string; description?: string | null | undefined; durationSeconds?: number | undefined; }[] | undefined; }[]; badges: { id: string; code: string; name: string; unlocked: boolean; icon?: string | null | undefined; description?: string | null | undefined; }[]; } | null; sortedModules: { title: string; id: string; code: string; status: "ACTIVE" | "PENDING" | "CONFIRMED" | "INACTIVE" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | "COMPLETED" | "NOT_STARTED"; ctaLabel: string; ctaUrl: string; displayOrder: number; progressPercent: number; classes?: string[] | undefined; description?: string | null | undefined; videoUrl?: string | null | undefined; durationSeconds?: number | undefined; videos?: { title: string; id: string; youtubeUrl: string; description?: string | null | undefined; durationSeconds?: number | undefined; }[] | undefined; }[]; completedModules: number; modulesTotal: number; totalDurationLabel: string; nextStep: { progressPercentage: number; ctaLabel: string; ctaUrl: string; moduleId: string | null; moduleTitle: string | null; } | null; upgradeSignal: { score: number; isEligible: boolean; reason?: string | null | undefined; nextBestAction?: string | null | undefined; } | null; certificate: { id: string; status: "ACTIVE" | "REVOKED"; verificationCode: string; terreiro?: { id?: string | null | undefined; name?: string | null | undefined; } | null | undefined; completionDate?: string | null | undefined; issuedAt?: string | null | undefined; course?: { title?: string | null | undefined; id?: string | null | undefined; code?: string | null | undefined; } | null | undefined; pdfUrl?: string | null | undefined; holder?: { name: string; mediumId?: string | null | undefined; } | null | undefined; } | null; isLoading: boolean; error: string | null; canView: boolean; canUpdate: boolean; canDownloadCertificate: boolean; showAccessBlocked: boolean; ctaEnabled: boolean; isRecalculating: boolean; isDownloadingCertificate: boolean; actionError: string | null; canOpenModuleDetail: boolean; }; fns: { handleBack: () => void; handleRecalculate: () => Promise; handleNextStep: () => void; handleDownloadCertificate: () => Promise; handleModuleCta: (url?: string | null) => void; handleOpenModuleDetail: (moduleId: string) => void; }; }; declare const AcademyModuleVideoSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; description: z.ZodOptional>; youtubeUrl: z.ZodString; durationSeconds: z.ZodOptional; isCompleted: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; youtubeUrl: string; description?: string | null | undefined; durationSeconds?: number | undefined; isCompleted?: boolean | undefined; }, { title: string; id: string; youtubeUrl: string; description?: string | null | undefined; durationSeconds?: number | undefined; isCompleted?: boolean | undefined; }>; declare const AcademyModuleDetailSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; description: z.ZodOptional>; classes: z.ZodOptional>; status: z.ZodEnum<["PENDING", "CONFIRMED", "IN_PROGRESS", "FINALIZED", "REALIZED", "NOT_REALIZED", "CANCELLED", "MODEL", "COMPLETED", "ACTIVE", "INACTIVE", "NOT_STARTED"]>; progressPercent: z.ZodNumber; videos: z.ZodArray>; youtubeUrl: z.ZodString; durationSeconds: z.ZodOptional; isCompleted: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; youtubeUrl: string; description?: string | null | undefined; durationSeconds?: number | undefined; isCompleted?: boolean | undefined; }, { title: string; id: string; youtubeUrl: string; description?: string | null | undefined; durationSeconds?: number | undefined; isCompleted?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { title: string; id: string; status: "ACTIVE" | "PENDING" | "CONFIRMED" | "INACTIVE" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | "COMPLETED" | "NOT_STARTED"; videos: { title: string; id: string; youtubeUrl: string; description?: string | null | undefined; durationSeconds?: number | undefined; isCompleted?: boolean | undefined; }[]; progressPercent: number; classes?: string[] | undefined; description?: string | null | undefined; }, { title: string; id: string; status: "ACTIVE" | "PENDING" | "CONFIRMED" | "INACTIVE" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | "COMPLETED" | "NOT_STARTED"; videos: { title: string; id: string; youtubeUrl: string; description?: string | null | undefined; durationSeconds?: number | undefined; isCompleted?: boolean | undefined; }[]; progressPercent: number; classes?: string[] | undefined; description?: string | null | undefined; }>; declare const AcademyModulePagePropsSchema: z.ZodObject<{ module: z.ZodOptional>; classes: z.ZodOptional>; status: z.ZodEnum<["PENDING", "CONFIRMED", "IN_PROGRESS", "FINALIZED", "REALIZED", "NOT_REALIZED", "CANCELLED", "MODEL", "COMPLETED", "ACTIVE", "INACTIVE", "NOT_STARTED"]>; progressPercent: z.ZodNumber; videos: z.ZodArray>; youtubeUrl: z.ZodString; durationSeconds: z.ZodOptional; isCompleted: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; youtubeUrl: string; description?: string | null | undefined; durationSeconds?: number | undefined; isCompleted?: boolean | undefined; }, { title: string; id: string; youtubeUrl: string; description?: string | null | undefined; durationSeconds?: number | undefined; isCompleted?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { title: string; id: string; status: "ACTIVE" | "PENDING" | "CONFIRMED" | "INACTIVE" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | "COMPLETED" | "NOT_STARTED"; videos: { title: string; id: string; youtubeUrl: string; description?: string | null | undefined; durationSeconds?: number | undefined; isCompleted?: boolean | undefined; }[]; progressPercent: number; classes?: string[] | undefined; description?: string | null | undefined; }, { title: string; id: string; status: "ACTIVE" | "PENDING" | "CONFIRMED" | "INACTIVE" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | "COMPLETED" | "NOT_STARTED"; videos: { title: string; id: string; youtubeUrl: string; description?: string | null | undefined; durationSeconds?: number | undefined; isCompleted?: boolean | undefined; }[]; progressPercent: number; classes?: string[] | undefined; description?: string | null | undefined; }>>>; isLoading: z.ZodOptional; error: z.ZodOptional>; styleVariant: z.ZodDefault>; canView: z.ZodDefault; canUpdate: z.ZodDefault; isPersonalProfile: z.ZodDefault; activeVideoId: z.ZodOptional>; onBack: z.ZodOptional, z.ZodVoid>>; onSelectVideo: z.ZodOptional, z.ZodVoid>>; onMarkVideoWatched: z.ZodOptional, z.ZodUnknown>>; }, "strip", z.ZodTypeAny, { isPersonalProfile: boolean; styleVariant: "corporate" | "premium"; canView: boolean; canUpdate: boolean; error?: string | null | undefined; onBack?: ((...args: unknown[]) => void) | undefined; isLoading?: boolean | undefined; onSelectVideo?: ((args_0: string, ...args: unknown[]) => void) | undefined; module?: { title: string; id: string; status: "ACTIVE" | "PENDING" | "CONFIRMED" | "INACTIVE" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | "COMPLETED" | "NOT_STARTED"; videos: { title: string; id: string; youtubeUrl: string; description?: string | null | undefined; durationSeconds?: number | undefined; isCompleted?: boolean | undefined; }[]; progressPercent: number; classes?: string[] | undefined; description?: string | null | undefined; } | null | undefined; activeVideoId?: string | null | undefined; onMarkVideoWatched?: ((args_0: string, ...args: unknown[]) => unknown) | undefined; }, { error?: string | null | undefined; onBack?: ((...args: unknown[]) => void) | undefined; isPersonalProfile?: boolean | undefined; isLoading?: boolean | undefined; styleVariant?: "corporate" | "premium" | undefined; canView?: boolean | undefined; canUpdate?: boolean | undefined; onSelectVideo?: ((args_0: string, ...args: unknown[]) => void) | undefined; module?: { title: string; id: string; status: "ACTIVE" | "PENDING" | "CONFIRMED" | "INACTIVE" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | "COMPLETED" | "NOT_STARTED"; videos: { title: string; id: string; youtubeUrl: string; description?: string | null | undefined; durationSeconds?: number | undefined; isCompleted?: boolean | undefined; }[]; progressPercent: number; classes?: string[] | undefined; description?: string | null | undefined; } | null | undefined; activeVideoId?: string | null | undefined; onMarkVideoWatched?: ((args_0: string, ...args: unknown[]) => unknown) | undefined; }>; type AcademyModuleVideo = z.infer; type AcademyModuleDetail = z.infer; type AcademyModulePageProps = z.infer; declare const AcademyModulePage: React__default.FC; declare const useAcademyModulePage: (props: AcademyModulePageProps) => { data: { module: { title: string; id: string; status: "ACTIVE" | "PENDING" | "CONFIRMED" | "INACTIVE" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | "COMPLETED" | "NOT_STARTED"; videos: { title: string; id: string; youtubeUrl: string; description?: string | null | undefined; durationSeconds?: number | undefined; isCompleted?: boolean | undefined; }[]; progressPercent: number; classes?: string[] | undefined; description?: string | null | undefined; } | null; videos: { title: string; id: string; youtubeUrl: string; description?: string | null | undefined; durationSeconds?: number | undefined; isCompleted?: boolean | undefined; }[]; selectedVideo: { title: string; id: string; youtubeUrl: string; description?: string | null | undefined; durationSeconds?: number | undefined; isCompleted?: boolean | undefined; } | null; selectedVideoEmbedUrl: string | null; selectedVideoWatchUrl: string | null; isPlayerUnavailable: boolean; completedVideos: number; moduleProgressPercent: number; showAccessBlocked: boolean; isLoading: boolean; error: string | null; canView: boolean; canUpdate: boolean; canMarkWatched: boolean; markWatchedLabel: string; markWatchedHint: string | null; isMarkingWatched: boolean; actionError: string | null; }; fns: { handleBack: () => void; handleSelectVideo: (videoId: string) => void; handleMarkWatched: () => Promise; handlePlayerLoad: () => void; }; }; type ActivityKind = "ACTIVITY" | "RITUAL"; interface ActivityTypeLabels { /** "atividade" | "ritual" */ singular: string; /** "atividades" | "rituais" */ plural: string; /** "Atividade" | "Ritual" */ singularTitle: string; /** "Atividades" | "Rituais" */ pluralTitle: string; /** Definite article: "a" | "o" */ article: string; /** Indefinite article: "uma" | "um" */ indefinite: string; /** "esta" | "este" */ demonstrative: string; /** "da" | "do" */ ofThe: string; /** "desta" | "deste" */ ofThis: string; /** "nesta" | "neste" */ inThis: string; /** "Nova" | "Novo" */ newWord: string; /** Picks the grammatical gender form of an adjective ("Confirmada" / "Confirmado"). */ inflect: (feminine: string, masculine: string) => string; } declare const getActivityTypeLabels: (type: ActivityKind | null | undefined) => ActivityTypeLabels; declare const AvailableMemberSchema: z.ZodObject<{ id: z.ZodString; terreiro: z.ZodObject<{ id: z.ZodString; name: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; }, { id: string; name: string; }>; user: z.ZodObject<{ id: z.ZodString; email: z.ZodString; profile: z.ZodObject<{ firstName: z.ZodString; lastName: z.ZodString; avatarUrl: z.ZodNullable; }, "strip", z.ZodTypeAny, { firstName: string; lastName: string; avatarUrl: string | null; }, { firstName: string; lastName: string; avatarUrl: string | null; }>; }, "strip", z.ZodTypeAny, { id: string; email: string; profile: { firstName: string; lastName: string; avatarUrl: string | null; }; }, { id: string; email: string; profile: { firstName: string; lastName: string; avatarUrl: string | null; }; }>; status: z.ZodString; initiationDate: z.ZodNullable; ranks: z.ZodArray, "many">; roles: z.ZodArray, "many">; createdBy: z.ZodNullable; updatedBy: z.ZodNullable; }, "strip", z.ZodTypeAny, { id: string; status: string; terreiro: { id: string; name: string; }; ranks: { id: string; name: string; }[]; roles: { id: string; name: string; }[]; initiationDate: string | null; user: { id: string; email: string; profile: { firstName: string; lastName: string; avatarUrl: string | null; }; }; createdBy: string | null; updatedBy: string | null; }, { id: string; status: string; terreiro: { id: string; name: string; }; ranks: { id: string; name: string; }[]; roles: { id: string; name: string; }[]; initiationDate: string | null; user: { id: string; email: string; profile: { firstName: string; lastName: string; avatarUrl: string | null; }; }; createdBy: string | null; updatedBy: string | null; }>; type AvailableMember = z.infer; declare const BasicInfoSchema: z.ZodObject<{ title: z.ZodString; description: z.ZodOptional; type: z.ZodOptional>; }, "strip", z.ZodTypeAny, { title: string; type?: "ACTIVITY" | "RITUAL" | undefined; description?: string | undefined; }, { title: string; type?: "ACTIVITY" | "RITUAL" | undefined; description?: string | undefined; }>; declare const TimeSelectionSchema: z.ZodEffects>; isAllDay: z.ZodDefault; startTime: z.ZodOptional>; endTime: z.ZodOptional>; isTemplate: z.ZodDefault; }, "strip", z.ZodTypeAny, { isAllDay: boolean; isTemplate: boolean; date?: Date | null | undefined; startTime?: string | null | undefined; endTime?: string | null | undefined; }, { date?: Date | null | undefined; startTime?: string | null | undefined; endTime?: string | null | undefined; isAllDay?: boolean | undefined; isTemplate?: boolean | undefined; }>, { isAllDay: boolean; isTemplate: boolean; date?: Date | null | undefined; startTime?: string | null | undefined; endTime?: string | null | undefined; }, { date?: Date | null | undefined; startTime?: string | null | undefined; endTime?: string | null | undefined; isAllDay?: boolean | undefined; isTemplate?: boolean | undefined; }>; declare const MembersSelectionSchema: z.ZodEffects; minConfirmedMembers: z.ZodOptional; }, "strip", z.ZodTypeAny, { members: any[]; minConfirmedMembers?: number | undefined; }, { members: any[]; minConfirmedMembers?: number | undefined; }>, { members: any[]; minConfirmedMembers?: number | undefined; }, { members: any[]; minConfirmedMembers?: number | undefined; }>; declare const InsumosSelectionSchema: z.ZodObject<{ insumos: z.ZodOptional>; }, "strip", z.ZodTypeAny, { insumos?: any[] | undefined; }, { insumos?: any[] | undefined; }>; declare const TemplateSchema: z.ZodObject<{ isTemplate: z.ZodBoolean; }, "strip", z.ZodTypeAny, { isTemplate: boolean; }, { isTemplate: boolean; }>; declare const ActivityCheckinWindowSchema: z.ZodObject<{ qrCheckinEnabled: z.ZodOptional; checkinStartWindowMinutes: z.ZodDefault; checkinEndWindowMinutes: z.ZodDefault; }, "strip", z.ZodTypeAny, { checkinStartWindowMinutes: number; checkinEndWindowMinutes: number; qrCheckinEnabled?: boolean | undefined; }, { qrCheckinEnabled?: boolean | undefined; checkinStartWindowMinutes?: number | undefined; checkinEndWindowMinutes?: number | undefined; }>; declare const ActivityFormValuesSchema: z.ZodEffects; title: z.ZodString; description: z.ZodOptional; type: z.ZodOptional>; date: z.ZodOptional>; isAllDay: z.ZodDefault; startTime: z.ZodOptional>; endTime: z.ZodOptional>; members: z.ZodArray; insumos: z.ZodOptional>; isTemplate: z.ZodDefault; minConfirmedMembers: z.ZodOptional; qrCheckinEnabled: z.ZodOptional; checkinStartWindowMinutes: z.ZodOptional>; checkinEndWindowMinutes: z.ZodOptional>; }, "strip", z.ZodTypeAny, { title: string; members: any[]; isAllDay: boolean; isTemplate: boolean; id?: string | undefined; type?: "ACTIVITY" | "RITUAL" | undefined; date?: Date | null | undefined; description?: string | undefined; startTime?: string | null | undefined; endTime?: string | null | undefined; insumos?: any[] | undefined; qrCheckinEnabled?: boolean | undefined; checkinStartWindowMinutes?: number | undefined; checkinEndWindowMinutes?: number | undefined; minConfirmedMembers?: number | undefined; }, { title: string; members: any[]; id?: string | undefined; type?: "ACTIVITY" | "RITUAL" | undefined; date?: Date | null | undefined; description?: string | undefined; startTime?: string | null | undefined; endTime?: string | null | undefined; isAllDay?: boolean | undefined; insumos?: any[] | undefined; isTemplate?: boolean | undefined; qrCheckinEnabled?: boolean | undefined; checkinStartWindowMinutes?: number | undefined; checkinEndWindowMinutes?: number | undefined; minConfirmedMembers?: number | undefined; }>, { title: string; members: any[]; isAllDay: boolean; isTemplate: boolean; id?: string | undefined; type?: "ACTIVITY" | "RITUAL" | undefined; date?: Date | null | undefined; description?: string | undefined; startTime?: string | null | undefined; endTime?: string | null | undefined; insumos?: any[] | undefined; qrCheckinEnabled?: boolean | undefined; checkinStartWindowMinutes?: number | undefined; checkinEndWindowMinutes?: number | undefined; minConfirmedMembers?: number | undefined; }, { title: string; members: any[]; id?: string | undefined; type?: "ACTIVITY" | "RITUAL" | undefined; date?: Date | null | undefined; description?: string | undefined; startTime?: string | null | undefined; endTime?: string | null | undefined; isAllDay?: boolean | undefined; insumos?: any[] | undefined; isTemplate?: boolean | undefined; qrCheckinEnabled?: boolean | undefined; checkinStartWindowMinutes?: number | undefined; checkinEndWindowMinutes?: number | undefined; minConfirmedMembers?: number | undefined; }>; type ActivityFormValues = Omit, "date"> & { date: Date | null; }; interface ActivityOnboardingPageProps { activityType?: ActivityKind; /** When true, the user can switch between atividade and ritual. Create keeps the route type. */ allowTypeChange?: boolean; isPersonalProfile?: boolean; initialData?: ActivityFormValues; availableMembers?: Array; availableInsumos?: InventoryItem$2[]; canCreateModels?: boolean; templateQuotaMessage?: string; onComplete?: (data: ActivityFormValues) => void; onCancel?: () => void; onStepChange?: (step: number) => void; isLoading?: boolean; createFromModel?: boolean; error?: string; } type ActivityOnboardingValidationErrors = Partial>; declare const ActivityOnboardingPage: React__default.FC; /** * Pure utility functions for OnboardingStepper form state management. * * Extracted for: * - Single Responsibility: each function does one thing * - Testability: pure functions with no React dependencies * - Reusability: shared across stepper consumers and step components */ type FieldEvent = React.ChangeEvent | SelectChangeEvent; interface BasicInfoStepProps { formState: ActivityFormValues; validationErrors: ActivityOnboardingValidationErrors; onChange: (e: FieldEvent) => void; activityType?: ActivityKind; allowTypeChange?: boolean; } interface TimeSelectionStepProps { formState: ActivityFormValues; validationErrors: ActivityOnboardingValidationErrors; onChange: (e: unknown) => void; activityType?: ActivityKind; } interface ActivityCheckinWindowStepProps { formState: ActivityFormValues; validationErrors: ActivityOnboardingValidationErrors; onChange: (e: unknown) => void; /** Direct field setter — preferred over synthetic event via onChange */ setFieldValue?: (name: string, value: unknown) => void; activityType?: ActivityKind; } interface MembersSelectionStepProps { formState: ActivityFormValues; validationErrors: ActivityOnboardingValidationErrors; onChange: (e: any) => void; availableMembers?: any[]; activityType?: ActivityKind; } interface InsumosSelectionStepProps { formState: ActivityFormValues; validationErrors: ActivityOnboardingValidationErrors; onChange: (e: any) => void; availableInsumos?: any[]; activityType?: ActivityKind; } interface TemplateStepProps { formState: ActivityFormValues; validationErrors: ActivityOnboardingValidationErrors; onChange: (e: any) => void; createFromModel?: boolean; id?: string; canCreateModels?: boolean; templateQuotaMessage?: string; activityType?: ActivityKind; } interface ReviewStepProps { formState: ActivityFormValues; validationErrors: ActivityOnboardingValidationErrors; availableMembers?: Array; activityType?: ActivityKind; allowTypeChange?: boolean; } declare const useActivityOnboarding: (props: ActivityOnboardingPageProps) => { data: { steps: ({ id: string; label: string; title: string; description: string; component: (stepProps: any) => React__default.FunctionComponentElement; } | { id: string; label: string; title: string; description: string; component: (stepProps: any) => React__default.FunctionComponentElement; } | { id: string; label: string; title: string; description: string; component: (stepProps: any) => React__default.FunctionComponentElement; } | { id: string; label: string; title: string; description: string; component: (stepProps: any) => React__default.FunctionComponentElement; } | { id: string; label: string; title: string; description: string; component: (stepProps: any) => React__default.FunctionComponentElement; } | { id: string; label: string; title: string; description: string; component: (stepProps: any) => React__default.FunctionComponentElement; } | { id: string; label: string; title: string; description: string; component: (stepProps: any) => React__default.FunctionComponentElement; })[]; formState: ActivityFormValues; isLoading: boolean; error: string | undefined; completionMessages: string[]; }; fns: { getStepValidation: (stepId: string) => z.ZodEffects>; isAllDay: z.ZodDefault; startTime: z.ZodOptional>; endTime: z.ZodOptional>; isTemplate: z.ZodDefault; }, "strip", z.ZodTypeAny, { isAllDay: boolean; isTemplate: boolean; date?: Date | null | undefined; startTime?: string | null | undefined; endTime?: string | null | undefined; }, { date?: Date | null | undefined; startTime?: string | null | undefined; endTime?: string | null | undefined; isAllDay?: boolean | undefined; isTemplate?: boolean | undefined; }>, { isAllDay: boolean; isTemplate: boolean; date?: Date | null | undefined; startTime?: string | null | undefined; endTime?: string | null | undefined; }, { date?: Date | null | undefined; startTime?: string | null | undefined; endTime?: string | null | undefined; isAllDay?: boolean | undefined; isTemplate?: boolean | undefined; }> | z.ZodEffects; minConfirmedMembers: z.ZodOptional; }, "strip", z.ZodTypeAny, { members: any[]; minConfirmedMembers?: number | undefined; }, { members: any[]; minConfirmedMembers?: number | undefined; }>, { members: any[]; minConfirmedMembers?: number | undefined; }, { members: any[]; minConfirmedMembers?: number | undefined; }> | z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; handleComplete: (formData: ActivityFormValues) => Promise; handleCancel: () => void; onStepChange: (newStep: number) => void; }; }; declare const ActivityEditPagePropsSchema: z.ZodObject<{ activityId: z.ZodNumber; onCancel: z.ZodOptional, z.ZodVoid>>; onSave: z.ZodOptional; startTime: z.ZodString; endTime: z.ZodString; members: z.ZodArray; isSelected: z.ZodDefault; }, "strip", z.ZodTypeAny, { id: string; name: string; email: string; phone: string; isSelected: boolean; profilePictureUrl?: string | undefined; }, { id: string; name: string; email: string; phone: string; profilePictureUrl?: string | undefined; isSelected?: boolean | undefined; }>, "many">; insumos: z.ZodArray; quantity: z.ZodNumber; unit: z.ZodString; imageUrl: z.ZodOptional; availableQuantity: z.ZodNumber; isSelected: z.ZodDefault; fromActivity: z.ZodDefault; }, "strip", z.ZodTypeAny, { id: string; name: string; unit: string; quantity: number; isSelected: boolean; availableQuantity: number; fromActivity: boolean; description?: string | undefined; imageUrl?: string | undefined; }, { id: string; name: string; unit: string; quantity: number; availableQuantity: number; description?: string | undefined; imageUrl?: string | undefined; isSelected?: boolean | undefined; fromActivity?: boolean | undefined; }>, "many">; isTemplate: z.ZodDefault; }, "strip", z.ZodTypeAny, { title: string; members: { id: string; name: string; email: string; phone: string; isSelected: boolean; profilePictureUrl?: string | undefined; }[]; startTime: string; endTime: string; insumos: { id: string; name: string; unit: string; quantity: number; isSelected: boolean; availableQuantity: number; fromActivity: boolean; description?: string | undefined; imageUrl?: string | undefined; }[]; isTemplate: boolean; description?: string | undefined; }, { title: string; members: { id: string; name: string; email: string; phone: string; profilePictureUrl?: string | undefined; isSelected?: boolean | undefined; }[]; startTime: string; endTime: string; insumos: { id: string; name: string; unit: string; quantity: number; availableQuantity: number; description?: string | undefined; imageUrl?: string | undefined; isSelected?: boolean | undefined; fromActivity?: boolean | undefined; }[]; description?: string | undefined; isTemplate?: boolean | undefined; }>], null>, z.ZodVoid>>; onDelete: z.ZodOptional, z.ZodVoid>>; onSaveAsTemplate: z.ZodOptional; startTime: z.ZodString; endTime: z.ZodString; members: z.ZodArray; isSelected: z.ZodDefault; }, "strip", z.ZodTypeAny, { id: string; name: string; email: string; phone: string; isSelected: boolean; profilePictureUrl?: string | undefined; }, { id: string; name: string; email: string; phone: string; profilePictureUrl?: string | undefined; isSelected?: boolean | undefined; }>, "many">; insumos: z.ZodArray; quantity: z.ZodNumber; unit: z.ZodString; imageUrl: z.ZodOptional; availableQuantity: z.ZodNumber; isSelected: z.ZodDefault; fromActivity: z.ZodDefault; }, "strip", z.ZodTypeAny, { id: string; name: string; unit: string; quantity: number; isSelected: boolean; availableQuantity: number; fromActivity: boolean; description?: string | undefined; imageUrl?: string | undefined; }, { id: string; name: string; unit: string; quantity: number; availableQuantity: number; description?: string | undefined; imageUrl?: string | undefined; isSelected?: boolean | undefined; fromActivity?: boolean | undefined; }>, "many">; isTemplate: z.ZodDefault; }, "strip", z.ZodTypeAny, { title: string; members: { id: string; name: string; email: string; phone: string; isSelected: boolean; profilePictureUrl?: string | undefined; }[]; startTime: string; endTime: string; insumos: { id: string; name: string; unit: string; quantity: number; isSelected: boolean; availableQuantity: number; fromActivity: boolean; description?: string | undefined; imageUrl?: string | undefined; }[]; isTemplate: boolean; description?: string | undefined; }, { title: string; members: { id: string; name: string; email: string; phone: string; profilePictureUrl?: string | undefined; isSelected?: boolean | undefined; }[]; startTime: string; endTime: string; insumos: { id: string; name: string; unit: string; quantity: number; availableQuantity: number; description?: string | undefined; imageUrl?: string | undefined; isSelected?: boolean | undefined; fromActivity?: boolean | undefined; }[]; description?: string | undefined; isTemplate?: boolean | undefined; }>], null>, z.ZodVoid>>; onNavigateToSelectMediums: z.ZodOptional], null>, z.ZodVoid>>; onNavigateToSelectInsumos: z.ZodOptional], null>, z.ZodVoid>>; initialActivity: z.ZodOptional; startTime: z.ZodString; endTime: z.ZodString; members: z.ZodArray; isSelected: z.ZodDefault; }, "strip", z.ZodTypeAny, { id: string; name: string; email: string; phone: string; isSelected: boolean; profilePictureUrl?: string | undefined; }, { id: string; name: string; email: string; phone: string; profilePictureUrl?: string | undefined; isSelected?: boolean | undefined; }>, "many">; insumos: z.ZodArray; quantity: z.ZodNumber; unit: z.ZodString; imageUrl: z.ZodOptional; availableQuantity: z.ZodNumber; isSelected: z.ZodDefault; fromActivity: z.ZodDefault; }, "strip", z.ZodTypeAny, { id: string; name: string; unit: string; quantity: number; isSelected: boolean; availableQuantity: number; fromActivity: boolean; description?: string | undefined; imageUrl?: string | undefined; }, { id: string; name: string; unit: string; quantity: number; availableQuantity: number; description?: string | undefined; imageUrl?: string | undefined; isSelected?: boolean | undefined; fromActivity?: boolean | undefined; }>, "many">; isTemplate: z.ZodDefault; } & { id: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; members: { id: string; name: string; email: string; phone: string; isSelected: boolean; profilePictureUrl?: string | undefined; }[]; startTime: string; endTime: string; insumos: { id: string; name: string; unit: string; quantity: number; isSelected: boolean; availableQuantity: number; fromActivity: boolean; description?: string | undefined; imageUrl?: string | undefined; }[]; isTemplate: boolean; id?: string | undefined; description?: string | undefined; }, { title: string; members: { id: string; name: string; email: string; phone: string; profilePictureUrl?: string | undefined; isSelected?: boolean | undefined; }[]; startTime: string; endTime: string; insumos: { id: string; name: string; unit: string; quantity: number; availableQuantity: number; description?: string | undefined; imageUrl?: string | undefined; isSelected?: boolean | undefined; fromActivity?: boolean | undefined; }[]; id?: string | undefined; description?: string | undefined; isTemplate?: boolean | undefined; }>>; initialMembers: z.ZodOptional; isSelected: z.ZodDefault; }, "strip", z.ZodTypeAny, { id: string; name: string; email: string; phone: string; isSelected: boolean; profilePictureUrl?: string | undefined; }, { id: string; name: string; email: string; phone: string; profilePictureUrl?: string | undefined; isSelected?: boolean | undefined; }>, "many">>; initialInsumos: z.ZodOptional; quantity: z.ZodNumber; unit: z.ZodString; imageUrl: z.ZodOptional; availableQuantity: z.ZodNumber; isSelected: z.ZodDefault; fromActivity: z.ZodDefault; }, "strip", z.ZodTypeAny, { id: string; name: string; unit: string; quantity: number; isSelected: boolean; availableQuantity: number; fromActivity: boolean; description?: string | undefined; imageUrl?: string | undefined; }, { id: string; name: string; unit: string; quantity: number; availableQuantity: number; description?: string | undefined; imageUrl?: string | undefined; isSelected?: boolean | undefined; fromActivity?: boolean | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { activityId: number; onDelete?: ((args_0: number) => void) | undefined; onCancel?: (() => void) | undefined; onSave?: ((args_0: { title: string; members: { id: string; name: string; email: string; phone: string; profilePictureUrl?: string | undefined; isSelected?: boolean | undefined; }[]; startTime: string; endTime: string; insumos: { id: string; name: string; unit: string; quantity: number; availableQuantity: number; description?: string | undefined; imageUrl?: string | undefined; isSelected?: boolean | undefined; fromActivity?: boolean | undefined; }[]; description?: string | undefined; isTemplate?: boolean | undefined; }) => void) | undefined; onSaveAsTemplate?: ((args_0: { title: string; members: { id: string; name: string; email: string; phone: string; profilePictureUrl?: string | undefined; isSelected?: boolean | undefined; }[]; startTime: string; endTime: string; insumos: { id: string; name: string; unit: string; quantity: number; availableQuantity: number; description?: string | undefined; imageUrl?: string | undefined; isSelected?: boolean | undefined; fromActivity?: boolean | undefined; }[]; description?: string | undefined; isTemplate?: boolean | undefined; }) => void) | undefined; onNavigateToSelectMediums?: ((args_0: string[]) => void) | undefined; onNavigateToSelectInsumos?: ((args_0: string[]) => void) | undefined; initialMembers?: { id: string; name: string; email: string; phone: string; isSelected: boolean; profilePictureUrl?: string | undefined; }[] | undefined; initialInsumos?: { id: string; name: string; unit: string; quantity: number; isSelected: boolean; availableQuantity: number; fromActivity: boolean; description?: string | undefined; imageUrl?: string | undefined; }[] | undefined; initialActivity?: { title: string; members: { id: string; name: string; email: string; phone: string; isSelected: boolean; profilePictureUrl?: string | undefined; }[]; startTime: string; endTime: string; insumos: { id: string; name: string; unit: string; quantity: number; isSelected: boolean; availableQuantity: number; fromActivity: boolean; description?: string | undefined; imageUrl?: string | undefined; }[]; isTemplate: boolean; id?: string | undefined; description?: string | undefined; } | undefined; }, { activityId: number; onDelete?: ((args_0: number) => void) | undefined; onCancel?: (() => void) | undefined; onSave?: ((args_0: { title: string; members: { id: string; name: string; email: string; phone: string; isSelected: boolean; profilePictureUrl?: string | undefined; }[]; startTime: string; endTime: string; insumos: { id: string; name: string; unit: string; quantity: number; isSelected: boolean; availableQuantity: number; fromActivity: boolean; description?: string | undefined; imageUrl?: string | undefined; }[]; isTemplate: boolean; description?: string | undefined; }) => void) | undefined; onSaveAsTemplate?: ((args_0: { title: string; members: { id: string; name: string; email: string; phone: string; isSelected: boolean; profilePictureUrl?: string | undefined; }[]; startTime: string; endTime: string; insumos: { id: string; name: string; unit: string; quantity: number; isSelected: boolean; availableQuantity: number; fromActivity: boolean; description?: string | undefined; imageUrl?: string | undefined; }[]; isTemplate: boolean; description?: string | undefined; }) => void) | undefined; onNavigateToSelectMediums?: ((args_0: string[]) => void) | undefined; onNavigateToSelectInsumos?: ((args_0: string[]) => void) | undefined; initialMembers?: { id: string; name: string; email: string; phone: string; profilePictureUrl?: string | undefined; isSelected?: boolean | undefined; }[] | undefined; initialInsumos?: { id: string; name: string; unit: string; quantity: number; availableQuantity: number; description?: string | undefined; imageUrl?: string | undefined; isSelected?: boolean | undefined; fromActivity?: boolean | undefined; }[] | undefined; initialActivity?: { title: string; members: { id: string; name: string; email: string; phone: string; profilePictureUrl?: string | undefined; isSelected?: boolean | undefined; }[]; startTime: string; endTime: string; insumos: { id: string; name: string; unit: string; quantity: number; availableQuantity: number; description?: string | undefined; imageUrl?: string | undefined; isSelected?: boolean | undefined; fromActivity?: boolean | undefined; }[]; id?: string | undefined; description?: string | undefined; isTemplate?: boolean | undefined; } | undefined; }>; type ActivityEditPageProps = z.infer; declare const ActivityEditPage: React__default.FC; declare const ActivityListPage: React__default.FC; declare enum ActivityStatus { PENDING = "PENDING", CONFIRMED = "CONFIRMED", IN_PROGRESS = "IN_PROGRESS", FINALIZED = "FINALIZED", REALIZED = "REALIZED", NOT_REALIZED = "NOT_REALIZED", CANCELLED = "CANCELLED", MODEL = "MODEL" } declare const _default$9: React__default.NamedExoticComponent<{ isAdmin: boolean; isPersonalProfile: boolean; activity: { title: string; id: string; status: "PENDING" | "CONFIRMED" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL"; description: string; members: { list: { id: string; firstName: string; lastName: string; status?: string | undefined; declineReason?: string | undefined; avatarUrl?: string | null | undefined; participationStatus?: "PENDING" | "CONFIRMED" | "DECLINED" | undefined; ranks?: { id: string; name: string; date: string; description: string; level: number; }[] | undefined; roles?: { id: string; name: string; description: string; startDate: string; endDate: string | null; }[] | undefined; birthDate?: string | undefined; confirmedAt?: string | undefined; attendanceStatus?: "PRESENT" | "ABSENT" | undefined; }[]; count: number; }; terreiroId: string; insumos: { list: { id: string; quantity: number; minimumQuantity: number | null; inventoryItem: { id: string; status: string; name: string; location: string | null; item: { id: string | null; name: string | null; description: string | null; category: { id: string | null; name: string | null; }; }; description: string; imageUrl: string | null; unit: string; quantity: number; minimumQuantity: number; condition: string | null; consumable?: boolean | undefined; }; }[]; count: number; }; isTemplate: boolean; occurrences: { list: { date: string; startTime: string; endTime: string; id?: string | undefined; }[]; count: number; }; type?: "ACTIVITY" | "RITUAL" | undefined; location?: string | null | undefined; isInTerreiro?: boolean | undefined; qrCheckinEnabled?: boolean | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: number | null | undefined; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; minConfirmedMembers?: number | undefined; } | null; canUseModel: boolean; onClose?: (() => void) | undefined; error?: string | null | undefined; onConfirmParticipation?: ((args_0: { memberId: string; entityId: string; }) => void) | undefined; onDeclineParticipation?: ((args_0: { memberId: string; entityId: string; reason: string; }) => void) | undefined; isLoading?: boolean | undefined; onEdit?: ((args_0: string) => void) | undefined; activityType?: "ACTIVITY" | "RITUAL" | undefined; canChangeStatus?: boolean | undefined; currentMemberId?: string | undefined; onAddMedium?: ((args_0: string) => void) | undefined; onAddSupply?: ((args_0: string) => void) | undefined; onChangeStatus?: ((args_0: { status: ActivityStatus; activityId: string; }) => void) | undefined; onUseModel?: ((args_0: string) => void) | undefined; canManageQr?: boolean | undefined; attendanceQr?: { state: "closed" | "active" | "unavailable" | "scheduled"; entityId: string; terreiroId: string; entityType: "ACTIVITY" | "EVENT"; now: string; token?: string | undefined; opensAt?: string | undefined; closesAt?: string | undefined; qrValue?: string | undefined; } | null | undefined; onRefreshQrState?: (() => void) | undefined; canScanCheckin?: boolean | undefined; checkinWindow?: { state: "closed" | "active" | "unavailable" | "scheduled"; now: string; opensAt?: string | undefined; closesAt?: string | undefined; } | null | undefined; isSubmittingCheckin?: boolean | undefined; checkinFeedback?: { message: string; severity: "warning" | "error" | "info" | "success"; } | null | undefined; onScanCheckin?: ((args_0: string) => void) | undefined; onCheckinScannerOpen?: (() => void) | undefined; onCheckinScannerEvent?: ((event: AttendanceScannerEvent) => void) | undefined; onCheckinManualFallbackUsed?: (() => void) | undefined; }>; declare const SingleContactSchema: z.ZodObject<{ id: z.ZodOptional; phone: z.ZodString; contactPerson: z.ZodOptional>; userId: z.ZodOptional; terreiroId: z.ZodOptional>; createdByUserId: z.ZodOptional; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { phone: string; id?: string | undefined; updatedAt?: string | undefined; contactPerson?: string | null | undefined; userId?: string | undefined; terreiroId?: string | null | undefined; createdAt?: string | undefined; createdByUserId?: string | undefined; }, { phone: string; id?: string | undefined; updatedAt?: string | undefined; contactPerson?: string | null | undefined; userId?: string | undefined; terreiroId?: string | null | undefined; createdAt?: string | undefined; createdByUserId?: string | undefined; }>; declare const ContactArraySchema: z.ZodArray; phone: z.ZodString; contactPerson: z.ZodOptional>; userId: z.ZodOptional; terreiroId: z.ZodOptional>; createdByUserId: z.ZodOptional; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { phone: string; id?: string | undefined; updatedAt?: string | undefined; contactPerson?: string | null | undefined; userId?: string | undefined; terreiroId?: string | null | undefined; createdAt?: string | undefined; createdByUserId?: string | undefined; }, { phone: string; id?: string | undefined; updatedAt?: string | undefined; contactPerson?: string | null | undefined; userId?: string | undefined; terreiroId?: string | null | undefined; createdAt?: string | undefined; createdByUserId?: string | undefined; }>, "many">; declare const ContactPagePropsSchema: z.ZodObject<{ contactId: z.ZodOptional; initialContacts: z.ZodOptional; phone: z.ZodString; contactPerson: z.ZodOptional>; userId: z.ZodOptional; terreiroId: z.ZodOptional>; createdByUserId: z.ZodOptional; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { phone: string; id?: string | undefined; updatedAt?: string | undefined; contactPerson?: string | null | undefined; userId?: string | undefined; terreiroId?: string | null | undefined; createdAt?: string | undefined; createdByUserId?: string | undefined; }, { phone: string; id?: string | undefined; updatedAt?: string | undefined; contactPerson?: string | null | undefined; userId?: string | undefined; terreiroId?: string | null | undefined; createdAt?: string | undefined; createdByUserId?: string | undefined; }>, "many">>; onBack: z.ZodFunction, z.ZodVoid>; onSave: z.ZodOptional; phone: z.ZodString; contactPerson: z.ZodOptional>; userId: z.ZodOptional; terreiroId: z.ZodOptional>; createdByUserId: z.ZodOptional; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { phone: string; id?: string | undefined; updatedAt?: string | undefined; contactPerson?: string | null | undefined; userId?: string | undefined; terreiroId?: string | null | undefined; createdAt?: string | undefined; createdByUserId?: string | undefined; }, { phone: string; id?: string | undefined; updatedAt?: string | undefined; contactPerson?: string | null | undefined; userId?: string | undefined; terreiroId?: string | null | undefined; createdAt?: string | undefined; createdByUserId?: string | undefined; }>, "many">], null>, z.ZodVoid>>; isLoading: z.ZodOptional; error: z.ZodOptional; enablePhoneValidation: z.ZodOptional; }, "strip", z.ZodTypeAny, { onBack: () => void; error?: string | undefined; isLoading?: boolean | undefined; onSave?: ((args_0: { phone: string; id?: string | undefined; updatedAt?: string | undefined; contactPerson?: string | null | undefined; userId?: string | undefined; terreiroId?: string | null | undefined; createdAt?: string | undefined; createdByUserId?: string | undefined; }[]) => void) | undefined; contactId?: string | undefined; initialContacts?: { phone: string; id?: string | undefined; updatedAt?: string | undefined; contactPerson?: string | null | undefined; userId?: string | undefined; terreiroId?: string | null | undefined; createdAt?: string | undefined; createdByUserId?: string | undefined; }[] | undefined; enablePhoneValidation?: boolean | undefined; }, { onBack: () => void; error?: string | undefined; isLoading?: boolean | undefined; onSave?: ((args_0: { phone: string; id?: string | undefined; updatedAt?: string | undefined; contactPerson?: string | null | undefined; userId?: string | undefined; terreiroId?: string | null | undefined; createdAt?: string | undefined; createdByUserId?: string | undefined; }[]) => void) | undefined; contactId?: string | undefined; initialContacts?: { phone: string; id?: string | undefined; updatedAt?: string | undefined; contactPerson?: string | null | undefined; userId?: string | undefined; terreiroId?: string | null | undefined; createdAt?: string | undefined; createdByUserId?: string | undefined; }[] | undefined; enablePhoneValidation?: boolean | undefined; }>; declare const ValidationErrorsSchema: z.ZodRecord; type SingleContact = z.infer; type ContactArray = z.infer; type ContactPageProps = z.infer; type ValidationErrors$1 = z.infer; declare const validatePhoneNumber: (phone: string) => string; declare const ContactPage: React__default.FunctionComponent; declare const useContactPage: (props: ContactPageProps) => { data: { contacts: { phone: string; id?: string | undefined; updatedAt?: string | undefined; contactPerson?: string | null | undefined; userId?: string | undefined; terreiroId?: string | null | undefined; createdAt?: string | undefined; createdByUserId?: string | undefined; }[]; validationErrors: Record; isLoading: boolean; isDirty: boolean; isFormValid: boolean; canSave: boolean; enablePhoneValidation: boolean; }; fns: { handleBack: () => void; handleChange: (index: number, e: React.ChangeEvent) => void; handleSave: () => void; handleAddContact: () => void; handleRemoveContact: (index: number) => void; }; }; declare const PasskeyCredentialSchema: z.ZodObject<{ id: z.ZodString; nickname: z.ZodNullable; deviceType: z.ZodNullable; transports: z.ZodArray; createdAt: z.ZodString; lastUsedAt: z.ZodNullable; }, "strip", z.ZodTypeAny, { id: string; createdAt: string; nickname: string | null; deviceType: string | null; transports: string[]; lastUsedAt: string | null; }, { id: string; createdAt: string; nickname: string | null; deviceType: string | null; transports: string[]; lastUsedAt: string | null; }>; declare const CredentialsDataSchema: z.ZodObject<{ email: z.ZodString; currentPassword: z.ZodOptional; newPassword: z.ZodOptional; confirmPassword: z.ZodOptional; }, "strip", z.ZodTypeAny, { email: string; currentPassword?: string | undefined; newPassword?: string | undefined; confirmPassword?: string | undefined; }, { email: string; currentPassword?: string | undefined; newPassword?: string | undefined; confirmPassword?: string | undefined; }>; declare const CredentialsPagePropsSchema: z.ZodObject<{ credentialsId: z.ZodOptional; initialCredentials: z.ZodOptional; newPassword: z.ZodOptional; confirmPassword: z.ZodOptional; }, "strip", z.ZodTypeAny, { email: string; currentPassword?: string | undefined; newPassword?: string | undefined; confirmPassword?: string | undefined; }, { email: string; currentPassword?: string | undefined; newPassword?: string | undefined; confirmPassword?: string | undefined; }>>; onBack: z.ZodFunction, z.ZodVoid>; onSave: z.ZodOptional; newPassword: z.ZodOptional; confirmPassword: z.ZodOptional; }, "strip", z.ZodTypeAny, { email: string; currentPassword?: string | undefined; newPassword?: string | undefined; confirmPassword?: string | undefined; }, { email: string; currentPassword?: string | undefined; newPassword?: string | undefined; confirmPassword?: string | undefined; }>], null>, z.ZodVoid>>; onCredentialsLoad: z.ZodOptional; newPassword: z.ZodOptional; confirmPassword: z.ZodOptional; }, "strip", z.ZodTypeAny, { email: string; currentPassword?: string | undefined; newPassword?: string | undefined; confirmPassword?: string | undefined; }, { email: string; currentPassword?: string | undefined; newPassword?: string | undefined; confirmPassword?: string | undefined; }>], null>, z.ZodVoid>>; isLoading: z.ZodOptional; error: z.ZodOptional; enablePasswordValidation: z.ZodOptional; passkeys: z.ZodOptional; deviceType: z.ZodNullable; transports: z.ZodArray; createdAt: z.ZodString; lastUsedAt: z.ZodNullable; }, "strip", z.ZodTypeAny, { id: string; createdAt: string; nickname: string | null; deviceType: string | null; transports: string[]; lastUsedAt: string | null; }, { id: string; createdAt: string; nickname: string | null; deviceType: string | null; transports: string[]; lastUsedAt: string | null; }>, "many">>; passkeySupported: z.ZodOptional; passkeyLoading: z.ZodOptional; onAddPasskey: z.ZodOptional, z.ZodVoid>>; onDeletePasskey: z.ZodOptional, z.ZodVoid>>; onRenamePasskey: z.ZodOptional, z.ZodVoid>>; }, "strip", z.ZodTypeAny, { onBack: () => void; error?: string | undefined; isLoading?: boolean | undefined; passkeys?: { id: string; createdAt: string; nickname: string | null; deviceType: string | null; transports: string[]; lastUsedAt: string | null; }[] | undefined; onSave?: ((args_0: { email: string; currentPassword?: string | undefined; newPassword?: string | undefined; confirmPassword?: string | undefined; }) => void) | undefined; credentialsId?: string | undefined; initialCredentials?: { email: string; currentPassword?: string | undefined; newPassword?: string | undefined; confirmPassword?: string | undefined; } | undefined; onCredentialsLoad?: ((args_0: { email: string; currentPassword?: string | undefined; newPassword?: string | undefined; confirmPassword?: string | undefined; }) => void) | undefined; enablePasswordValidation?: boolean | undefined; passkeySupported?: boolean | undefined; passkeyLoading?: boolean | undefined; onAddPasskey?: (() => void) | undefined; onDeletePasskey?: ((args_0: string) => void) | undefined; onRenamePasskey?: ((args_0: string, args_1: string) => void) | undefined; }, { onBack: () => void; error?: string | undefined; isLoading?: boolean | undefined; passkeys?: { id: string; createdAt: string; nickname: string | null; deviceType: string | null; transports: string[]; lastUsedAt: string | null; }[] | undefined; onSave?: ((args_0: { email: string; currentPassword?: string | undefined; newPassword?: string | undefined; confirmPassword?: string | undefined; }) => void) | undefined; credentialsId?: string | undefined; initialCredentials?: { email: string; currentPassword?: string | undefined; newPassword?: string | undefined; confirmPassword?: string | undefined; } | undefined; onCredentialsLoad?: ((args_0: { email: string; currentPassword?: string | undefined; newPassword?: string | undefined; confirmPassword?: string | undefined; }) => void) | undefined; enablePasswordValidation?: boolean | undefined; passkeySupported?: boolean | undefined; passkeyLoading?: boolean | undefined; onAddPasskey?: (() => void) | undefined; onDeletePasskey?: ((args_0: string) => void) | undefined; onRenamePasskey?: ((args_0: string, args_1: string) => void) | undefined; }>; declare const CredentialsFormStateSchema: z.ZodObject<{ email: z.ZodOptional; currentPassword: z.ZodOptional>; newPassword: z.ZodOptional>; confirmPassword: z.ZodOptional>; }, "strip", z.ZodTypeAny, { email?: string | undefined; currentPassword?: string | undefined; newPassword?: string | undefined; confirmPassword?: string | undefined; }, { email?: string | undefined; currentPassword?: string | undefined; newPassword?: string | undefined; confirmPassword?: string | undefined; }>; declare const PasswordVisibilitySchema: z.ZodObject<{ current: z.ZodBoolean; new: z.ZodBoolean; confirm: z.ZodBoolean; }, "strip", z.ZodTypeAny, { current: boolean; new: boolean; confirm: boolean; }, { current: boolean; new: boolean; confirm: boolean; }>; declare const CredentialsValidationErrorsSchema: z.ZodRecord; declare const CredentialsApiErrorSchema: z.ZodObject<{ message: z.ZodString; code: z.ZodOptional; }, "strip", z.ZodTypeAny, { message: string; code?: string | undefined; }, { message: string; code?: string | undefined; }>; type CredentialsData = z.infer; type CredentialsPageProps = z.infer; type CredentialsFormState = z.infer; type PasswordVisibility = z.infer; type CredentialsValidationErrors = z.infer; type CredentialsApiError = z.infer; type PasskeyCredential = z.infer; declare const validatePassword$1: (password: string) => string; declare const validateEmail: (email: string) => string; declare const isValidEmail: (email: string) => boolean; declare const isValidPassword: (password: string) => boolean; /** * Top-level page: uses guard clauses to early-return loading/error states. * Composition-focused: wiring + layout only, no field-level markup duplication. */ declare const CredentialsPage: React__default.FunctionComponent; type PasswordFieldEntry = { id: string; name: keyof CredentialsFormState; label: string; plainText?: boolean; visibilityKey?: keyof PasswordVisibility; }; declare const useCredentialsPage: (props: CredentialsPageProps) => { data: { credentials: { email: string; currentPassword?: string | undefined; newPassword?: string | undefined; confirmPassword?: string | undefined; } | null; formState: { email?: string | undefined; currentPassword?: string | undefined; newPassword?: string | undefined; confirmPassword?: string | undefined; }; validationErrors: Record; passwordFields: PasswordFieldEntry[]; showPassword: { current: boolean; new: boolean; confirm: boolean; }; isLoading: boolean; error: { message: string; code?: string | undefined; } | null; isDirty: boolean; isFormValid: boolean; canSave: boolean; enablePasswordValidation: boolean; }; fns: { handleBack: () => void; handleChange: (e: React.ChangeEvent) => void; handleTogglePassword: (field: keyof PasswordVisibility) => void; handleSave: () => void; handleRetry: () => void; resetForm: () => void; fetchCredentials: () => Promise; validateField: (name: string, value: string) => string; clearValidationErrors: () => void; }; }; type PasskeysPageProps = { passkeys: PasskeyManagerItem[]; supported: boolean; isLoading?: boolean; /** Message shown when the passkey list fails to load. */ error?: string | null; busy?: boolean; onBack: () => void; onRetry?: () => void; onAdd?: () => void; onDelete?: (id: string) => void; onRename?: (id: string, nickname: string) => void; }; declare const PasskeysPage: React__default.FC; declare const EventOnboardingPage: React__default.FC; declare const _default$8: React__default.NamedExoticComponent<{ event: { id: string; status: "PENDING" | "CONFIRMED" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL"; title?: string | undefined; address?: { number: string; state: string; street: string; city: string; zipCode: string; complement?: string | undefined; neighborhood?: string | undefined; reference?: string | undefined; } | undefined; type?: "GIRA_ABERTA" | "GIRA_FECHADA" | "OFERENDAS" | "MANUTENCAO" | "REFORMA" | "CONFRATERNIZACAO" | "FESTA" | "ACAO_SOLIDARIA" | "GIRA_ATENDIMENTO" | "GIRA_DESENVOLVIMENTO" | "ORACULO" | "ATENDIMENTO_PARTICULAR" | "REUNIAO_ADMINISTRATIVA" | "OTHER" | undefined; name?: string | undefined; location?: string | undefined; description?: string | undefined; members?: { list: { id: string; firstName: string; lastName: string; avatarUrl: string | null; status?: string | undefined; declineReason?: string | null | undefined; participationStatus?: "PENDING" | "CONFIRMED" | "DECLINED" | undefined; ranks?: { id: string; name: string; date: string; description: string; level: number; }[] | undefined; roles?: { id: string; name: string; description: string; startDate: string; endDate: string | null; }[] | undefined; birthDate?: string | undefined; fromActivity?: boolean | undefined; confirmedAt?: string | undefined; attendanceStatus?: "PRESENT" | "ABSENT" | undefined; }[]; count: number; } | undefined; activities?: { list: { title: string; id: string; status: string; description?: string | undefined; members?: { list: { id: string; firstName: string; lastName: string; avatarUrl: string | null; status?: string | undefined; declineReason?: string | null | undefined; participationStatus?: "PENDING" | "CONFIRMED" | "DECLINED" | undefined; ranks?: { id: string; name: string; date: string; description: string; level: number; }[] | undefined; roles?: { id: string; name: string; description: string; startDate: string; endDate: string | null; }[] | undefined; birthDate?: string | undefined; fromActivity?: boolean | undefined; confirmedAt?: string | undefined; attendanceStatus?: "PRESENT" | "ABSENT" | undefined; }[]; count: number; } | undefined; insumos?: { list: { id: string; quantity: number; minimumQuantity: number; status?: string | undefined; name?: string | undefined; description?: string | null | undefined; imageUrl?: string | null | undefined; unit?: string | undefined; fromActivity?: boolean | undefined; inventoryItem?: { status: string; location: string | null; description: string | null; imageUrl: string | null; unit: string; quantity: number; consumable: boolean | null; condition: string | null; id?: string | null | undefined; name?: string | undefined; item?: { id: string | null; name: string | null; description: string | null; category?: { id: string | null; name: string | null; } | undefined; } | undefined; minimumQuantity?: number | undefined; } | undefined; condition?: string | null | undefined; }[]; count: number; } | undefined; qrCheckinEnabled?: boolean | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: number | null | undefined; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; occurrences?: { id?: string | undefined; date?: string | undefined; startTime?: string | undefined; endTime?: string | undefined; }[] | undefined; requiredForConfirmation?: boolean | undefined; }[]; count: number; requiredIds?: string[] | undefined; } | undefined; terreiro?: { id: string; name: string; } | undefined; isAllDay?: boolean | undefined; insumos?: { list: { id: string; quantity: number; minimumQuantity: number; status?: string | undefined; name?: string | undefined; description?: string | null | undefined; imageUrl?: string | null | undefined; unit?: string | undefined; fromActivity?: boolean | undefined; inventoryItem?: { status: string; location: string | null; description: string | null; imageUrl: string | null; unit: string; quantity: number; consumable: boolean | null; condition: string | null; id?: string | null | undefined; name?: string | undefined; item?: { id: string | null; name: string | null; description: string | null; category?: { id: string | null; name: string | null; } | undefined; } | undefined; minimumQuantity?: number | undefined; } | undefined; condition?: string | null | undefined; }[]; count: number; } | undefined; isInTerreiro?: boolean | undefined; isTemplate?: boolean | undefined; qrCheckinEnabled?: boolean | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: number | null | undefined; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; occurrences?: { list: { id?: string | undefined; date?: string | undefined; startTime?: string | undefined; endTime?: string | undefined; }[]; count: number; } | undefined; minConfirmedMembers?: number | undefined; } | null; isAdmin: boolean; isPersonalProfile: boolean; canUseModel: boolean; canChangeActivityStatus: boolean; onClose?: (() => void) | undefined; error?: string | null | undefined; onConfirmParticipation?: ((args_0: { memberId: string; entityId: string; }) => void) | undefined; onDeclineParticipation?: ((args_0: { memberId: string; entityId: string; reason: string; }) => void) | undefined; isLoading?: boolean | undefined; onEdit?: ((args_0: string) => void) | undefined; canChangeStatus?: boolean | undefined; currentMemberId?: string | undefined; onAddSupply?: ((args_0: string) => void) | undefined; onChangeStatus?: ((args_0: { status: "PENDING" | "CONFIRMED" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL"; eventId: string; }) => void) | undefined; onUseModel?: ((args_0: string) => void) | undefined; canManageQr?: boolean | undefined; attendanceQr?: { state: "closed" | "active" | "unavailable" | "scheduled"; entityId: string; terreiroId: string; entityType: "ACTIVITY" | "EVENT"; now: string; token?: string | undefined; opensAt?: string | undefined; closesAt?: string | undefined; qrValue?: string | undefined; checkinCode?: string | undefined; } | null | undefined; onRefreshQrState?: (() => void) | undefined; canScanCheckin?: boolean | undefined; checkinWindow?: { state: "closed" | "active" | "unavailable" | "scheduled"; now: string; opensAt?: string | undefined; closesAt?: string | undefined; } | null | undefined; isSubmittingCheckin?: boolean | undefined; checkinFeedback?: { message: string; severity: "warning" | "error" | "info" | "success"; } | null | undefined; onScanCheckin?: ((args_0: string) => void) | undefined; onCheckinScannerOpen?: (() => void) | undefined; onCheckinScannerEvent?: ((event: AttendanceScannerEvent) => void) | undefined; onCheckinManualFallbackUsed?: (() => void) | undefined; onCopyCode?: ((args_0: string) => void) | undefined; onAddParticipant?: ((args_0: string) => void) | undefined; onChangeActivityStatus?: ((args_0: { status: "PENDING" | "CONFIRMED" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL"; activityId: string; }) => void) | undefined; onBulkChangeActivityStatus?: ((args_0: { status: "PENDING" | "CONFIRMED" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL"; activityIds: string[]; }) => void) | undefined; onBulkConfirmParticipation?: ((args_0: { event: { status: "CONFIRMED" | "DECLINED"; declineReason?: string | undefined; }; activities: { status: "CONFIRMED" | "DECLINED"; activityId: string; declineReason?: string | undefined; }[]; memberId: string; eventId: string; }) => void) | undefined; canManageTickets?: boolean | undefined; onManageTickets?: (() => void) | undefined; activityAttendanceQrById?: Record | undefined; onRefreshActivityQrState?: ((args_0: string) => void) | undefined; }>; type PublicAgendaEvent = { slug: string; publicTitle: string; publicDescription?: string | null; coverImageUrl?: string | null; eventType?: string; nextOccurrenceDate?: string | null; startTime?: string | null; remainingTickets: number; }; type PublicTerreiroAgendaPageProps = { isLoading?: boolean; errorMessage?: string | null; terreiroName?: string; terreiroImageUrl?: string | null; terreiroDescription?: string | null; events?: PublicAgendaEvent[]; onSelectEvent?: (slug: string) => void; }; declare const PublicTerreiroAgendaPage: React__default.FC; type PublicTicketBatch = { id: string; kind: "GENERAL" | "PRIORITY"; name: string; remaining: number; soldOut: boolean; maxPerPerson: number; allowsCompanion: boolean; categories: string[]; }; type PublicEventTicketPageProps = { isLoading?: boolean; errorMessage?: string | null; eventTitle?: string; terreiroName?: string; occurrenceLabel?: string | null; location?: string | null; batches?: PublicTicketBatch[]; isSubmitting?: boolean; submitError?: string | null; onClaim?: (payload: { batchId: string; holderName: string; holderEmail: string; holderPhone?: string; holderDocument?: string; priorityCategory?: string; companionCount: number; consentAccepted: true; }) => void; useChat?: boolean; chat?: TicketingFormChatPanelProps & { summary?: TicketingClaimChatSummary; }; }; declare const PublicEventTicketPage: React__default.FC; type TicketVoucherPageProps = { isLoading?: boolean; errorMessage?: string | null; code?: string; eventTitle?: string; terreiroName?: string; occurrenceLabel?: string | null; holderName?: string; status?: string; isPriority?: boolean; companionCount?: number; voucherUrl?: string; isCancelling?: boolean; onCancel?: () => void; }; declare const TicketVoucherPage: React__default.FC; type TicketingBatchView = { id: string; name: string; kind: string; remaining: number; quantityTotal: number; quantityClaimed: number; }; type TicketingHolderView = { code: string; holderName: string; holderEmail: string; batchName?: string | null; status: string; priorityCategory?: string | null; }; type EventTicketingManagementPageProps = { eventName?: string; shareUrl?: string | null; terreiroShareUrl?: string | null; published?: boolean; publicTitle?: string; maxTicketsPerEmail?: number; batches?: TicketingBatchView[]; holders?: TicketingHolderView[]; isSaving?: boolean; saveError?: string | null; checkInMessage?: string | null; onSave?: (payload: { publicTitle: string; published: boolean; maxTicketsPerEmail: number; }) => void; onExportCsv?: () => void; onCheckIn?: (code: string) => void; onBack?: () => void; useChat?: boolean; chat?: TicketingFormChatPanelProps & { summary?: EventPublicationChatSummary; }; canCheckIn?: boolean; isCheckingIn?: boolean; parseTicketQr?: (raw: string) => string | null; }; declare const EventTicketingManagementPage: React__default.FC; type CreateIngressoPageProps = TicketingFormChatPanelProps & { summary?: EventPublicationChatSummary; }; declare const CreateIngressoPage: React__default.FC; declare const EditEventPagePropsSchema: z.ZodObject<{ eventId: z.ZodString; onCancel: z.ZodOptional, z.ZodVoid>>; onSave: z.ZodOptional; date: z.ZodDate; isAllDay: z.ZodDefault; startTime: z.ZodOptional; endTime: z.ZodOptional; location: z.ZodObject<{ isInTerreiro: z.ZodDefault; knownLocation: z.ZodOptional; street: z.ZodOptional; number: z.ZodOptional; complement: z.ZodOptional; neighborhood: z.ZodOptional; city: z.ZodOptional; reference: z.ZodOptional; state: z.ZodOptional; }, "strip", z.ZodTypeAny, { isInTerreiro: boolean; number?: string | undefined; state?: string | undefined; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; reference?: string | undefined; knownLocation?: string | undefined; }, { number?: string | undefined; state?: string | undefined; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; isInTerreiro?: boolean | undefined; reference?: string | undefined; knownLocation?: string | undefined; }>; participants: z.ZodArray; name: z.ZodOptional; profilePictureUrl: z.ZodOptional; isSelected: z.ZodDefault; }, "strip", z.ZodTypeAny, { id: string | number; isSelected: boolean; name?: string | undefined; profilePictureUrl?: string | undefined; }, { id: string | number; name?: string | undefined; profilePictureUrl?: string | undefined; isSelected?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { type: "GIRA_ABERTA" | "GIRA_FECHADA" | "OFERENDAS" | "MANUTENCAO" | "REFORMA" | "CONFRATERNIZACAO" | "FESTA" | "ACAO_SOLIDARIA" | "GIRA_ATENDIMENTO" | "GIRA_DESENVOLVIMENTO" | "ORACULO" | "ATENDIMENTO_PARTICULAR" | "REUNIAO_ADMINISTRATIVA" | "OTHER"; name: string; date: Date; location: { isInTerreiro: boolean; number?: string | undefined; state?: string | undefined; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; reference?: string | undefined; knownLocation?: string | undefined; }; isAllDay: boolean; participants: { id: string | number; isSelected: boolean; name?: string | undefined; profilePictureUrl?: string | undefined; }[]; startTime?: string | undefined; endTime?: string | undefined; }, { type: "GIRA_ABERTA" | "GIRA_FECHADA" | "OFERENDAS" | "MANUTENCAO" | "REFORMA" | "CONFRATERNIZACAO" | "FESTA" | "ACAO_SOLIDARIA" | "GIRA_ATENDIMENTO" | "GIRA_DESENVOLVIMENTO" | "ORACULO" | "ATENDIMENTO_PARTICULAR" | "REUNIAO_ADMINISTRATIVA" | "OTHER"; name: string; date: Date; location: { number?: string | undefined; state?: string | undefined; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; isInTerreiro?: boolean | undefined; reference?: string | undefined; knownLocation?: string | undefined; }; participants: { id: string | number; name?: string | undefined; profilePictureUrl?: string | undefined; isSelected?: boolean | undefined; }[]; startTime?: string | undefined; endTime?: string | undefined; isAllDay?: boolean | undefined; }>], null>, z.ZodVoid>>; onDelete: z.ZodOptional, z.ZodVoid>>; initialEvent: z.ZodOptional; date: z.ZodDate; isAllDay: z.ZodDefault; startTime: z.ZodOptional; endTime: z.ZodOptional; location: z.ZodObject<{ isInTerreiro: z.ZodDefault; knownLocation: z.ZodOptional; street: z.ZodOptional; number: z.ZodOptional; complement: z.ZodOptional; neighborhood: z.ZodOptional; city: z.ZodOptional; reference: z.ZodOptional; state: z.ZodOptional; }, "strip", z.ZodTypeAny, { isInTerreiro: boolean; number?: string | undefined; state?: string | undefined; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; reference?: string | undefined; knownLocation?: string | undefined; }, { number?: string | undefined; state?: string | undefined; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; isInTerreiro?: boolean | undefined; reference?: string | undefined; knownLocation?: string | undefined; }>; participants: z.ZodArray; name: z.ZodOptional; profilePictureUrl: z.ZodOptional; isSelected: z.ZodDefault; }, "strip", z.ZodTypeAny, { id: string | number; isSelected: boolean; name?: string | undefined; profilePictureUrl?: string | undefined; }, { id: string | number; name?: string | undefined; profilePictureUrl?: string | undefined; isSelected?: boolean | undefined; }>, "many">; } & { id: z.ZodOptional; activities: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "GIRA_ABERTA" | "GIRA_FECHADA" | "OFERENDAS" | "MANUTENCAO" | "REFORMA" | "CONFRATERNIZACAO" | "FESTA" | "ACAO_SOLIDARIA" | "GIRA_ATENDIMENTO" | "GIRA_DESENVOLVIMENTO" | "ORACULO" | "ATENDIMENTO_PARTICULAR" | "REUNIAO_ADMINISTRATIVA" | "OTHER"; name: string; date: Date; location: { isInTerreiro: boolean; number?: string | undefined; state?: string | undefined; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; reference?: string | undefined; knownLocation?: string | undefined; }; isAllDay: boolean; participants: { id: string | number; isSelected: boolean; name?: string | undefined; profilePictureUrl?: string | undefined; }[]; id?: string | undefined; activities?: any[] | undefined; startTime?: string | undefined; endTime?: string | undefined; }, { type: "GIRA_ABERTA" | "GIRA_FECHADA" | "OFERENDAS" | "MANUTENCAO" | "REFORMA" | "CONFRATERNIZACAO" | "FESTA" | "ACAO_SOLIDARIA" | "GIRA_ATENDIMENTO" | "GIRA_DESENVOLVIMENTO" | "ORACULO" | "ATENDIMENTO_PARTICULAR" | "REUNIAO_ADMINISTRATIVA" | "OTHER"; name: string; date: Date; location: { number?: string | undefined; state?: string | undefined; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; isInTerreiro?: boolean | undefined; reference?: string | undefined; knownLocation?: string | undefined; }; participants: { id: string | number; name?: string | undefined; profilePictureUrl?: string | undefined; isSelected?: boolean | undefined; }[]; id?: string | undefined; activities?: any[] | undefined; startTime?: string | undefined; endTime?: string | undefined; isAllDay?: boolean | undefined; }>>; initialParticipants: z.ZodOptional>; knownLocations: z.ZodOptional>; }, "strip", z.ZodTypeAny, { eventId: string; onDelete?: ((args_0: string) => void) | undefined; onCancel?: (() => void) | undefined; onSave?: ((args_0: { type: "GIRA_ABERTA" | "GIRA_FECHADA" | "OFERENDAS" | "MANUTENCAO" | "REFORMA" | "CONFRATERNIZACAO" | "FESTA" | "ACAO_SOLIDARIA" | "GIRA_ATENDIMENTO" | "GIRA_DESENVOLVIMENTO" | "ORACULO" | "ATENDIMENTO_PARTICULAR" | "REUNIAO_ADMINISTRATIVA" | "OTHER"; name: string; date: Date; location: { number?: string | undefined; state?: string | undefined; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; isInTerreiro?: boolean | undefined; reference?: string | undefined; knownLocation?: string | undefined; }; participants: { id: string | number; name?: string | undefined; profilePictureUrl?: string | undefined; isSelected?: boolean | undefined; }[]; startTime?: string | undefined; endTime?: string | undefined; isAllDay?: boolean | undefined; }) => void) | undefined; initialParticipants?: any[] | undefined; knownLocations?: string[] | undefined; initialEvent?: { type: "GIRA_ABERTA" | "GIRA_FECHADA" | "OFERENDAS" | "MANUTENCAO" | "REFORMA" | "CONFRATERNIZACAO" | "FESTA" | "ACAO_SOLIDARIA" | "GIRA_ATENDIMENTO" | "GIRA_DESENVOLVIMENTO" | "ORACULO" | "ATENDIMENTO_PARTICULAR" | "REUNIAO_ADMINISTRATIVA" | "OTHER"; name: string; date: Date; location: { isInTerreiro: boolean; number?: string | undefined; state?: string | undefined; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; reference?: string | undefined; knownLocation?: string | undefined; }; isAllDay: boolean; participants: { id: string | number; isSelected: boolean; name?: string | undefined; profilePictureUrl?: string | undefined; }[]; id?: string | undefined; activities?: any[] | undefined; startTime?: string | undefined; endTime?: string | undefined; } | undefined; }, { eventId: string; onDelete?: ((args_0: string) => void) | undefined; onCancel?: (() => void) | undefined; onSave?: ((args_0: { type: "GIRA_ABERTA" | "GIRA_FECHADA" | "OFERENDAS" | "MANUTENCAO" | "REFORMA" | "CONFRATERNIZACAO" | "FESTA" | "ACAO_SOLIDARIA" | "GIRA_ATENDIMENTO" | "GIRA_DESENVOLVIMENTO" | "ORACULO" | "ATENDIMENTO_PARTICULAR" | "REUNIAO_ADMINISTRATIVA" | "OTHER"; name: string; date: Date; location: { isInTerreiro: boolean; number?: string | undefined; state?: string | undefined; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; reference?: string | undefined; knownLocation?: string | undefined; }; isAllDay: boolean; participants: { id: string | number; isSelected: boolean; name?: string | undefined; profilePictureUrl?: string | undefined; }[]; startTime?: string | undefined; endTime?: string | undefined; }) => void) | undefined; initialParticipants?: any[] | undefined; knownLocations?: string[] | undefined; initialEvent?: { type: "GIRA_ABERTA" | "GIRA_FECHADA" | "OFERENDAS" | "MANUTENCAO" | "REFORMA" | "CONFRATERNIZACAO" | "FESTA" | "ACAO_SOLIDARIA" | "GIRA_ATENDIMENTO" | "GIRA_DESENVOLVIMENTO" | "ORACULO" | "ATENDIMENTO_PARTICULAR" | "REUNIAO_ADMINISTRATIVA" | "OTHER"; name: string; date: Date; location: { number?: string | undefined; state?: string | undefined; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; isInTerreiro?: boolean | undefined; reference?: string | undefined; knownLocation?: string | undefined; }; participants: { id: string | number; name?: string | undefined; profilePictureUrl?: string | undefined; isSelected?: boolean | undefined; }[]; id?: string | undefined; activities?: any[] | undefined; startTime?: string | undefined; endTime?: string | undefined; isAllDay?: boolean | undefined; } | undefined; }>; type EditEventPageProps = z.infer; declare const EditEventPage: React__default.FC; declare const EventsPagePropsSchema: z.ZodObject<{ hideAddFab: z.ZodDefault; isAdmin: z.ZodDefault; isPersonalProfile: z.ZodDefault; canViewTemplates: z.ZodDefault; periodInputValue: z.ZodOptional; onPeriodInputChange: z.ZodOptional, z.ZodVoid>>; canExportParticipationReport: z.ZodDefault; isExportingParticipationReport: z.ZodDefault; onExportParticipationReport: z.ZodOptional, z.ZodVoid>>; onBack: z.ZodOptional, z.ZodVoid>>; onEventSelect: z.ZodOptional, z.ZodVoid>>; onEventEdit: z.ZodOptional, z.ZodVoid>>; onEventAdd: z.ZodOptional, z.ZodVoid>>; onActivitySelect: z.ZodOptional, z.ZodVoid>>; onActivityEdit: z.ZodOptional, z.ZodVoid>>; onActivityAdd: z.ZodOptional, z.ZodVoid>>; onTabChange: z.ZodOptional], null>, z.ZodVoid>>; preferredStatus: z.ZodOptional>; shouldRebalance: z.ZodDefault; hasTemporallyRelevantConfirmed: z.ZodDefault; isTemporalContextReady: z.ZodDefault; initialEvents: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; isTemplate: z.ZodOptional; qrCheckinEnabled: z.ZodOptional; qrReleaseOffsetMinutes: z.ZodOptional>; qrCheckinGraceMinutes: z.ZodOptional>; checkinStartWindowMinutes: z.ZodOptional>; checkinEndWindowMinutes: z.ZodOptional>; status: z.ZodEnum<["PENDING", "CONFIRMED", "IN_PROGRESS", "FINALIZED", "REALIZED", "NOT_REALIZED", "CANCELLED", "MODEL"]>; occurrences: z.ZodOptional; activityId: z.ZodOptional; date: z.ZodOptional; startTime: z.ZodOptional; endTime: z.ZodOptional; }, "strip", z.ZodTypeAny, { id?: string | undefined; date?: string | undefined; startTime?: string | undefined; endTime?: string | undefined; activityId?: string | undefined; }, { id?: string | undefined; date?: string | undefined; startTime?: string | undefined; endTime?: string | undefined; activityId?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { list: { id?: string | undefined; date?: string | undefined; startTime?: string | undefined; endTime?: string | undefined; activityId?: string | undefined; }[]; count: number; }, { list: { id?: string | undefined; date?: string | undefined; startTime?: string | undefined; endTime?: string | undefined; activityId?: string | undefined; }[]; count: number; }>>; members: z.ZodOptional; }, "strip", z.ZodTypeAny, { firstName: string; lastName: string; avatarUrl: string | null; }, { firstName: string; lastName: string; avatarUrl: string | null; }>, "many">; }, "strip", z.ZodTypeAny, { list: { firstName: string; lastName: string; avatarUrl: string | null; }[]; count: number; }, { list: { firstName: string; lastName: string; avatarUrl: string | null; }[]; count: number; }>>; insumos: z.ZodOptional, "many">; }, "strip", z.ZodTypeAny, { list: { id: string; status: string; category: string; unit: string; quantity: number; condition: string; }[]; count: number; }, { list: { id: string; status: string; category: string; unit: string; quantity: number; condition: string; }[]; count: number; }>>; isAllDay: z.ZodOptional; location: z.ZodOptional; isInTerreiro: z.ZodOptional; terreiro: z.ZodOptional>; type: z.ZodOptional>; address: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; status: "PENDING" | "CONFIRMED" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL"; title?: string | undefined; address?: { number: string; state: string; street: string; city: string; zipCode: string; } | undefined; type?: "GIRA_ABERTA" | "GIRA_FECHADA" | "OFERENDAS" | "MANUTENCAO" | "REFORMA" | "CONFRATERNIZACAO" | "FESTA" | "ACAO_SOLIDARIA" | "GIRA_ATENDIMENTO" | "GIRA_DESENVOLVIMENTO" | "ORACULO" | "ATENDIMENTO_PARTICULAR" | "REUNIAO_ADMINISTRATIVA" | "OTHER" | undefined; name?: string | undefined; location?: string | undefined; description?: string | undefined; members?: { list: { firstName: string; lastName: string; avatarUrl: string | null; }[]; count: number; } | undefined; terreiro?: { name: string; } | undefined; isAllDay?: boolean | undefined; insumos?: { list: { id: string; status: string; category: string; unit: string; quantity: number; condition: string; }[]; count: number; } | undefined; isInTerreiro?: boolean | undefined; isTemplate?: boolean | undefined; qrCheckinEnabled?: boolean | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: number | null | undefined; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; occurrences?: { list: { id?: string | undefined; date?: string | undefined; startTime?: string | undefined; endTime?: string | undefined; activityId?: string | undefined; }[]; count: number; } | undefined; }, { id: string; status: "PENDING" | "CONFIRMED" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL"; title?: string | undefined; address?: { number: string; state: string; street: string; city: string; zipCode: string; } | undefined; type?: "GIRA_ABERTA" | "GIRA_FECHADA" | "OFERENDAS" | "MANUTENCAO" | "REFORMA" | "CONFRATERNIZACAO" | "FESTA" | "ACAO_SOLIDARIA" | "GIRA_ATENDIMENTO" | "GIRA_DESENVOLVIMENTO" | "ORACULO" | "ATENDIMENTO_PARTICULAR" | "REUNIAO_ADMINISTRATIVA" | "OTHER" | undefined; name?: string | undefined; location?: string | undefined; description?: string | undefined; members?: { list: { firstName: string; lastName: string; avatarUrl: string | null; }[]; count: number; } | undefined; terreiro?: { name: string; } | undefined; isAllDay?: boolean | undefined; insumos?: { list: { id: string; status: string; category: string; unit: string; quantity: number; condition: string; }[]; count: number; } | undefined; isInTerreiro?: boolean | undefined; isTemplate?: boolean | undefined; qrCheckinEnabled?: boolean | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: number | null | undefined; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; occurrences?: { list: { id?: string | undefined; date?: string | undefined; startTime?: string | undefined; endTime?: string | undefined; activityId?: string | undefined; }[]; count: number; } | undefined; }>, "many">>; initialActivities: z.ZodOptional; type: z.ZodEnum<["GIRA_ABERTA", "GIRA_FECHADA", "OFERENDAS", "MANUTENCAO", "REFORMA", "CONFRATERNIZACAO", "FESTA", "ACAO_SOLIDARIA", "GIRA_ATENDIMENTO", "GIRA_DESENVOLVIMENTO", "ORACULO", "ATENDIMENTO_PARTICULAR", "REUNIAO_ADMINISTRATIVA", "OTHER"]>; status: z.ZodEnum<["PENDING", "CONFIRMED", "IN_PROGRESS", "FINALIZED", "REALIZED", "NOT_REALIZED", "CANCELLED", "MODEL"]>; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; createdBy: z.ZodOptional; assignedTo: z.ZodOptional>; dueDate: z.ZodOptional; priority: z.ZodOptional>; tags: z.ZodOptional>; attachments: z.ZodOptional, "many">>; comments: z.ZodOptional, "many">>; isRecurring: z.ZodOptional; recurrencePattern: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; type: "GIRA_ABERTA" | "GIRA_FECHADA" | "OFERENDAS" | "MANUTENCAO" | "REFORMA" | "CONFRATERNIZACAO" | "FESTA" | "ACAO_SOLIDARIA" | "GIRA_ATENDIMENTO" | "GIRA_DESENVOLVIMENTO" | "ORACULO" | "ATENDIMENTO_PARTICULAR" | "REUNIAO_ADMINISTRATIVA" | "OTHER"; status: "PENDING" | "CONFIRMED" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL"; priority?: "LOW" | "MEDIUM" | "HIGH" | "URGENT" | undefined; description?: string | undefined; updatedAt?: string | undefined; createdAt?: string | undefined; comments?: { id: string; text: string; userId: string; createdAt: string; }[] | undefined; createdBy?: string | undefined; assignedTo?: string[] | undefined; dueDate?: string | undefined; tags?: string[] | undefined; attachments?: { type: string; name: string; url: string; }[] | undefined; isRecurring?: boolean | undefined; recurrencePattern?: string | undefined; }, { title: string; id: string; type: "GIRA_ABERTA" | "GIRA_FECHADA" | "OFERENDAS" | "MANUTENCAO" | "REFORMA" | "CONFRATERNIZACAO" | "FESTA" | "ACAO_SOLIDARIA" | "GIRA_ATENDIMENTO" | "GIRA_DESENVOLVIMENTO" | "ORACULO" | "ATENDIMENTO_PARTICULAR" | "REUNIAO_ADMINISTRATIVA" | "OTHER"; status: "PENDING" | "CONFIRMED" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL"; priority?: "LOW" | "MEDIUM" | "HIGH" | "URGENT" | undefined; description?: string | undefined; updatedAt?: string | undefined; createdAt?: string | undefined; comments?: { id: string; text: string; userId: string; createdAt: string; }[] | undefined; createdBy?: string | undefined; assignedTo?: string[] | undefined; dueDate?: string | undefined; tags?: string[] | undefined; attachments?: { type: string; name: string; url: string; }[] | undefined; isRecurring?: boolean | undefined; recurrencePattern?: string | undefined; }>, "many">>; statusCounts: z.ZodOptional, z.ZodNumber>>; }, "strip", z.ZodTypeAny, { isAdmin: boolean; isPersonalProfile: boolean; hideAddFab: boolean; canViewTemplates: boolean; canExportParticipationReport: boolean; isExportingParticipationReport: boolean; shouldRebalance: boolean; hasTemporallyRelevantConfirmed: boolean; isTemporalContextReady: boolean; onBack?: (() => void) | undefined; periodInputValue?: string | undefined; onPeriodInputChange?: ((args_0: string) => void) | undefined; onTabChange?: ((args_0: "PENDING" | "CONFIRMED" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL") => void) | undefined; onExportParticipationReport?: (() => void) | undefined; onActivitySelect?: ((args_0: string) => void) | undefined; onActivityEdit?: ((args_0: string) => void) | undefined; onActivityAdd?: (() => void) | undefined; preferredStatus?: "PENDING" | "CONFIRMED" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | undefined; initialActivities?: { title: string; id: string; type: "GIRA_ABERTA" | "GIRA_FECHADA" | "OFERENDAS" | "MANUTENCAO" | "REFORMA" | "CONFRATERNIZACAO" | "FESTA" | "ACAO_SOLIDARIA" | "GIRA_ATENDIMENTO" | "GIRA_DESENVOLVIMENTO" | "ORACULO" | "ATENDIMENTO_PARTICULAR" | "REUNIAO_ADMINISTRATIVA" | "OTHER"; status: "PENDING" | "CONFIRMED" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL"; priority?: "LOW" | "MEDIUM" | "HIGH" | "URGENT" | undefined; description?: string | undefined; updatedAt?: string | undefined; createdAt?: string | undefined; comments?: { id: string; text: string; userId: string; createdAt: string; }[] | undefined; createdBy?: string | undefined; assignedTo?: string[] | undefined; dueDate?: string | undefined; tags?: string[] | undefined; attachments?: { type: string; name: string; url: string; }[] | undefined; isRecurring?: boolean | undefined; recurrencePattern?: string | undefined; }[] | undefined; statusCounts?: Partial> | undefined; onEventSelect?: ((args_0: string) => void) | undefined; onEventEdit?: ((args_0: string) => void) | undefined; onEventAdd?: (() => void) | undefined; initialEvents?: { id: string; status: "PENDING" | "CONFIRMED" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL"; title?: string | undefined; address?: { number: string; state: string; street: string; city: string; zipCode: string; } | undefined; type?: "GIRA_ABERTA" | "GIRA_FECHADA" | "OFERENDAS" | "MANUTENCAO" | "REFORMA" | "CONFRATERNIZACAO" | "FESTA" | "ACAO_SOLIDARIA" | "GIRA_ATENDIMENTO" | "GIRA_DESENVOLVIMENTO" | "ORACULO" | "ATENDIMENTO_PARTICULAR" | "REUNIAO_ADMINISTRATIVA" | "OTHER" | undefined; name?: string | undefined; location?: string | undefined; description?: string | undefined; members?: { list: { firstName: string; lastName: string; avatarUrl: string | null; }[]; count: number; } | undefined; terreiro?: { name: string; } | undefined; isAllDay?: boolean | undefined; insumos?: { list: { id: string; status: string; category: string; unit: string; quantity: number; condition: string; }[]; count: number; } | undefined; isInTerreiro?: boolean | undefined; isTemplate?: boolean | undefined; qrCheckinEnabled?: boolean | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: number | null | undefined; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; occurrences?: { list: { id?: string | undefined; date?: string | undefined; startTime?: string | undefined; endTime?: string | undefined; activityId?: string | undefined; }[]; count: number; } | undefined; }[] | undefined; }, { isAdmin?: boolean | undefined; onBack?: (() => void) | undefined; isPersonalProfile?: boolean | undefined; periodInputValue?: string | undefined; onPeriodInputChange?: ((args_0: string) => void) | undefined; onTabChange?: ((args_0: "PENDING" | "CONFIRMED" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL") => void) | undefined; hideAddFab?: boolean | undefined; canViewTemplates?: boolean | undefined; canExportParticipationReport?: boolean | undefined; isExportingParticipationReport?: boolean | undefined; onExportParticipationReport?: (() => void) | undefined; onActivitySelect?: ((args_0: string) => void) | undefined; onActivityEdit?: ((args_0: string) => void) | undefined; onActivityAdd?: (() => void) | undefined; preferredStatus?: "PENDING" | "CONFIRMED" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | undefined; shouldRebalance?: boolean | undefined; hasTemporallyRelevantConfirmed?: boolean | undefined; isTemporalContextReady?: boolean | undefined; initialActivities?: { title: string; id: string; type: "GIRA_ABERTA" | "GIRA_FECHADA" | "OFERENDAS" | "MANUTENCAO" | "REFORMA" | "CONFRATERNIZACAO" | "FESTA" | "ACAO_SOLIDARIA" | "GIRA_ATENDIMENTO" | "GIRA_DESENVOLVIMENTO" | "ORACULO" | "ATENDIMENTO_PARTICULAR" | "REUNIAO_ADMINISTRATIVA" | "OTHER"; status: "PENDING" | "CONFIRMED" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL"; priority?: "LOW" | "MEDIUM" | "HIGH" | "URGENT" | undefined; description?: string | undefined; updatedAt?: string | undefined; createdAt?: string | undefined; comments?: { id: string; text: string; userId: string; createdAt: string; }[] | undefined; createdBy?: string | undefined; assignedTo?: string[] | undefined; dueDate?: string | undefined; tags?: string[] | undefined; attachments?: { type: string; name: string; url: string; }[] | undefined; isRecurring?: boolean | undefined; recurrencePattern?: string | undefined; }[] | undefined; statusCounts?: Partial> | undefined; onEventSelect?: ((args_0: string) => void) | undefined; onEventEdit?: ((args_0: string) => void) | undefined; onEventAdd?: (() => void) | undefined; initialEvents?: { id: string; status: "PENDING" | "CONFIRMED" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL"; title?: string | undefined; address?: { number: string; state: string; street: string; city: string; zipCode: string; } | undefined; type?: "GIRA_ABERTA" | "GIRA_FECHADA" | "OFERENDAS" | "MANUTENCAO" | "REFORMA" | "CONFRATERNIZACAO" | "FESTA" | "ACAO_SOLIDARIA" | "GIRA_ATENDIMENTO" | "GIRA_DESENVOLVIMENTO" | "ORACULO" | "ATENDIMENTO_PARTICULAR" | "REUNIAO_ADMINISTRATIVA" | "OTHER" | undefined; name?: string | undefined; location?: string | undefined; description?: string | undefined; members?: { list: { firstName: string; lastName: string; avatarUrl: string | null; }[]; count: number; } | undefined; terreiro?: { name: string; } | undefined; isAllDay?: boolean | undefined; insumos?: { list: { id: string; status: string; category: string; unit: string; quantity: number; condition: string; }[]; count: number; } | undefined; isInTerreiro?: boolean | undefined; isTemplate?: boolean | undefined; qrCheckinEnabled?: boolean | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: number | null | undefined; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; occurrences?: { list: { id?: string | undefined; date?: string | undefined; startTime?: string | undefined; endTime?: string | undefined; activityId?: string | undefined; }[]; count: number; } | undefined; }[] | undefined; }>; type EventsPageProps = z.infer; declare const EventsPage: React__default.FC; declare const AISuggestionSchema: z.ZodObject<{ name: z.ZodString; description: z.ZodString; confidence: z.ZodNumber; reasoning: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; description: string; confidence: number; reasoning?: string | undefined; }, { name: string; description: string; confidence: number; reasoning?: string | undefined; }>; type AISuggestion = z.infer; type AISuggestionApplyMode = "apply_both" | "apply_description_only"; declare const EventAISuggestionsPagePropsSchema: z.ZodObject<{ mode: z.ZodOptional>; eventType: z.ZodString; context: z.ZodOptional; existingName: z.ZodOptional; isLoading: z.ZodDefault; error: z.ZodDefault>>; suggestions: z.ZodDefault; }, "strip", z.ZodTypeAny, { name: string; description: string; confidence: number; reasoning?: string | undefined; }, { name: string; description: string; confidence: number; reasoning?: string | undefined; }>, "many">>; onApplySuggestion: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; description: string; confidence: number; reasoning?: string | undefined; }, { name: string; description: string; confidence: number; reasoning?: string | undefined; }>, z.ZodOptional>], null>, z.ZodVoid>>; onClose: z.ZodOptional, z.ZodUnknown>>; isOpen: z.ZodDefault; }, "strip", z.ZodTypeAny, { error: { code: string; message: string; } | null; isLoading: boolean; suggestions: { name: string; description: string; confidence: number; reasoning?: string | undefined; }[]; isOpen: boolean; eventType: string; onClose?: ((...args: unknown[]) => unknown) | undefined; mode?: "name" | "description" | undefined; context?: string | undefined; existingName?: string | undefined; onApplySuggestion?: ((args_0: { name: string; description: string; confidence: number; reasoning?: string | undefined; }, args_1: "apply_both" | "apply_description_only" | undefined) => void) | undefined; }, { eventType: string; onClose?: ((...args: unknown[]) => unknown) | undefined; mode?: "name" | "description" | undefined; error?: { code: string; message: string; } | null | undefined; context?: string | undefined; isLoading?: boolean | undefined; suggestions?: { name: string; description: string; confidence: number; reasoning?: string | undefined; }[] | undefined; isOpen?: boolean | undefined; existingName?: string | undefined; onApplySuggestion?: ((args_0: { name: string; description: string; confidence: number; reasoning?: string | undefined; }, args_1: "apply_both" | "apply_description_only" | undefined) => void) | undefined; }>; type EventAISuggestionsPageProps = z.infer; declare const EventAISuggestionsPage: React__default.FC; interface UseEventAISuggestionsPageState { suggestions: AISuggestion[]; selectedIndex: number; isLoading: boolean; error: { code: string; message: string; } | null; } interface UseEventAISuggestionsPageReturn { data: UseEventAISuggestionsPageState; fns: { handleSelectSuggestion: (suggestion: AISuggestion, index: number) => void; handleApplySuggestion: (suggestion: AISuggestion, applyMode?: AISuggestionApplyMode) => void; handleCloseSuggestions: () => void; }; } declare const useEventAISuggestionsPage: (props: EventAISuggestionsPageProps) => UseEventAISuggestionsPageReturn; declare const FinancialAccountDataSchema: z.ZodObject<{ bankName: z.ZodOptional; bankAccountOptionId: z.ZodOptional; agency: z.ZodOptional; account: z.ZodOptional; pixKeyType: z.ZodOptional; pixKey: z.ZodOptional; initialBalance: z.ZodOptional; currentBalance: z.ZodOptional; isActive: z.ZodDefault; }, "strip", z.ZodTypeAny, { isActive: boolean; bankName?: string | undefined; bankAccountOptionId?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; currentBalance?: string | undefined; }, { bankName?: string | undefined; bankAccountOptionId?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; currentBalance?: string | undefined; isActive?: boolean | undefined; }>; declare const FinancialAccountCaixinhaFormSchema: z.ZodObject<{ currentBalance: z.ZodString; bankName: z.ZodOptional; bankAccountOptionId: z.ZodOptional; agency: z.ZodOptional; account: z.ZodOptional; pixKeyType: z.ZodOptional; pixKey: z.ZodOptional; isActive: z.ZodOptional; }, "strip", z.ZodTypeAny, { currentBalance: string; bankName?: string | undefined; bankAccountOptionId?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; isActive?: boolean | undefined; }, { currentBalance: string; bankName?: string | undefined; bankAccountOptionId?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; isActive?: boolean | undefined; }>; declare const FinancialAccountBankFormSchema: z.ZodObject<{ bankAccountOptionId: z.ZodString; agency: z.ZodString; account: z.ZodString; pixKeyType: z.ZodString; pixKey: z.ZodString; currentBalance: z.ZodEffects, string | undefined, string | undefined>; bankName: z.ZodOptional; isActive: z.ZodOptional; }, "strip", z.ZodTypeAny, { bankAccountOptionId: string; agency: string; account: string; pixKeyType: string; pixKey: string; bankName?: string | undefined; currentBalance?: string | undefined; isActive?: boolean | undefined; }, { bankAccountOptionId: string; agency: string; account: string; pixKeyType: string; pixKey: string; bankName?: string | undefined; currentBalance?: string | undefined; isActive?: boolean | undefined; }>; type FinancialAccountFormData = z.infer & z.infer; declare const FinancialAccountPropsSchema: z.ZodObject<{ initialData: z.ZodOptional; bankAccountOptionId: z.ZodOptional; agency: z.ZodOptional; account: z.ZodOptional; pixKeyType: z.ZodOptional; pixKey: z.ZodOptional; initialBalance: z.ZodOptional; currentBalance: z.ZodOptional; isActive: z.ZodDefault; }, "strip", z.ZodTypeAny, { isActive: boolean; bankName?: string | undefined; bankAccountOptionId?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; currentBalance?: string | undefined; }, { bankName?: string | undefined; bankAccountOptionId?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; currentBalance?: string | undefined; isActive?: boolean | undefined; }>>; bankAccountOptions: z.ZodOptional, "many">>; onSave: z.ZodOptional; bankAccountOptionId: z.ZodOptional; agency: z.ZodOptional; account: z.ZodOptional; pixKeyType: z.ZodOptional; pixKey: z.ZodOptional; initialBalance: z.ZodOptional; currentBalance: z.ZodOptional; isActive: z.ZodDefault; }, "strip", z.ZodTypeAny, { isActive: boolean; bankName?: string | undefined; bankAccountOptionId?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; currentBalance?: string | undefined; }, { bankName?: string | undefined; bankAccountOptionId?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; currentBalance?: string | undefined; isActive?: boolean | undefined; }>], null>, z.ZodVoid>>; onBack: z.ZodOptional, z.ZodVoid>>; mode: z.ZodDefault>; isCaixinha: z.ZodDefault; }, "strip", z.ZodTypeAny, { mode: "view" | "create" | "edit"; isCaixinha: boolean; onBack?: (() => void) | undefined; onSave?: ((args_0: { bankName?: string | undefined; bankAccountOptionId?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; currentBalance?: string | undefined; isActive?: boolean | undefined; }) => void) | undefined; initialData?: { isActive: boolean; bankName?: string | undefined; bankAccountOptionId?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; currentBalance?: string | undefined; } | undefined; bankAccountOptions?: { id: string; name: string; }[] | undefined; }, { mode?: "view" | "create" | "edit" | undefined; onBack?: (() => void) | undefined; onSave?: ((args_0: { isActive: boolean; bankName?: string | undefined; bankAccountOptionId?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; currentBalance?: string | undefined; }) => void) | undefined; initialData?: { bankName?: string | undefined; bankAccountOptionId?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; currentBalance?: string | undefined; isActive?: boolean | undefined; } | undefined; bankAccountOptions?: { id: string; name: string; }[] | undefined; isCaixinha?: boolean | undefined; }>; type FinancialAccountData = z.infer; type FinancialAccountProps = z.infer; declare const FinancialAccountPage: React__default.FunctionComponent; declare const _default$7: React__default.NamedExoticComponent<{ onBack: () => void; income: { month: number; year: number; totalAmount: string | number; }; outcome: { month: number; year: number; totalAmount: string | number; }; monthlyFee: { id: string; monthlyFee: string | number; dueDay: string | number; paymentMethod: string; receivingAccount: { id: string; agency: string; account: string; bankAccountOption?: { id: string; name: string; updatedAt: string; createdAt: string; image?: string | null | undefined; } | undefined; }; }; accounts: { id: string; image: string | null; name: string; updatedAt: string; createdAt: string; agency: string; account: string; pixKeyType: string | null; pixKey: string | null; initialBalance: string; currentBalance: string; accountType: "BANK" | "CASH"; bankAccountOption?: { id: string; name: string; updatedAt: string; createdAt: string; image?: string | null | undefined; } | undefined; }[]; onSelectAccount: (args_0: string) => void; onAddAccount: () => void; onEditMonthlyFee: (args_0: string) => void; periodLabel?: string | undefined; periodInputValue?: string | undefined; periodInputMin?: string | undefined; periodInputMax?: string | undefined; onPeriodInputChange?: ((args_0: string) => void) | undefined; onResetToCurrentPeriod?: (() => void) | undefined; contributionImpact?: unknown; sharedExpenses?: unknown; formattedMonthlyFee?: string | undefined; formattedContributionPerMember?: string | undefined; formattedTotalSharedExpenses?: string | undefined; onViewMyMonthlyFee?: (() => void) | undefined; onSelectMonthlyFee?: ((args_0: string) => void) | undefined; onClickIncome?: (() => void) | undefined; onClickOutcome?: (() => void) | undefined; isTerreiro?: boolean | undefined; financialOverview?: { formatted: { totalIncome: string; totalOutcome: string; netFlow: string; totalBalance: string; memberPaymentsExpected?: string | undefined; memberPaymentsCollected?: string | undefined; }; overview: { period: { end: string; start: string; }; totalIncome: number; totalOutcome: number; netFlow: number; totalBalance: number; }; corrections: { incomeCorrections: number; outcomeCorrections: number; totalCorrections: number; }; memberPayments?: { totalMembers: number; paidMembers: number; pendingMembers: number; collectionPercentage: number; expectedAmount: number; collectedAmount: number; } | undefined; incomeByCategory?: { id: string; name: string; percentage: number; amount: number; formattedAmount: string; }[] | undefined; outcomeByCategory?: { id: string; name: string; percentage: number; amount: number; formattedAmount: string; }[] | undefined; } | null | undefined; isOverviewLoading?: boolean | undefined; financialOverviewExpanded?: boolean | undefined; showPeriodFilter?: boolean | undefined; canExportFinancialReport?: boolean | undefined; isExportingFinancialReport?: boolean | undefined; onExportFinancialReport?: (() => void) | undefined; financialReportExportError?: string | null | undefined; audience?: "medium" | "manager" | undefined; widgetVisibility?: Record | undefined; widgetOrder?: string[] | undefined; onWidgetVisibilityChange?: ((args_0: string, args_1: boolean) => void) | undefined; onWidgetOrderChange?: ((args_0: string[]) => void) | undefined; formattedProjectedSharedExpenses?: string | undefined; isTransparencyLoading?: boolean | undefined; transparencyPeriodLabel?: string | undefined; }>; declare const FinancialAccountSchema: z.ZodObject<{ id: z.ZodString; account: z.ZodString; agency: z.ZodString; name: z.ZodString; image: z.ZodNullable; bankAccountOption: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; updatedAt: string; createdAt: string; image?: string | null | undefined; }, { id: string; name: string; updatedAt: string; createdAt: string; image?: string | null | undefined; }>>; initialBalance: z.ZodString; currentBalance: z.ZodString; pixKey: z.ZodNullable; pixKeyType: z.ZodNullable; accountType: z.ZodEnum<["CASH", "BANK"]>; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; image: string | null; name: string; updatedAt: string; createdAt: string; agency: string; account: string; pixKeyType: string | null; pixKey: string | null; initialBalance: string; currentBalance: string; accountType: "BANK" | "CASH"; bankAccountOption?: { id: string; name: string; updatedAt: string; createdAt: string; image?: string | null | undefined; } | undefined; }, { id: string; image: string | null; name: string; updatedAt: string; createdAt: string; agency: string; account: string; pixKeyType: string | null; pixKey: string | null; initialBalance: string; currentBalance: string; accountType: "BANK" | "CASH"; bankAccountOption?: { id: string; name: string; updatedAt: string; createdAt: string; image?: string | null | undefined; } | undefined; }>; type FinancialAccount = z.infer; declare const FinancialOverviewSchema: z.ZodObject<{ overview: z.ZodObject<{ totalIncome: z.ZodNumber; totalOutcome: z.ZodNumber; netFlow: z.ZodNumber; totalBalance: z.ZodNumber; period: z.ZodObject<{ start: z.ZodString; end: z.ZodString; }, "strip", z.ZodTypeAny, { end: string; start: string; }, { end: string; start: string; }>; }, "strip", z.ZodTypeAny, { period: { end: string; start: string; }; totalIncome: number; totalOutcome: number; netFlow: number; totalBalance: number; }, { period: { end: string; start: string; }; totalIncome: number; totalOutcome: number; netFlow: number; totalBalance: number; }>; corrections: z.ZodObject<{ incomeCorrections: z.ZodNumber; outcomeCorrections: z.ZodNumber; totalCorrections: z.ZodNumber; }, "strip", z.ZodTypeAny, { incomeCorrections: number; outcomeCorrections: number; totalCorrections: number; }, { incomeCorrections: number; outcomeCorrections: number; totalCorrections: number; }>; memberPayments: z.ZodOptional>; incomeByCategory: z.ZodOptional, "many">>; outcomeByCategory: z.ZodOptional, "many">>; formatted: z.ZodObject<{ totalIncome: z.ZodString; totalOutcome: z.ZodString; netFlow: z.ZodString; totalBalance: z.ZodString; memberPaymentsExpected: z.ZodOptional; memberPaymentsCollected: z.ZodOptional; }, "strip", z.ZodTypeAny, { totalIncome: string; totalOutcome: string; netFlow: string; totalBalance: string; memberPaymentsExpected?: string | undefined; memberPaymentsCollected?: string | undefined; }, { totalIncome: string; totalOutcome: string; netFlow: string; totalBalance: string; memberPaymentsExpected?: string | undefined; memberPaymentsCollected?: string | undefined; }>; }, "strip", z.ZodTypeAny, { formatted: { totalIncome: string; totalOutcome: string; netFlow: string; totalBalance: string; memberPaymentsExpected?: string | undefined; memberPaymentsCollected?: string | undefined; }; overview: { period: { end: string; start: string; }; totalIncome: number; totalOutcome: number; netFlow: number; totalBalance: number; }; corrections: { incomeCorrections: number; outcomeCorrections: number; totalCorrections: number; }; memberPayments?: { totalMembers: number; paidMembers: number; pendingMembers: number; collectionPercentage: number; expectedAmount: number; collectedAmount: number; } | undefined; incomeByCategory?: { id: string; name: string; percentage: number; amount: number; formattedAmount: string; }[] | undefined; outcomeByCategory?: { id: string; name: string; percentage: number; amount: number; formattedAmount: string; }[] | undefined; }, { formatted: { totalIncome: string; totalOutcome: string; netFlow: string; totalBalance: string; memberPaymentsExpected?: string | undefined; memberPaymentsCollected?: string | undefined; }; overview: { period: { end: string; start: string; }; totalIncome: number; totalOutcome: number; netFlow: number; totalBalance: number; }; corrections: { incomeCorrections: number; outcomeCorrections: number; totalCorrections: number; }; memberPayments?: { totalMembers: number; paidMembers: number; pendingMembers: number; collectionPercentage: number; expectedAmount: number; collectedAmount: number; } | undefined; incomeByCategory?: { id: string; name: string; percentage: number; amount: number; formattedAmount: string; }[] | undefined; outcomeByCategory?: { id: string; name: string; percentage: number; amount: number; formattedAmount: string; }[] | undefined; }>; type FinancialOverview = z.infer; declare const FinancialAccountsListPropsSchema: z.ZodObject<{ accounts: z.ZodArray; bankAccountOption: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; updatedAt: string; createdAt: string; image?: string | null | undefined; }, { id: string; name: string; updatedAt: string; createdAt: string; image?: string | null | undefined; }>>; initialBalance: z.ZodString; currentBalance: z.ZodString; pixKey: z.ZodNullable; pixKeyType: z.ZodNullable; accountType: z.ZodEnum<["CASH", "BANK"]>; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; image: string | null; name: string; updatedAt: string; createdAt: string; agency: string; account: string; pixKeyType: string | null; pixKey: string | null; initialBalance: string; currentBalance: string; accountType: "BANK" | "CASH"; bankAccountOption?: { id: string; name: string; updatedAt: string; createdAt: string; image?: string | null | undefined; } | undefined; }, { id: string; image: string | null; name: string; updatedAt: string; createdAt: string; agency: string; account: string; pixKeyType: string | null; pixKey: string | null; initialBalance: string; currentBalance: string; accountType: "BANK" | "CASH"; bankAccountOption?: { id: string; name: string; updatedAt: string; createdAt: string; image?: string | null | undefined; } | undefined; }>, "many">; onBack: z.ZodFunction, z.ZodVoid>; onSelectAccount: z.ZodFunction, z.ZodVoid>; onAddAccount: z.ZodFunction, z.ZodVoid>; onEditMonthlyFee: z.ZodFunction, z.ZodVoid>; onSelectMonthlyFee: z.ZodOptional, z.ZodVoid>>; onViewMyMonthlyFee: z.ZodOptional, z.ZodVoid>>; onClickIncome: z.ZodOptional, z.ZodVoid>>; onClickOutcome: z.ZodOptional, z.ZodVoid>>; monthlyFee: z.ZodObject<{ id: z.ZodString; monthlyFee: z.ZodUnion<[z.ZodNumber, z.ZodString]>; dueDay: z.ZodUnion<[z.ZodNumber, z.ZodString]>; paymentMethod: z.ZodString; receivingAccount: z.ZodObject<{ id: z.ZodString; account: z.ZodString; agency: z.ZodString; bankAccountOption: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; updatedAt: string; createdAt: string; image?: string | null | undefined; }, { id: string; name: string; updatedAt: string; createdAt: string; image?: string | null | undefined; }>>; }, "strip", z.ZodTypeAny, { id: string; agency: string; account: string; bankAccountOption?: { id: string; name: string; updatedAt: string; createdAt: string; image?: string | null | undefined; } | undefined; }, { id: string; agency: string; account: string; bankAccountOption?: { id: string; name: string; updatedAt: string; createdAt: string; image?: string | null | undefined; } | undefined; }>; }, "strip", z.ZodTypeAny, { id: string; monthlyFee: string | number; dueDay: string | number; paymentMethod: string; receivingAccount: { id: string; agency: string; account: string; bankAccountOption?: { id: string; name: string; updatedAt: string; createdAt: string; image?: string | null | undefined; } | undefined; }; }, { id: string; monthlyFee: string | number; dueDay: string | number; paymentMethod: string; receivingAccount: { id: string; agency: string; account: string; bankAccountOption?: { id: string; name: string; updatedAt: string; createdAt: string; image?: string | null | undefined; } | undefined; }; }>; outcome: z.ZodObject<{ month: z.ZodNumber; year: z.ZodNumber; totalAmount: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "strip", z.ZodTypeAny, { month: number; year: number; totalAmount: string | number; }, { month: number; year: number; totalAmount: string | number; }>; income: z.ZodObject<{ month: z.ZodNumber; year: z.ZodNumber; totalAmount: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "strip", z.ZodTypeAny, { month: number; year: number; totalAmount: string | number; }, { month: number; year: number; totalAmount: string | number; }>; isTerreiro: z.ZodOptional>; financialOverview: z.ZodNullable; }, "strip", z.ZodTypeAny, { period: { end: string; start: string; }; totalIncome: number; totalOutcome: number; netFlow: number; totalBalance: number; }, { period: { end: string; start: string; }; totalIncome: number; totalOutcome: number; netFlow: number; totalBalance: number; }>; corrections: z.ZodObject<{ incomeCorrections: z.ZodNumber; outcomeCorrections: z.ZodNumber; totalCorrections: z.ZodNumber; }, "strip", z.ZodTypeAny, { incomeCorrections: number; outcomeCorrections: number; totalCorrections: number; }, { incomeCorrections: number; outcomeCorrections: number; totalCorrections: number; }>; memberPayments: z.ZodOptional>; incomeByCategory: z.ZodOptional, "many">>; outcomeByCategory: z.ZodOptional, "many">>; formatted: z.ZodObject<{ totalIncome: z.ZodString; totalOutcome: z.ZodString; netFlow: z.ZodString; totalBalance: z.ZodString; memberPaymentsExpected: z.ZodOptional; memberPaymentsCollected: z.ZodOptional; }, "strip", z.ZodTypeAny, { totalIncome: string; totalOutcome: string; netFlow: string; totalBalance: string; memberPaymentsExpected?: string | undefined; memberPaymentsCollected?: string | undefined; }, { totalIncome: string; totalOutcome: string; netFlow: string; totalBalance: string; memberPaymentsExpected?: string | undefined; memberPaymentsCollected?: string | undefined; }>; }, "strip", z.ZodTypeAny, { formatted: { totalIncome: string; totalOutcome: string; netFlow: string; totalBalance: string; memberPaymentsExpected?: string | undefined; memberPaymentsCollected?: string | undefined; }; overview: { period: { end: string; start: string; }; totalIncome: number; totalOutcome: number; netFlow: number; totalBalance: number; }; corrections: { incomeCorrections: number; outcomeCorrections: number; totalCorrections: number; }; memberPayments?: { totalMembers: number; paidMembers: number; pendingMembers: number; collectionPercentage: number; expectedAmount: number; collectedAmount: number; } | undefined; incomeByCategory?: { id: string; name: string; percentage: number; amount: number; formattedAmount: string; }[] | undefined; outcomeByCategory?: { id: string; name: string; percentage: number; amount: number; formattedAmount: string; }[] | undefined; }, { formatted: { totalIncome: string; totalOutcome: string; netFlow: string; totalBalance: string; memberPaymentsExpected?: string | undefined; memberPaymentsCollected?: string | undefined; }; overview: { period: { end: string; start: string; }; totalIncome: number; totalOutcome: number; netFlow: number; totalBalance: number; }; corrections: { incomeCorrections: number; outcomeCorrections: number; totalCorrections: number; }; memberPayments?: { totalMembers: number; paidMembers: number; pendingMembers: number; collectionPercentage: number; expectedAmount: number; collectedAmount: number; } | undefined; incomeByCategory?: { id: string; name: string; percentage: number; amount: number; formattedAmount: string; }[] | undefined; outcomeByCategory?: { id: string; name: string; percentage: number; amount: number; formattedAmount: string; }[] | undefined; }>>>; isOverviewLoading: z.ZodOptional; financialOverviewExpanded: z.ZodOptional; periodLabel: z.ZodOptional; periodInputValue: z.ZodOptional; periodInputMin: z.ZodOptional; periodInputMax: z.ZodOptional; showPeriodFilter: z.ZodOptional; onPeriodInputChange: z.ZodOptional, z.ZodVoid>>; onResetToCurrentPeriod: z.ZodOptional, z.ZodVoid>>; canExportFinancialReport: z.ZodOptional; isExportingFinancialReport: z.ZodOptional; onExportFinancialReport: z.ZodOptional, z.ZodVoid>>; financialReportExportError: z.ZodOptional>; audience: z.ZodOptional>; widgetVisibility: z.ZodOptional>; widgetOrder: z.ZodOptional>; onWidgetVisibilityChange: z.ZodOptional, z.ZodVoid>>; onWidgetOrderChange: z.ZodOptional], null>, z.ZodVoid>>; contributionImpact: z.ZodOptional; sharedExpenses: z.ZodOptional; formattedContributionPerMember: z.ZodOptional; formattedMonthlyFee: z.ZodOptional; formattedTotalSharedExpenses: z.ZodOptional; formattedProjectedSharedExpenses: z.ZodOptional; isTransparencyLoading: z.ZodOptional; transparencyPeriodLabel: z.ZodOptional; }, "strip", z.ZodTypeAny, { onBack: () => void; income: { month: number; year: number; totalAmount: string | number; }; outcome: { month: number; year: number; totalAmount: string | number; }; monthlyFee: { id: string; monthlyFee: string | number; dueDay: string | number; paymentMethod: string; receivingAccount: { id: string; agency: string; account: string; bankAccountOption?: { id: string; name: string; updatedAt: string; createdAt: string; image?: string | null | undefined; } | undefined; }; }; accounts: { id: string; image: string | null; name: string; updatedAt: string; createdAt: string; agency: string; account: string; pixKeyType: string | null; pixKey: string | null; initialBalance: string; currentBalance: string; accountType: "BANK" | "CASH"; bankAccountOption?: { id: string; name: string; updatedAt: string; createdAt: string; image?: string | null | undefined; } | undefined; }[]; onSelectAccount: (args_0: string) => void; onAddAccount: () => void; onEditMonthlyFee: (args_0: string) => void; periodLabel?: string | undefined; periodInputValue?: string | undefined; periodInputMin?: string | undefined; periodInputMax?: string | undefined; onPeriodInputChange?: ((args_0: string) => void) | undefined; onResetToCurrentPeriod?: (() => void) | undefined; contributionImpact?: unknown; sharedExpenses?: unknown; formattedMonthlyFee?: string | undefined; formattedContributionPerMember?: string | undefined; formattedTotalSharedExpenses?: string | undefined; onViewMyMonthlyFee?: (() => void) | undefined; onSelectMonthlyFee?: ((args_0: string) => void) | undefined; onClickIncome?: (() => void) | undefined; onClickOutcome?: (() => void) | undefined; isTerreiro?: boolean | undefined; financialOverview?: { formatted: { totalIncome: string; totalOutcome: string; netFlow: string; totalBalance: string; memberPaymentsExpected?: string | undefined; memberPaymentsCollected?: string | undefined; }; overview: { period: { end: string; start: string; }; totalIncome: number; totalOutcome: number; netFlow: number; totalBalance: number; }; corrections: { incomeCorrections: number; outcomeCorrections: number; totalCorrections: number; }; memberPayments?: { totalMembers: number; paidMembers: number; pendingMembers: number; collectionPercentage: number; expectedAmount: number; collectedAmount: number; } | undefined; incomeByCategory?: { id: string; name: string; percentage: number; amount: number; formattedAmount: string; }[] | undefined; outcomeByCategory?: { id: string; name: string; percentage: number; amount: number; formattedAmount: string; }[] | undefined; } | null | undefined; isOverviewLoading?: boolean | undefined; financialOverviewExpanded?: boolean | undefined; showPeriodFilter?: boolean | undefined; canExportFinancialReport?: boolean | undefined; isExportingFinancialReport?: boolean | undefined; onExportFinancialReport?: (() => void) | undefined; financialReportExportError?: string | null | undefined; audience?: "medium" | "manager" | undefined; widgetVisibility?: Record | undefined; widgetOrder?: string[] | undefined; onWidgetVisibilityChange?: ((args_0: string, args_1: boolean) => void) | undefined; onWidgetOrderChange?: ((args_0: string[]) => void) | undefined; formattedProjectedSharedExpenses?: string | undefined; isTransparencyLoading?: boolean | undefined; transparencyPeriodLabel?: string | undefined; }, { onBack: () => void; income: { month: number; year: number; totalAmount: string | number; }; outcome: { month: number; year: number; totalAmount: string | number; }; monthlyFee: { id: string; monthlyFee: string | number; dueDay: string | number; paymentMethod: string; receivingAccount: { id: string; agency: string; account: string; bankAccountOption?: { id: string; name: string; updatedAt: string; createdAt: string; image?: string | null | undefined; } | undefined; }; }; accounts: { id: string; image: string | null; name: string; updatedAt: string; createdAt: string; agency: string; account: string; pixKeyType: string | null; pixKey: string | null; initialBalance: string; currentBalance: string; accountType: "BANK" | "CASH"; bankAccountOption?: { id: string; name: string; updatedAt: string; createdAt: string; image?: string | null | undefined; } | undefined; }[]; onSelectAccount: (args_0: string) => void; onAddAccount: () => void; onEditMonthlyFee: (args_0: string) => void; periodLabel?: string | undefined; periodInputValue?: string | undefined; periodInputMin?: string | undefined; periodInputMax?: string | undefined; onPeriodInputChange?: ((args_0: string) => void) | undefined; onResetToCurrentPeriod?: (() => void) | undefined; contributionImpact?: unknown; sharedExpenses?: unknown; formattedMonthlyFee?: string | undefined; formattedContributionPerMember?: string | undefined; formattedTotalSharedExpenses?: string | undefined; onViewMyMonthlyFee?: (() => void) | undefined; onSelectMonthlyFee?: ((args_0: string) => void) | undefined; onClickIncome?: (() => void) | undefined; onClickOutcome?: (() => void) | undefined; isTerreiro?: boolean | undefined; financialOverview?: { formatted: { totalIncome: string; totalOutcome: string; netFlow: string; totalBalance: string; memberPaymentsExpected?: string | undefined; memberPaymentsCollected?: string | undefined; }; overview: { period: { end: string; start: string; }; totalIncome: number; totalOutcome: number; netFlow: number; totalBalance: number; }; corrections: { incomeCorrections: number; outcomeCorrections: number; totalCorrections: number; }; memberPayments?: { totalMembers: number; paidMembers: number; pendingMembers: number; collectionPercentage: number; expectedAmount: number; collectedAmount: number; } | undefined; incomeByCategory?: { id: string; name: string; percentage: number; amount: number; formattedAmount: string; }[] | undefined; outcomeByCategory?: { id: string; name: string; percentage: number; amount: number; formattedAmount: string; }[] | undefined; } | null | undefined; isOverviewLoading?: boolean | undefined; financialOverviewExpanded?: boolean | undefined; showPeriodFilter?: boolean | undefined; canExportFinancialReport?: boolean | undefined; isExportingFinancialReport?: boolean | undefined; onExportFinancialReport?: (() => void) | undefined; financialReportExportError?: string | null | undefined; audience?: "medium" | "manager" | undefined; widgetVisibility?: Record | undefined; widgetOrder?: string[] | undefined; onWidgetVisibilityChange?: ((args_0: string, args_1: boolean) => void) | undefined; onWidgetOrderChange?: ((args_0: string[]) => void) | undefined; formattedProjectedSharedExpenses?: string | undefined; isTransparencyLoading?: boolean | undefined; transparencyPeriodLabel?: string | undefined; }>; type FinancialAccountsListProps = z.infer; interface CategoryBreakdownItem { id: string; name: string; amount: number; percentage: number; formattedAmount: string; } interface MemberPaymentsData { totalMembers: number; paidMembers: number; pendingMembers: number; collectionPercentage: number; expectedAmount: number; collectedAmount: number; } interface FinancialOverviewData { overview: { totalIncome: number; totalOutcome: number; netFlow: number; totalBalance: number; period: { start: string; end: string; }; }; corrections: { incomeCorrections: number; outcomeCorrections: number; totalCorrections: number; }; memberPayments?: MemberPaymentsData; incomeByCategory?: CategoryBreakdownItem[]; outcomeByCategory?: CategoryBreakdownItem[]; formatted: { totalIncome: string; totalOutcome: string; netFlow: string; totalBalance: string; memberPaymentsExpected?: string; memberPaymentsCollected?: string; }; } interface FinancialOverviewCardProps { /** Financial overview data from API */ data?: FinancialOverviewData | null; /** Loading state */ isLoading?: boolean; /** Custom format currency function (optional, uses data.formatted if available) */ formatCurrency?: (value: number | string) => string; /** Click handler for the card */ onClick?: () => void; /** Show expanded category breakdown by default */ defaultExpanded?: boolean; /** Controls visibility of member payments section */ showMemberPayments?: boolean; /** Hides the title and total balance when the dashboard hero already shows them */ hideHeadline?: boolean; } declare const FinancialOverviewCard: React__default.MemoExoticComponent<({ data, isLoading, formatCurrency, onClick, defaultExpanded, showMemberPayments, hideHeadline, }: FinancialOverviewCardProps) => React__default.JSX.Element>; declare const FinancialAudienceSchema: z.ZodEnum<["manager", "medium"]>; type FinancialAudience = z.infer; declare const FinancialTabSchema: z.ZodEnum<["home", "movements", "accounts", "monthlyFee"]>; type FinancialTab = z.infer; type FinancialAppShellProps = { audience: FinancialAudience; activeTab: FinancialTab; showBottomNav?: boolean; showMensalidade?: boolean; showMovements?: boolean; showAccounts?: boolean; showAdd?: boolean; onExit?: () => void; onNavigateHome?: () => void; onNavigateMovements?: () => void; onNavigateAccounts?: () => void; onNavigateMonthlyFee?: () => void; onAddContribution?: () => void; onAddExpense?: () => void; children: ReactNode; }; declare const FinancialAppShell: React__default.FC; type FinancialAccountsPageProps = { accounts: FinancialAccount[]; onBack?: () => void; onSelectAccount: (id: string) => void; onAddAccount: () => void; }; declare const FinancialAccountsPage: React__default.FC; type ReceiptSubmissionCardProps = { terreiroId?: string | null; competenceMonth?: string; backendPeriodMonth?: string; hasPaidMonthlyFee?: boolean; paidAmount?: string; note?: string; formattedTotalPaidThisMonth?: string; receiptFileName?: string | null; latestRequest?: { id: string; competenceMonth: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED"; rejectionReason: string | null; requestedAt: string; } | null; requestHistory?: Array<{ id: string; competenceMonth: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED"; rejectionReason: string | null; requestedAt: string; reviewedAt?: string | null; reviewedByName?: string | null; }>; localReceiptError?: string | null; localReceiptFeedback?: { severity: "success" | "error" | "info" | "warning"; message: string; } | null; receiptHint?: string; isSubmitting?: boolean; canSubmitReceipt?: boolean; paidAmountError?: string | null; onCompetenceMonthChange?: (value: string) => void; onPaidAmountChange?: (value: string) => void; onNoteChange?: (value: string) => void; onSelectReceipt?: (file: File | null) => void; onSubmitReceipt?: () => void; }; declare const ReceiptSubmissionCard: React__default.FC; declare const ONBOARDING_ANALYTICS_EVENT_NAMES: readonly ["onboarding_quiz_step_viewed", "onboarding_info_step_viewed", "onboarding_step_completed", "onboarding_quiz_step_back", "onboarding_answer_selected", "onboarding_step_action", "onboarding_plan_selected", "onboarding_link_clicked", "onboarding_consent_changed", "onboarding_auth_started", "onboarding_subscription_notice_viewed", "onboarding_subscription_notice_action_clicked", "onboarding_subscription_notice_dismissed", "onboarding_plugin_toggled", "onboarding_medium_count_band_changed"]; type OnboardingAnalyticsEventName = (typeof ONBOARDING_ANALYTICS_EVENT_NAMES)[number]; type OnboardingAnalyticsEvent = { name: OnboardingAnalyticsEventName; properties: Record; contains_answer: boolean; }; type OnboardingAnalyticsCallback = (event: OnboardingAnalyticsEvent) => void; type EmitOnboardingAnalyticsOptions = { /** Always true for answer_selected; otherwise sensitiveStepIds may set it. */ forceContainsAnswer?: boolean; /** Skip dev warn when stepId is missing (e.g. optional screens). */ allowMissingStepId?: boolean; }; declare function emitOnboardingAnalytics(onAnalyticsEvent: OnboardingAnalyticsCallback | undefined, sensitiveStepIds: string[], stepId: string | undefined, name: OnboardingAnalyticsEventName, properties: Record, options?: EmitOnboardingAnalyticsOptions): void; declare function emitSubscriptionNoticeAnalytics(onAnalyticsEvent: OnboardingAnalyticsCallback | undefined, name: Extract, properties: Record): void; interface SubscriptionNoticeData { id: string; tone: "info" | "warning"; message: string; action?: { id: string; label: string; }; dismissible?: boolean; } type SubscriptionNoticeProps = { notice: SubscriptionNoticeData; onAnalyticsEvent?: OnboardingAnalyticsCallback; onAction?: (payload: { noticeId: string; actionId: string; }) => void; onDismiss?: (payload: { noticeId: string; }) => void; dismissAriaLabel?: string; }; declare const SubscriptionNotice: React__default.FC; /** * Calendar view mode schema */ declare const CalendarViewModeSchema: z.ZodEnum<["monthly", "weekly"]>; type CalendarViewMode = z.infer; /** * Calendar status filter schema - shared status values for activities and events */ declare const CalendarStatusFilterSchema: z.ZodEnum<["ALL", "PENDING", "CONFIRMED", "IN_PROGRESS", "FINALIZED", "REALIZED", "NOT_REALIZED", "CANCELLED", "MODEL"]>; type CalendarStatusFilter = z.infer; /** * Calendar item schema - represents an activity or event on the calendar */ declare const CalendarItemSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; date: z.ZodString; time: z.ZodOptional; type: z.ZodEnum<["activity", "event", "ritual_bath"]>; /** Only read for `type: "activity"`; `"RITUAL"` labels the item as a ritual. */ activityType: z.ZodOptional>; color: z.ZodOptional; status: z.ZodOptional; source: z.ZodOptional>; description: z.ZodOptional; imageUrl: z.ZodOptional; category: z.ZodOptional; steps: z.ZodOptional; text: z.ZodString; }, "strip", z.ZodTypeAny, { text: string; icon?: string | undefined; }, { text: string; icon?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { title: string; id: string; type: "event" | "activity" | "ritual_bath"; date: string; color?: string | undefined; source?: "scheduled" | "recommendation" | undefined; time?: string | undefined; status?: string | undefined; description?: string | undefined; category?: string | undefined; imageUrl?: string | undefined; steps?: { text: string; icon?: string | undefined; }[] | undefined; activityType?: "ACTIVITY" | "RITUAL" | undefined; }, { title: string; id: string; type: "event" | "activity" | "ritual_bath"; date: string; color?: string | undefined; source?: "scheduled" | "recommendation" | undefined; time?: string | undefined; status?: string | undefined; description?: string | undefined; category?: string | undefined; imageUrl?: string | undefined; steps?: { text: string; icon?: string | undefined; }[] | undefined; activityType?: "ACTIVITY" | "RITUAL" | undefined; }>; type CalendarItem = z.infer; /** * Calendar date range schema - returned when view mode changes */ declare const CalendarDateRangeSchema: z.ZodObject<{ startDate: z.ZodString; endDate: z.ZodString; viewMode: z.ZodEnum<["monthly", "weekly"]>; }, "strip", z.ZodTypeAny, { startDate: string; endDate: string; viewMode: "monthly" | "weekly"; }, { startDate: string; endDate: string; viewMode: "monthly" | "weekly"; }>; type CalendarDateRange = z.infer; declare const BadgeTierSchema$1: z.ZodEnum<["BRONZE", "SILVER", "GOLD", "PLATINUM", "DIAMOND"]>; type BadgeTier$1 = z.infer; declare const StreakInfoSchema: z.ZodObject<{ current: z.ZodNumber; longest: z.ZodNumber; lastActivityDate: z.ZodNullable; }, "strip", z.ZodTypeAny, { current: number; longest: number; lastActivityDate: string | null; }, { current: number; longest: number; lastActivityDate: string | null; }>; type StreakInfo = z.infer; declare const PositionInfoSchema: z.ZodObject<{ position: z.ZodNumber; totalParticipants: z.ZodNumber; change: z.ZodOptional; }, "strip", z.ZodTypeAny, { position: number; totalParticipants: number; change?: number | undefined; }, { position: number; totalParticipants: number; change?: number | undefined; }>; type PositionInfo = z.infer; declare const PointsSummarySchema: z.ZodObject<{ total: z.ZodNumber; weekly: z.ZodNumber; monthly: z.ZodNumber; yearly: z.ZodNumber; }, "strip", z.ZodTypeAny, { monthly: number; yearly: number; weekly: number; total: number; }, { monthly: number; yearly: number; weekly: number; total: number; }>; type PointsSummary = z.infer; declare const GamificationSummarySchema: z.ZodObject<{ points: z.ZodObject<{ total: z.ZodNumber; weekly: z.ZodNumber; monthly: z.ZodNumber; yearly: z.ZodNumber; }, "strip", z.ZodTypeAny, { monthly: number; yearly: number; weekly: number; total: number; }, { monthly: number; yearly: number; weekly: number; total: number; }>; streak: z.ZodObject<{ current: z.ZodNumber; longest: z.ZodNumber; lastActivityDate: z.ZodNullable; }, "strip", z.ZodTypeAny, { current: number; longest: number; lastActivityDate: string | null; }, { current: number; longest: number; lastActivityDate: string | null; }>; monthlyProgress: z.ZodOptional; monthStart: z.ZodOptional; monthEnd: z.ZodOptional; today: z.ZodOptional; daysAccessed: z.ZodNumber; totalDays: z.ZodNumber; bonusUnlocked: z.ZodBoolean; bonusAwarded: z.ZodBoolean; bonusPoints: z.ZodNumber; }, "strip", z.ZodTypeAny, { daysAccessed: number; totalDays: number; bonusUnlocked: boolean; bonusAwarded: boolean; bonusPoints: number; timezone?: string | undefined; monthStart?: string | undefined; monthEnd?: string | undefined; today?: string | undefined; }, { daysAccessed: number; totalDays: number; bonusUnlocked: boolean; bonusAwarded: boolean; bonusPoints: number; timezone?: string | undefined; monthStart?: string | undefined; monthEnd?: string | undefined; today?: string | undefined; }>>; rankingStatus: z.ZodOptional>; rank: z.ZodOptional; totalParticipants: z.ZodOptional; rankChange: z.ZodOptional; position: z.ZodOptional; }, "strip", z.ZodTypeAny, { position: number; totalParticipants: number; change?: number | undefined; }, { position: number; totalParticipants: number; change?: number | undefined; }>>; recentBadge: z.ZodOptional; tier: z.ZodEnum<["BRONZE", "SILVER", "GOLD", "PLATINUM", "DIAMOND"]>; earnedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "SEASONAL"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; earnedAt?: string | undefined; }, { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "SEASONAL"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; earnedAt?: string | undefined; }>>>; totalBadges: z.ZodNumber; participationRate: z.ZodOptional; }, "strip", z.ZodTypeAny, { points: { monthly: number; yearly: number; weekly: number; total: number; }; streak: { current: number; longest: number; lastActivityDate: string | null; }; totalBadges: number; position?: { position: number; totalParticipants: number; change?: number | undefined; } | undefined; rank?: number | undefined; totalParticipants?: number | undefined; monthlyProgress?: { daysAccessed: number; totalDays: number; bonusUnlocked: boolean; bonusAwarded: boolean; bonusPoints: number; timezone?: string | undefined; monthStart?: string | undefined; monthEnd?: string | undefined; today?: string | undefined; } | undefined; rankingStatus?: "error" | "loading" | "ready" | "empty" | undefined; rankChange?: number | undefined; recentBadge?: { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "SEASONAL"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; earnedAt?: string | undefined; } | null | undefined; participationRate?: number | undefined; }, { points: { monthly: number; yearly: number; weekly: number; total: number; }; streak: { current: number; longest: number; lastActivityDate: string | null; }; totalBadges: number; position?: { position: number; totalParticipants: number; change?: number | undefined; } | undefined; rank?: number | undefined; totalParticipants?: number | undefined; monthlyProgress?: { daysAccessed: number; totalDays: number; bonusUnlocked: boolean; bonusAwarded: boolean; bonusPoints: number; timezone?: string | undefined; monthStart?: string | undefined; monthEnd?: string | undefined; today?: string | undefined; } | undefined; rankingStatus?: "error" | "loading" | "ready" | "empty" | undefined; rankChange?: number | undefined; recentBadge?: { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "SEASONAL"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; earnedAt?: string | undefined; } | null | undefined; participationRate?: number | undefined; }>; type GamificationSummary = z.infer; declare const GamificationCardPropsSchema: z.ZodObject<{ data: z.ZodNullable; streak: z.ZodObject<{ current: z.ZodNumber; longest: z.ZodNumber; lastActivityDate: z.ZodNullable; }, "strip", z.ZodTypeAny, { current: number; longest: number; lastActivityDate: string | null; }, { current: number; longest: number; lastActivityDate: string | null; }>; monthlyProgress: z.ZodOptional; monthStart: z.ZodOptional; monthEnd: z.ZodOptional; today: z.ZodOptional; daysAccessed: z.ZodNumber; totalDays: z.ZodNumber; bonusUnlocked: z.ZodBoolean; bonusAwarded: z.ZodBoolean; bonusPoints: z.ZodNumber; }, "strip", z.ZodTypeAny, { daysAccessed: number; totalDays: number; bonusUnlocked: boolean; bonusAwarded: boolean; bonusPoints: number; timezone?: string | undefined; monthStart?: string | undefined; monthEnd?: string | undefined; today?: string | undefined; }, { daysAccessed: number; totalDays: number; bonusUnlocked: boolean; bonusAwarded: boolean; bonusPoints: number; timezone?: string | undefined; monthStart?: string | undefined; monthEnd?: string | undefined; today?: string | undefined; }>>; rankingStatus: z.ZodOptional>; rank: z.ZodOptional; totalParticipants: z.ZodOptional; rankChange: z.ZodOptional; position: z.ZodOptional; }, "strip", z.ZodTypeAny, { position: number; totalParticipants: number; change?: number | undefined; }, { position: number; totalParticipants: number; change?: number | undefined; }>>; recentBadge: z.ZodOptional; tier: z.ZodEnum<["BRONZE", "SILVER", "GOLD", "PLATINUM", "DIAMOND"]>; earnedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "SEASONAL"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; earnedAt?: string | undefined; }, { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "SEASONAL"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; earnedAt?: string | undefined; }>>>; totalBadges: z.ZodNumber; participationRate: z.ZodOptional; }, "strip", z.ZodTypeAny, { points: { monthly: number; yearly: number; weekly: number; total: number; }; streak: { current: number; longest: number; lastActivityDate: string | null; }; totalBadges: number; position?: { position: number; totalParticipants: number; change?: number | undefined; } | undefined; rank?: number | undefined; totalParticipants?: number | undefined; monthlyProgress?: { daysAccessed: number; totalDays: number; bonusUnlocked: boolean; bonusAwarded: boolean; bonusPoints: number; timezone?: string | undefined; monthStart?: string | undefined; monthEnd?: string | undefined; today?: string | undefined; } | undefined; rankingStatus?: "error" | "loading" | "ready" | "empty" | undefined; rankChange?: number | undefined; recentBadge?: { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "SEASONAL"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; earnedAt?: string | undefined; } | null | undefined; participationRate?: number | undefined; }, { points: { monthly: number; yearly: number; weekly: number; total: number; }; streak: { current: number; longest: number; lastActivityDate: string | null; }; totalBadges: number; position?: { position: number; totalParticipants: number; change?: number | undefined; } | undefined; rank?: number | undefined; totalParticipants?: number | undefined; monthlyProgress?: { daysAccessed: number; totalDays: number; bonusUnlocked: boolean; bonusAwarded: boolean; bonusPoints: number; timezone?: string | undefined; monthStart?: string | undefined; monthEnd?: string | undefined; today?: string | undefined; } | undefined; rankingStatus?: "error" | "loading" | "ready" | "empty" | undefined; rankChange?: number | undefined; recentBadge?: { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "SEASONAL"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; earnedAt?: string | undefined; } | null | undefined; participationRate?: number | undefined; }>>; isLoading: z.ZodOptional; mediumName: z.ZodOptional; showPosition: z.ZodOptional; showStreak: z.ZodOptional; showRecentBadge: z.ZodOptional; showBadgesButton: z.ZodOptional; compact: z.ZodOptional; onViewLeaderboard: z.ZodOptional, z.ZodUnknown>>; onViewBadges: z.ZodOptional, z.ZodUnknown>>; showLearnGamificationButton: z.ZodOptional; onLearnGamification: z.ZodOptional, z.ZodUnknown>>; }, "strip", z.ZodTypeAny, { data: { points: { monthly: number; yearly: number; weekly: number; total: number; }; streak: { current: number; longest: number; lastActivityDate: string | null; }; totalBadges: number; position?: { position: number; totalParticipants: number; change?: number | undefined; } | undefined; rank?: number | undefined; totalParticipants?: number | undefined; monthlyProgress?: { daysAccessed: number; totalDays: number; bonusUnlocked: boolean; bonusAwarded: boolean; bonusPoints: number; timezone?: string | undefined; monthStart?: string | undefined; monthEnd?: string | undefined; today?: string | undefined; } | undefined; rankingStatus?: "error" | "loading" | "ready" | "empty" | undefined; rankChange?: number | undefined; recentBadge?: { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "SEASONAL"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; earnedAt?: string | undefined; } | null | undefined; participationRate?: number | undefined; } | null; compact?: boolean | undefined; isLoading?: boolean | undefined; mediumName?: string | undefined; showPosition?: boolean | undefined; showStreak?: boolean | undefined; showRecentBadge?: boolean | undefined; showBadgesButton?: boolean | undefined; onViewLeaderboard?: ((...args: unknown[]) => unknown) | undefined; onViewBadges?: ((...args: unknown[]) => unknown) | undefined; showLearnGamificationButton?: boolean | undefined; onLearnGamification?: ((...args: unknown[]) => unknown) | undefined; }, { data: { points: { monthly: number; yearly: number; weekly: number; total: number; }; streak: { current: number; longest: number; lastActivityDate: string | null; }; totalBadges: number; position?: { position: number; totalParticipants: number; change?: number | undefined; } | undefined; rank?: number | undefined; totalParticipants?: number | undefined; monthlyProgress?: { daysAccessed: number; totalDays: number; bonusUnlocked: boolean; bonusAwarded: boolean; bonusPoints: number; timezone?: string | undefined; monthStart?: string | undefined; monthEnd?: string | undefined; today?: string | undefined; } | undefined; rankingStatus?: "error" | "loading" | "ready" | "empty" | undefined; rankChange?: number | undefined; recentBadge?: { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "SEASONAL"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; earnedAt?: string | undefined; } | null | undefined; participationRate?: number | undefined; } | null; compact?: boolean | undefined; isLoading?: boolean | undefined; mediumName?: string | undefined; showPosition?: boolean | undefined; showStreak?: boolean | undefined; showRecentBadge?: boolean | undefined; showBadgesButton?: boolean | undefined; onViewLeaderboard?: ((...args: unknown[]) => unknown) | undefined; onViewBadges?: ((...args: unknown[]) => unknown) | undefined; showLearnGamificationButton?: boolean | undefined; onLearnGamification?: ((...args: unknown[]) => unknown) | undefined; }>; type GamificationCardProps = z.infer; declare const GamificationCard: React__default.FC; declare const useGamificationCard: (props: GamificationCardProps) => { data: { summary: { points: { monthly: number; yearly: number; weekly: number; total: number; }; streak: { current: number; longest: number; lastActivityDate: string | null; }; totalBadges: number; position?: { position: number; totalParticipants: number; change?: number | undefined; } | undefined; rank?: number | undefined; totalParticipants?: number | undefined; monthlyProgress?: { daysAccessed: number; totalDays: number; bonusUnlocked: boolean; bonusAwarded: boolean; bonusPoints: number; timezone?: string | undefined; monthStart?: string | undefined; monthEnd?: string | undefined; today?: string | undefined; } | undefined; rankingStatus?: "error" | "loading" | "ready" | "empty" | undefined; rankChange?: number | undefined; recentBadge?: { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "SEASONAL"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; earnedAt?: string | undefined; } | null | undefined; participationRate?: number | undefined; } | null; isLoading: boolean; mediumName: string | undefined; showPosition: boolean; showStreak: boolean; showRecentBadge: boolean; showBadgesButton: boolean; showLearnGamificationButton: boolean; compact: boolean; formattedValues: { level: number; levelProgress: number; pointsToNextLevel: number; positionChange: { text: string; color: string; icon: string; }; streakStatus: { label: string; color: string; }; rankingStatus: "error" | "loading" | "ready" | "empty"; rank: number | null; totalParticipants: number | null; participationText: string; } | null; hasData: boolean; }; fns: { handleViewLeaderboard: () => void; handleViewBadges: () => void; handleLearnGamification: () => void; getBadgeTierColor: (tier: BadgeTier$1) => string; calculateLevel: (points: number) => number; calculateLevelProgress: (points: number) => number; }; }; declare const HomeWidgetProfileSchema: z$1.ZodEnum<["personal", "terreiro"]>; type HomeWidgetProfile = z$1.infer; declare const HomeWidgetIdSchema: z$1.ZodEnum<["quickActions", "weeklyTasks", "usageHeatmap", "profileCompleteness", "terreiroCompleteness", "gamification", "supplyPlan", "calendar", "moonPhase", "dailyRituals", "highlights"]>; type HomeWidgetId = z$1.infer; declare const HomeWidgetCatalogEntrySchema: z$1.ZodObject<{ id: z$1.ZodEnum<["quickActions", "weeklyTasks", "usageHeatmap", "profileCompleteness", "terreiroCompleteness", "gamification", "supplyPlan", "calendar", "moonPhase", "dailyRituals", "highlights"]>; title: z$1.ZodString; description: z$1.ZodString; defaultVisible: z$1.ZodDefault; /** When false, the widget stays off the home-body reorder list (e.g. TopBar Acesso Rápido). */ reorderable: z$1.ZodDefault; profiles: z$1.ZodArray, "many">; }, "strip", z$1.ZodTypeAny, { title: string; id: "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "usageHeatmap" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals"; description: string; defaultVisible: boolean; reorderable: boolean; profiles: ("terreiro" | "personal")[]; }, { title: string; id: "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "usageHeatmap" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals"; description: string; profiles: ("terreiro" | "personal")[]; defaultVisible?: boolean | undefined; reorderable?: boolean | undefined; }>; type HomeWidgetCatalogEntry = z$1.infer; type HomeWidgetVisibilityMap = Record; type HomeWidgetOrder = HomeWidgetId[]; /** How the user changed home-body widget order (for analytics / app handlers). */ declare const HomeWidgetOrderChangeMethodSchema: z$1.ZodEnum<["arrow_up", "arrow_down", "drag", "reset"]>; type HomeWidgetOrderChangeMethod = z$1.infer; declare const HomeWidgetOrderChangeMetaSchema: z$1.ZodObject<{ method: z$1.ZodEnum<["arrow_up", "arrow_down", "drag", "reset"]>; widgetId: z$1.ZodOptional>; fromIndex: z$1.ZodOptional; toIndex: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { method: "reset" | "drag" | "arrow_up" | "arrow_down"; widgetId?: "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "usageHeatmap" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals" | undefined; fromIndex?: number | undefined; toIndex?: number | undefined; }, { method: "reset" | "drag" | "arrow_up" | "arrow_down"; widgetId?: "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "usageHeatmap" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals" | undefined; fromIndex?: number | undefined; toIndex?: number | undefined; }>; type HomeWidgetOrderChangeMeta = z$1.infer; declare const HomeWidgetsCustomizeViewSchema: z$1.ZodEnum<["visibility", "order"]>; type HomeWidgetsCustomizeView = z$1.infer; declare const HomeWidgetMenuItemSchema: z$1.ZodObject<{ id: z$1.ZodEnum<["quickActions", "weeklyTasks", "usageHeatmap", "profileCompleteness", "terreiroCompleteness", "gamification", "supplyPlan", "calendar", "moonPhase", "dailyRituals", "highlights"]>; title: z$1.ZodString; description: z$1.ZodString; visible: z$1.ZodBoolean; }, "strip", z$1.ZodTypeAny, { title: string; id: "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "usageHeatmap" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals"; visible: boolean; description: string; }, { title: string; id: "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "usageHeatmap" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals"; visible: boolean; description: string; }>; type HomeWidgetMenuItem = z$1.infer; declare const HOME_WIDGETS_CATALOG: readonly HomeWidgetCatalogEntry[]; declare const DEFAULT_HOME_WIDGET_VISIBILITY: HomeWidgetVisibilityMap; /** Default home-body order (excludes non-reorderable widgets like quickActions). */ declare const DEFAULT_HOME_WIDGET_ORDER: HomeWidgetOrder; declare const getHomeWidgetsForProfile: (profile: HomeWidgetProfile, visibility?: Partial) => HomeWidgetMenuItem[]; declare const getReorderableHomeWidgetsForProfile: (profile: HomeWidgetProfile, order?: HomeWidgetOrder) => HomeWidgetMenuItem[]; /** * Keep known reorderable ids, drop unknown / non-reorderable / out-of-profile ids, * then append any missing catalog ids in default order. */ declare const mergeHomeWidgetOrder: (stored?: HomeWidgetOrder | null, profile?: HomeWidgetProfile) => HomeWidgetOrder; declare const moveHomeWidgetInOrder: (order: HomeWidgetOrder, id: HomeWidgetId, direction: "up" | "down", profile?: HomeWidgetProfile) => HomeWidgetOrder; /** * Move `activeId` to the position currently occupied by `overId` * (dnd-kit style absolute reorder). */ declare const reorderHomeWidgetOrder: (order: HomeWidgetOrder, activeId: HomeWidgetId, overId: HomeWidgetId, profile?: HomeWidgetProfile) => HomeWidgetOrder; /** Profile-scoped catalog default (explicit name for reset callers). */ declare const getDefaultHomeWidgetOrder: (profile?: HomeWidgetProfile) => HomeWidgetOrder; declare const isDefaultHomeWidgetOrder: (order: HomeWidgetOrder | null | undefined, profile?: HomeWidgetProfile) => boolean; declare const mergeHomeWidgetVisibility: (partial?: Partial | null) => HomeWidgetVisibilityMap; declare const HomeBottomNavSlotSchema: z$1.ZodEnum<["leading", "trailing"]>; type HomeBottomNavSlot = z$1.infer; declare const HomeBottomNavShortcutsSchema: z$1.ZodObject<{ leading: z$1.ZodString; trailing: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { leading: string; trailing: string; }, { leading: string; trailing: string; }>; type HomeBottomNavShortcuts = z$1.infer; declare const HomeBottomNavProfileKindSchema: z$1.ZodEnum<["personal", "terreiro"]>; type HomeBottomNavProfileKind = z$1.infer; type ShortcutSource = { id: string; title: string; route: string; icon?: string; badge?: number | string; }; /** Action rendered in one changeable bottom-nav slot. */ type HomeBottomNavShortcutAction = { id: string; label: string; route: string; icon?: string; badge?: number | string; }; declare const getDefaultBottomNavShortcuts: (input: { hasTerreiroContext: boolean; canUseSocial?: boolean; }) => HomeBottomNavShortcuts; /** * Maps stored ids onto the current Funcionalidades. * A missing id falls back to that profile's default. The two slots never share an id. */ declare const resolveBottomNavShortcuts: (input: { shortcuts?: Partial | null; actions: readonly ShortcutSource[]; hasTerreiroContext: boolean; canUseSocial?: boolean; }) => { leading: HomeBottomNavShortcutAction; trailing: HomeBottomNavShortcutAction; shortcuts: HomeBottomNavShortcuts; defaults: HomeBottomNavShortcuts; isDefault: boolean; }; /** * User choices for the Acesso Rápido shortcuts. * * `order` and `hidden` hold shortcut ids and may include ids that the current * profile does not offer (e.g. Médiuns on the personal profile); those are kept * so switching profiles does not lose the choice. */ declare const QuickActionPreferencesSchema: z.ZodObject<{ order: z.ZodArray; hidden: z.ZodArray; }, "strip", z.ZodTypeAny, { hidden: string[]; order: string[]; }, { hidden: string[]; order: string[]; }>; type QuickActionPreferences = z.infer; declare const QuickActionPreferencesChangeMetaSchema: z.ZodObject<{ method: z.ZodEnum<["arrow_up", "arrow_down", "visibility", "reset"]>; actionId: z.ZodOptional; visible: z.ZodOptional; }, "strip", z.ZodTypeAny, { method: "visibility" | "reset" | "arrow_up" | "arrow_down"; visible?: boolean | undefined; actionId?: string | undefined; }, { method: "visibility" | "reset" | "arrow_up" | "arrow_down"; visible?: boolean | undefined; actionId?: string | undefined; }>; type QuickActionPreferencesChangeMeta = z.infer; /** * Represents a Terreiro (spiritual house/temple) in the application. * Used for displaying and selecting terreiros in the HomePage. */ interface Terreiro { /** Unique identifier for the terreiro */ id: string; /** Display name of the terreiro */ name: string; /** Optional URL to the terreiro's image/logo */ imageUrl?: string | null; /** Badge tier for profile verification */ badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; /** Completeness score percentage (0-100) */ completenessScore?: number; /** House lifecycle status. Missing means the house is treated as active. */ status?: "ACTIVE" | "INACTIVE" | "ARCHIVED"; /** Whether the current user can archive or restore this house. */ canArchive?: boolean; } type ProfileSelectorEntryPoint = "top_bar_avatar" | "bottom_nav_logo"; type ProfileSelectorOpenPayload = { entryPoint: ProfileSelectorEntryPoint; availableProfileCount: number; }; type ProfileSelectorSelectPayload = ProfileSelectorOpenPayload & { selectedProfileType: "personal" | "terreiro"; selectedTerreiroId: string | null; selectedIndex: number; isSameAsCurrent: boolean; }; /** * Props for the HomePage component. * Contains all data and callbacks needed to render the main dashboard. */ interface HomePageProps { /** Whether the current user has admin privileges */ isAdmin: boolean; /** Whether the user is viewing from a personal (non-terreiro) profile */ isPersonalProfile?: boolean; /** Show the Ingressos quick action (terreiro + event.publish + ticketing chat flag) */ canPublishTickets?: boolean; /** Show the Estoque quick action to non-admins inside a terreiro (`inventory.view`). */ canViewInventory?: boolean; /** Show Personal-profile Social quick action / bottom nav when social feature is enabled */ canUseSocial?: boolean; /** * Unread Social notifications count (same source as Social inbox). * Shown as a numeric badge on the Social quick action, Home Menu row, and bottom-nav Social tab. * Hidden when 0 / undefined; display caps at `99+`. */ socialNotificationsUnreadCount?: number; /** Current user information including profile, address, and contact */ user?: { profile: { /** User's first name */ firstName: string; /** User's last name */ lastName: string; /** URL to user's avatar image */ avatarUrl: string; /** Type of identification document */ documentType: "CPF" | "RG"; /** Document number */ document: string; /** User's address information */ address?: { id: string; street: string; number: string; complement?: string; neighborhood: string; city: string; state: string; zipCode: string; country: string; }; /** User's contact information */ contact?: { phone: string; contact_person?: string; }; }; }; /** Dashboard statistics to display */ stats?: HomePageStat[]; /** Quick action buttons for common tasks */ quickActions?: QuickAction[]; /** List of upcoming events */ upcomingEvents?: EventItem[]; /** Recent activities and notifications */ recentActivities?: HomePageRecentActivity[]; /** Callback when navigation is requested */ onNavigate?: (route: string) => void; /** Callback when profile is clicked */ onProfileClick?: () => void; /** Whether Acesso Rápido shortcuts are shown in the TopBar (default true). Alias of homeWidgets.quickActions. */ showQuickActions?: boolean; /** Callback when the Acesso Rápido visibility toggle changes (app persists). Alias of onHomeWidgetVisibilityChange for quickActions. */ onShowQuickActionsChange?: (visible: boolean) => void; /** Visibility map for Home content widgets (missing ids default to true) */ homeWidgets?: Partial>; /** Callback when a Home widget visibility toggle changes */ onHomeWidgetVisibilityChange?: (id: HomeWidgetId, visible: boolean) => void; /** Ordered list of reorderable home-body widget ids (missing ids appended from defaults) */ homeWidgetOrder?: HomeWidgetOrder; /** Callback when the Home widget order changes (optional meta for analytics) */ onHomeWidgetOrderChange?: (order: HomeWidgetOrder, meta?: HomeWidgetOrderChangeMeta) => void; /** * Fired when the user opens Exibir widgets or Ordenar widgets from Home Menu. * App uses this for product analytics; does not fire for root Opções. */ onHomeWidgetsCustomizeViewOpen?: (view: HomeWidgetsCustomizeView) => void; /** * Leading and trailing Funcionalidade ids for the active profile. * Omit to use that profile's defaults (Eventos/Social/Banhos + Atividades). */ bottomNavShortcuts?: HomeBottomNavShortcuts; /** Persists the pair for the active profile only (personal, or one terreiro). */ onBottomNavShortcutChange?: (shortcuts: HomeBottomNavShortcuts) => void; /** * Order and hidden ids of the Acesso Rápido shortcuts. Ids the profile does * not offer are ignored; missing ids keep their default position. */ quickActionPreferences?: QuickActionPreferences; /** Called on every change from Personalizar Acesso Rápido (app persists). */ onQuickActionPreferencesChange?: (preferences: QuickActionPreferences, meta?: QuickActionPreferencesChangeMeta) => void; /** Callback when notifications are clicked */ onNotificationClick?: () => void; /** Number of unread notifications to show on the bell icon badge */ notificationCount?: number; /** Brief notification items for bell quick panel (max 3 shown) */ notificationItems?: Array<{ id: string; type: string; message: string; read: boolean; timestamp: string | Date; terreiroId?: string; imageUrl?: string; }>; /** Callback when "Ver todas" is clicked in bell panel (falls back to onNotificationClick) */ onViewAllNotifications?: () => void; /** Callback when one bell-panel notification is clicked */ onNotificationItemClick?: (id: string) => void; /** Unread product updates shown on the "Novidades" badge (personal and terreiro contexts) */ whatsNewCount?: number; /** Opens the What's New drawer; the button is hidden when omitted */ onWhatsNewClick?: () => void; /** Callback when search is clicked */ onSearchClick?: () => void; /** Callback when settings are clicked */ onSettingsClick?: () => void; /** Callback when onboarding intro icon in top bar is clicked */ onOnboardingInfoClick?: () => void; /** Optional custom icon for onboarding intro action in top bar */ onboardingInfoIcon?: ReactNode; /** Share URL used by the top bar invite action; falls back to the app origin when omitted */ inviteShareUrl?: string; /** Callback when refresh is requested */ onRefresh?: () => void; /** Callback when rejection dialog should be shown */ onRejectedDialog: () => void; /** Callback when approved alert should be shown */ onApprovedAlert: () => void; /** Current medium approval status */ mediumStatus?: MediumStatus$1; /** Message explaining why the medium was rejected */ rejectionMessage?: string; /** * Optional default selected terreiro. When provided, the hook will * initialize and sync the selected terreiro to this value if it exists * in the `terreiros` list. */ defaultTerreiro?: Terreiro | null; /** List of available terreiros for selection */ terreiros?: (Terreiro | null)[]; /** Callback when terreiro selection changes */ onTerreiroChange?: (terreiro: Terreiro | null) => void; /** Confirms archiving a house after the consequence dialog. */ onArchiveTerreiro?: (terreiro: Terreiro) => void | Promise; /** Confirms restoring an archived house. */ onRestoreTerreiro?: (terreiro: Terreiro) => void | Promise; isArchivingTerreiro?: boolean; isRestoringTerreiro?: boolean; /** Callback when the profile selector drawer is opened */ onProfileSelectorOpen?: (payload: ProfileSelectorOpenPayload) => void; /** Callback when a profile option is selected in the drawer */ onProfileSelectorSelect?: (payload: ProfileSelectorSelectPayload) => void; /** Moon phase data for display */ moonData?: MoonData; /** Callback when moon card is clicked */ onMoonCardClick?: () => void; /** Loading state for moon data */ isLoadingMoonData?: boolean; /** Ritual bath recommendations */ rituals?: Ritual[]; /** Callback when explore rituals is clicked */ onRitualExploreClick?: () => void; /** Callback when a specific ritual is clicked */ onRitualClick?: (ritualId: string) => void; /** Callback when quick actions layout changes */ onLayoutChange?: (layout: "grid" | "horizontal") => void; /** Calendar activities to display */ calendarActivities?: CalendarItem[]; /** Calendar events to display (only shown when user is medium AND terreiro admin) */ calendarEvents?: CalendarItem[]; /** Calendar ritual baths to display */ calendarRitualBaths?: CalendarItem[]; /** Loading state for daily ritual recommendations */ isLoadingRituals?: boolean; /** Selected calendar date for daily ritual display */ selectedRitualDate?: string; calendarViewMode?: CalendarViewMode; /** Current calendar status filter */ calendarStatusFilter?: CalendarStatusFilter; /** Loading state for calendar data */ isLoadingCalendar?: boolean; /** Callback when calendar view mode changes - should be used to fetch new data */ onCalendarViewModeChange?: (dateRange: CalendarDateRange) => void; /** * Callback when a calendar item is clicked. When provided it owns navigation; * otherwise the item's route is sent to `onNavigate`. */ onCalendarItemClick?: (item: CalendarItem) => void; /** Callback when a calendar date is selected */ onCalendarDateSelect?: (date: string) => void; /** Callback when calendar status filter changes */ onCalendarStatusFilterChange?: (status: CalendarStatusFilter) => void; /** Profile completeness data for verification badge card */ profileCompletenessData?: ProfileCompletenessData; /** Whether the profile completeness card is in compact mode */ profileCompletenessCompact?: boolean; /** Loading state for profile completeness */ isLoadingProfileCompleteness?: boolean; /** Callback when user clicks to complete profile */ onCompleteProfile?: () => void; /** Callback when user clicks to complete a specific section */ onCompleteSection?: (section: string) => void; /** Callback when profile completeness card compact state changes */ onProfileCompletenessCompactChange?: (compact: boolean) => void; /** Terreiro completeness data for organization verification badge card */ terreiroCompletenessData?: CompletenessData; /** Whether the terreiro completeness card is in compact mode */ terreiroCompletenessCompact?: boolean; /** Loading state for terreiro completeness */ isLoadingTerreiroCompleteness?: boolean; /** Callback when admin clicks to complete terreiro profile */ onCompleteTerreiroProfile?: () => void; /** Callback when admin clicks to complete a specific terreiro section */ onCompleteTerreiroSection?: (section: string) => void; /** Callback when terreiro completeness card compact state changes */ onTerreiroCompletenessCompactChange?: (compact: boolean) => void; /** Gamification summary data for the current medium */ gamificationData?: GamificationSummary | null; /** Loading state for gamification data */ isLoadingGamification?: boolean; /** Whether to show the gamification card */ showGamificationCard?: boolean; /** Callback when user clicks to view full leaderboard */ onViewLeaderboard?: () => void; /** Callback when user clicks to view all badges */ onViewBadges?: () => void; /** Callback when user clicks to learn how gamification works */ onLearnGamification?: () => void; /** Whether to display the attendance insights section */ showAttendanceInsights?: boolean; /** Aggregated attendance insights for the selected period */ attendanceInsightsData?: AttendanceInsightsData$1 | null; /** Loading state for attendance insights */ isLoadingAttendanceInsights?: boolean; /** Current attendance period filter */ attendancePeriod?: AttendanceInsightsPeriod$1; /** Callback for changing attendance period */ onAttendancePeriodChange?: (period: AttendanceInsightsPeriod$1) => void; /** Callback for navigating to the full medium list/ranking */ onAttendanceViewAll?: () => void; /** Whether to display the supply plan card */ showSupplyPlanCard?: boolean; /** Summary data for the supply plan card */ supplyPlanData?: SupplyPlanSummary$1 | null; /** Loading state for supply plan */ isLoadingSupplyPlan?: boolean; /** Navigate to full supply plan page */ onSupplyPlanViewAll?: () => void; /** Navigate to supply plan with missions focus (e.g. ?focus=missions) */ onSupplyPlanMissions?: () => void; /** Weekly engagement tasks already filtered by the app layer */ weeklyTasks?: WeeklyTask[]; /** Loading state for weekly tasks */ isLoadingWeeklyTasks?: boolean; /** Navigate to a weekly task. Omit to hide task CTAs. */ onWeeklyTaskClick?: (taskId: string, route: string) => void; /** Daily usage grid for the signed-in user */ usageHeatmap?: UsageHeatmapData | null; /** Loading state for the usage heatmap */ isLoadingUsageHeatmap?: boolean; /** Optional subscription trial / pause notice (presentation only) */ subscriptionNotice?: SubscriptionNoticeData | null; onSubscriptionNoticeAction?: (event: { noticeId: string; actionId: string; }) => void; onSubscriptionNoticeDismiss?: (event: { noticeId: string; }) => void; onAnalyticsEvent?: OnboardingAnalyticsCallback; } type WeeklyTaskFeature = "events" | "activities" | "participation" | "financial" | "baths" | "mediums" | "inventory" | "requests" | "academy" | "spiritual"; type UsageLevel = 0 | 1 | 2 | 3; interface UsageHeatmapDay { date: string; opened: boolean; actionCount: number; level: UsageLevel; future: boolean; } interface UsageHeatmapSummary { activeDays: number; streak: number; actionCount: number; } interface UsageHeatmapData { timezone: string; from: string; to: string; today: string; weeks: number; days: UsageHeatmapDay[]; summary: UsageHeatmapSummary; } interface WeeklyTask { id: string; title: string; description: string; feature: WeeklyTaskFeature; route: string; completed: boolean; ctaLabel?: string; } interface SupplyPlanSummary$1 { stock: { totalItems: number; totalUnits: number; lowStockCount: number; outOfStockCount: number; }; demand: { activityCount: number; eventCount: number; distinctItemCount: number; }; costs?: { totalEstimatedCost: number; itemsWithCostCount: number; itemsWithoutCostCount: number; coveragePercent: number; formatted: { totalEstimatedCost: string; }; }; itemsToBuyCount: number; readinessSummary?: string; missionsCount?: number; showCostMissionsTeaser?: boolean; coveragePercent?: number; itemsWithoutCostCount?: number; topItems: Array<{ id: string; name: string; toBuyQuantity: number; unit: string; estimatedCost?: number; imageUrl?: string | null; costSource?: "purchase_history" | "manual" | null; }>; } type AttendanceInsightsPeriod$1 = "WEEKLY" | "MONTHLY" | "YEARLY"; interface AttendanceInsightsMedium$1 { mediumId: string; mediumName: string; mediumAvatarUrl?: string | null; invites: number; confirmed: number; present: number; absent: number; declined: number; confirmationRate: number; presenceRate: number; absenceGap: number; } interface AttendanceInsightsData$1 { terreiroId: string; period: { month: number; year: number; start: string; end: string; }; summary: { invites: number; confirmed: number; present: number; absent: number; declined: number; confirmationRate: number; presenceRate: number; absenceGap: number; }; mediums: AttendanceInsightsMedium$1[]; } /** * Possible approval statuses for a medium in the terreiro. * - PENDING: Awaiting approval from terreiro admin * - APPROVED: Medium has been approved * - REJECTED: Medium application was rejected */ type MediumStatus$1 = "PENDING" | "APPROVED" | "REJECTED" | undefined; /** * Represents a quick action button on the HomePage. * Quick actions provide shortcuts to common tasks. */ type QuickAction = { /** Unique identifier for the action */ id: string; /** Display title for the action button */ title: string; /** Navigation route when clicked */ route: string; /** Theme color for the action button */ color: string; /** Optional icon (emoji or icon name) */ icon?: string; /** Optional badge to show on the action (e.g., notification count) */ badge?: number | string; /** Optional short explanation (e.g. HomeMenu secondary text) */ description?: string; }; /** * Represents an event item in the upcoming events list. */ type EventItem = { /** Unique identifier for the event */ id: string | number; /** Current status of the event */ status: string; /** Event name/title */ name: string; /** Item kind for mixed feed */ type?: "event" | "activity"; /** Date in YYYY-MM-DD format */ date?: string; /** Event time (formatted string, HH:MM) */ time?: string; /** End time (formatted string, HH:MM) */ endTime?: string; /** Event/activity address or location */ address?: string; /** Number of participants */ participantsCount?: number; /** Optional event image URL */ imageUrl?: string; /** When false, attendance check-in is hidden */ qrCheckinEnabled?: boolean | null; /** Minutes before start time when the check-in QR window opens */ qrReleaseOffsetMinutes?: number | null; /** Minutes after start time when the check-in QR window closes */ qrCheckinGraceMinutes?: number | null; /** Alias for qrReleaseOffsetMinutes (form state naming) */ checkinStartWindowMinutes?: number | null; /** Alias for qrCheckinGraceMinutes (form state naming) */ checkinEndWindowMinutes?: number | null; }; /** * Zod schema for dashboard statistics. * Validates stat cards displayed on the HomePage. */ declare const HomePageStatSchema: z.ZodObject<{ /** Stat title/label */ title: z.ZodString; /** Stat value to display */ value: z.ZodString; /** Icon identifier (emoji or icon name) */ icon: z.ZodString; /** Theme color for the stat card */ color: z.ZodEnum<["primary", "secondary", "success", "warning", "error", "info"]>; }, "strip", z.ZodTypeAny, { title: string; color: "warning" | "primary" | "secondary" | "error" | "info" | "success"; value: string; icon: string; }, { title: string; color: "warning" | "primary" | "secondary" | "error" | "info" | "success"; value: string; icon: string; }>; /** * Zod schema for quick action buttons. * Validates quick action items displayed on the HomePage. */ declare const HomePageQuickActionSchema: z.ZodObject<{ /** Unique identifier */ id: z.ZodString; /** Display title */ title: z.ZodString; /** Action description */ description: z.ZodString; /** Icon identifier */ icon: z.ZodString; /** Navigation route */ route: z.ZodString; /** Theme color */ color: z.ZodEnum<["primary", "secondary", "success", "warning", "error", "info"]>; /** Optional badge text */ badge: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; color: "warning" | "primary" | "secondary" | "error" | "info" | "success"; icon: string; description: string; route: string; badge?: string | undefined; }, { title: string; id: string; color: "warning" | "primary" | "secondary" | "error" | "info" | "success"; icon: string; description: string; route: string; badge?: string | undefined; }>; /** * Zod schema for upcoming events. * Validates event items in the upcoming events list. */ declare const HomePageUpcomingEventSchema: z.ZodObject<{ /** Unique event identifier */ id: z.ZodUnion<[z.ZodString, z.ZodNumber]>; /** Event name */ name: z.ZodString; /** Item kind for mixed feed */ type: z.ZodOptional>; /** Event date (YYYY-MM-DD) */ date: z.ZodOptional; /** Event time (formatted string) */ time: z.ZodOptional; /** Event end time (formatted string) */ endTime: z.ZodOptional; /** Event/activity address */ address: z.ZodOptional; /** Number of participants */ participantsCount: z.ZodOptional; /** Event status */ status: z.ZodString; /** When false, attendance check-in is hidden */ qrCheckinEnabled: z.ZodOptional>; /** Minutes before start time when the check-in QR window opens */ qrReleaseOffsetMinutes: z.ZodOptional>; /** Minutes after start time when the check-in QR window closes */ qrCheckinGraceMinutes: z.ZodOptional>; /** Alias for qrReleaseOffsetMinutes */ checkinStartWindowMinutes: z.ZodOptional>; /** Alias for qrCheckinGraceMinutes */ checkinEndWindowMinutes: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string | number; status: string; name: string; address?: string | undefined; time?: string | undefined; type?: "event" | "activity" | undefined; date?: string | undefined; endTime?: string | undefined; qrCheckinEnabled?: boolean | null | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: number | null | undefined; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; participantsCount?: number | undefined; }, { id: string | number; status: string; name: string; address?: string | undefined; time?: string | undefined; type?: "event" | "activity" | undefined; date?: string | undefined; endTime?: string | undefined; qrCheckinEnabled?: boolean | null | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: number | null | undefined; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; participantsCount?: number | undefined; }>; /** * Zod schema for recent activities. * Validates activity items in the recent activities feed. */ declare const HomePageRecentActivitySchema: z.ZodObject<{ /** Unique activity identifier */ id: z.ZodNumber; /** Activity title */ title: z.ZodString; /** Activity type category */ type: z.ZodEnum<["event", "financial", "inventory", "member"]>; /** Activity description */ description: z.ZodString; /** Activity timestamp */ timestamp: z.ZodDate; /** Icon identifier */ icon: z.ZodString; }, "strip", z.ZodTypeAny, { title: string; id: number; type: "event" | "member" | "inventory" | "financial"; icon: string; description: string; timestamp: Date; }, { title: string; id: number; type: "event" | "member" | "inventory" | "financial"; icon: string; description: string; timestamp: Date; }>; /** * Zod schema for user profile information. * Validates the complete user profile including address, contact, and medium data. */ declare const HomePageUserProfileProfileSchema: z.ZodObject<{ /** User's first name */ firstName: z.ZodString; /** User's last name */ lastName: z.ZodString; /** Birth date as ISO date string */ birthDate: z.ZodOptional; /** URL to user's avatar image */ avatarUrl: z.ZodString; /** Type of identification document */ documentType: z.ZodEnum<["CPF", "RG"]>; /** Document number */ document: z.ZodString; /** Creation date as ISO string */ created_at: z.ZodOptional; /** Last update date as ISO string */ updated_at: z.ZodOptional; /** Associated user account data */ user: z.ZodOptional>; }, "strip", z.ZodTypeAny, { email: string; created_at?: string | null | undefined; }, { email: string; created_at?: string | null | undefined; }>>; /** User address information */ address: z.ZodOptional; neighborhood: z.ZodString; city: z.ZodString; state: z.ZodString; zipCode: z.ZodString; country: z.ZodString; }, "strip", z.ZodTypeAny, { number: string; id: string; country: string; state: string; street: string; neighborhood: string; city: string; zipCode: string; complement?: string | undefined; }, { number: string; id: string; country: string; state: string; street: string; neighborhood: string; city: string; zipCode: string; complement?: string | undefined; }>>; /** User contact information */ contact: z.ZodOptional>; }, "strip", z.ZodTypeAny, { phone: string; contact_person?: string | null | undefined; }, { phone: string; contact_person?: string | null | undefined; }>>; /** Medium-specific data (if user is a medium) */ medium: z.ZodOptional; /** Medium's rank in the hierarchy */ rank: z.ZodObject<{ id: z.ZodString; name: z.ZodString; level: z.ZodNumber; }, "strip", z.ZodTypeAny, { id: string; name: string; level: number; }, { id: string; name: string; level: number; }>; /** Medium's role/function */ role: z.ZodObject<{ id: z.ZodString; name: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; }, { id: string; name: string; }>; }, "strip", z.ZodTypeAny, { id: string; role: { id: string; name: string; }; status: "ACTIVE" | "WAITING_APPROVAL" | "INACTIVE" | "SUSPENDED" | "TRANSFERRED" | "DECEASED" | "RETIRED" | "ON_LEAVE" | "EXPELLED" | "INITIATING" | "VISITOR"; rank: { id: string; name: string; level: number; }; initiationDate: string; }, { id: string; role: { id: string; name: string; }; status: "ACTIVE" | "WAITING_APPROVAL" | "INACTIVE" | "SUSPENDED" | "TRANSFERRED" | "DECEASED" | "RETIRED" | "ON_LEAVE" | "EXPELLED" | "INITIATING" | "VISITOR"; rank: { id: string; name: string; level: number; }; initiationDate: string; }>>; }, "strip", z.ZodTypeAny, { document: string; firstName: string; lastName: string; avatarUrl: string; documentType: "CPF" | "RG"; address?: { number: string; id: string; country: string; state: string; street: string; neighborhood: string; city: string; zipCode: string; complement?: string | undefined; } | undefined; medium?: { id: string; role: { id: string; name: string; }; status: "ACTIVE" | "WAITING_APPROVAL" | "INACTIVE" | "SUSPENDED" | "TRANSFERRED" | "DECEASED" | "RETIRED" | "ON_LEAVE" | "EXPELLED" | "INITIATING" | "VISITOR"; rank: { id: string; name: string; level: number; }; initiationDate: string; } | undefined; birthDate?: string | undefined; user?: { email: string; created_at?: string | null | undefined; } | undefined; contact?: { phone: string; contact_person?: string | null | undefined; } | undefined; created_at?: string | undefined; updated_at?: string | undefined; }, { document: string; firstName: string; lastName: string; avatarUrl: string; documentType: "CPF" | "RG"; address?: { number: string; id: string; country: string; state: string; street: string; neighborhood: string; city: string; zipCode: string; complement?: string | undefined; } | undefined; medium?: { id: string; role: { id: string; name: string; }; status: "ACTIVE" | "WAITING_APPROVAL" | "INACTIVE" | "SUSPENDED" | "TRANSFERRED" | "DECEASED" | "RETIRED" | "ON_LEAVE" | "EXPELLED" | "INITIATING" | "VISITOR"; rank: { id: string; name: string; level: number; }; initiationDate: string; } | undefined; birthDate?: string | undefined; user?: { email: string; created_at?: string | null | undefined; } | undefined; contact?: { phone: string; contact_person?: string | null | undefined; } | undefined; created_at?: string | undefined; updated_at?: string | undefined; }>; /** Type for dashboard statistics, inferred from schema */ type HomePageStat = z.infer; /** Type for quick action buttons, inferred from schema */ type HomePageQuickAction = z.infer; /** Type for upcoming events, inferred from schema */ type HomePageUpcomingEvent = z.infer; /** Type for recent activities, inferred from schema */ type HomePageRecentActivity = z.infer; /** * Zod schema for the complete user object. * Wraps the profile schema for validation. */ declare const HomePageUser: z.ZodObject<{ /** User profile data */ profile: z.ZodObject<{ /** User's first name */ firstName: z.ZodString; /** User's last name */ lastName: z.ZodString; /** Birth date as ISO date string */ birthDate: z.ZodOptional; /** URL to user's avatar image */ avatarUrl: z.ZodString; /** Type of identification document */ documentType: z.ZodEnum<["CPF", "RG"]>; /** Document number */ document: z.ZodString; /** Creation date as ISO string */ created_at: z.ZodOptional; /** Last update date as ISO string */ updated_at: z.ZodOptional; /** Associated user account data */ user: z.ZodOptional>; }, "strip", z.ZodTypeAny, { email: string; created_at?: string | null | undefined; }, { email: string; created_at?: string | null | undefined; }>>; /** User address information */ address: z.ZodOptional; neighborhood: z.ZodString; city: z.ZodString; state: z.ZodString; zipCode: z.ZodString; country: z.ZodString; }, "strip", z.ZodTypeAny, { number: string; id: string; country: string; state: string; street: string; neighborhood: string; city: string; zipCode: string; complement?: string | undefined; }, { number: string; id: string; country: string; state: string; street: string; neighborhood: string; city: string; zipCode: string; complement?: string | undefined; }>>; /** User contact information */ contact: z.ZodOptional>; }, "strip", z.ZodTypeAny, { phone: string; contact_person?: string | null | undefined; }, { phone: string; contact_person?: string | null | undefined; }>>; /** Medium-specific data (if user is a medium) */ medium: z.ZodOptional; /** Medium's rank in the hierarchy */ rank: z.ZodObject<{ id: z.ZodString; name: z.ZodString; level: z.ZodNumber; }, "strip", z.ZodTypeAny, { id: string; name: string; level: number; }, { id: string; name: string; level: number; }>; /** Medium's role/function */ role: z.ZodObject<{ id: z.ZodString; name: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; }, { id: string; name: string; }>; }, "strip", z.ZodTypeAny, { id: string; role: { id: string; name: string; }; status: "ACTIVE" | "WAITING_APPROVAL" | "INACTIVE" | "SUSPENDED" | "TRANSFERRED" | "DECEASED" | "RETIRED" | "ON_LEAVE" | "EXPELLED" | "INITIATING" | "VISITOR"; rank: { id: string; name: string; level: number; }; initiationDate: string; }, { id: string; role: { id: string; name: string; }; status: "ACTIVE" | "WAITING_APPROVAL" | "INACTIVE" | "SUSPENDED" | "TRANSFERRED" | "DECEASED" | "RETIRED" | "ON_LEAVE" | "EXPELLED" | "INITIATING" | "VISITOR"; rank: { id: string; name: string; level: number; }; initiationDate: string; }>>; }, "strip", z.ZodTypeAny, { document: string; firstName: string; lastName: string; avatarUrl: string; documentType: "CPF" | "RG"; address?: { number: string; id: string; country: string; state: string; street: string; neighborhood: string; city: string; zipCode: string; complement?: string | undefined; } | undefined; medium?: { id: string; role: { id: string; name: string; }; status: "ACTIVE" | "WAITING_APPROVAL" | "INACTIVE" | "SUSPENDED" | "TRANSFERRED" | "DECEASED" | "RETIRED" | "ON_LEAVE" | "EXPELLED" | "INITIATING" | "VISITOR"; rank: { id: string; name: string; level: number; }; initiationDate: string; } | undefined; birthDate?: string | undefined; user?: { email: string; created_at?: string | null | undefined; } | undefined; contact?: { phone: string; contact_person?: string | null | undefined; } | undefined; created_at?: string | undefined; updated_at?: string | undefined; }, { document: string; firstName: string; lastName: string; avatarUrl: string; documentType: "CPF" | "RG"; address?: { number: string; id: string; country: string; state: string; street: string; neighborhood: string; city: string; zipCode: string; complement?: string | undefined; } | undefined; medium?: { id: string; role: { id: string; name: string; }; status: "ACTIVE" | "WAITING_APPROVAL" | "INACTIVE" | "SUSPENDED" | "TRANSFERRED" | "DECEASED" | "RETIRED" | "ON_LEAVE" | "EXPELLED" | "INITIATING" | "VISITOR"; rank: { id: string; name: string; level: number; }; initiationDate: string; } | undefined; birthDate?: string | undefined; user?: { email: string; created_at?: string | null | undefined; } | undefined; contact?: { phone: string; contact_person?: string | null | undefined; } | undefined; created_at?: string | undefined; updated_at?: string | undefined; }>; }, "strip", z.ZodTypeAny, { profile: { document: string; firstName: string; lastName: string; avatarUrl: string; documentType: "CPF" | "RG"; address?: { number: string; id: string; country: string; state: string; street: string; neighborhood: string; city: string; zipCode: string; complement?: string | undefined; } | undefined; medium?: { id: string; role: { id: string; name: string; }; status: "ACTIVE" | "WAITING_APPROVAL" | "INACTIVE" | "SUSPENDED" | "TRANSFERRED" | "DECEASED" | "RETIRED" | "ON_LEAVE" | "EXPELLED" | "INITIATING" | "VISITOR"; rank: { id: string; name: string; level: number; }; initiationDate: string; } | undefined; birthDate?: string | undefined; user?: { email: string; created_at?: string | null | undefined; } | undefined; contact?: { phone: string; contact_person?: string | null | undefined; } | undefined; created_at?: string | undefined; updated_at?: string | undefined; }; }, { profile: { document: string; firstName: string; lastName: string; avatarUrl: string; documentType: "CPF" | "RG"; address?: { number: string; id: string; country: string; state: string; street: string; neighborhood: string; city: string; zipCode: string; complement?: string | undefined; } | undefined; medium?: { id: string; role: { id: string; name: string; }; status: "ACTIVE" | "WAITING_APPROVAL" | "INACTIVE" | "SUSPENDED" | "TRANSFERRED" | "DECEASED" | "RETIRED" | "ON_LEAVE" | "EXPELLED" | "INITIATING" | "VISITOR"; rank: { id: string; name: string; level: number; }; initiationDate: string; } | undefined; birthDate?: string | undefined; user?: { email: string; created_at?: string | null | undefined; } | undefined; contact?: { phone: string; contact_person?: string | null | undefined; } | undefined; created_at?: string | undefined; updated_at?: string | undefined; }; }>; /** Type for user object, inferred from schema */ type HomePageUser = z.infer; /** Type for user profile, inferred from schema */ type HomePageUserProfile = z.infer; type SummaryDetailLine = { label: string; value: string; }; type SummaryHeaderProps = { embedded?: boolean; overline: string; caption?: string; /** Explains a metric that stays visible when equal columns replace the caption. */ note?: string; /** Primary figure. Omitted when `metrics` supplies equal columns. */ value?: string; isLoading?: boolean; /** Equal side-by-side figures. Replaces caption, value, and detail lines. */ metrics?: SummaryDetailLine[]; detailLines?: SummaryDetailLine[]; /** * When the bar collapses, keep the caption, primary figure, and detail * lines in one compact column row, and keep the add button. */ keepSummaryWhenCollapsed?: boolean; period?: AttendanceInsightsPeriod$1; onPeriodChange?: (period: AttendanceInsightsPeriod$1) => void; onAdd?: () => void; addLabel?: string; addQuotaFeature?: FeatureKey; actionLabel?: string; onAction?: () => void; testIdPrefix?: string; actionTestId?: string; }; type FinancialSummaryDetailLine = SummaryDetailLine; type FinancialMovementKind$1 = "income" | "outcome"; type FinancialSummaryHeaderProps = { embedded?: boolean; variant?: "balance" | "monthlyFee" | "movements" | "accounts"; balanceLabel: string; movementKind?: FinancialMovementKind$1; incomeTotalLabel?: string; outcomeTotalLabel?: string; onMovementKindChange?: (kind: FinancialMovementKind$1) => void; isLoading?: boolean; periodLabel?: string; periodInputValue?: string; periodInputMin?: string; periodInputMax?: string; onPeriodInputChange?: (value: string) => void; detailLines?: FinancialSummaryDetailLine[]; onEdit?: () => void; onAdd?: () => void; addLabel?: string; addQuotaFeature?: FeatureKey; canExport?: boolean; isExporting?: boolean; onExport?: () => void; }; declare const FinancialSummaryHeader: React__default.FC; type FinancialMonthlyFeePageProps = { formatCurrency: (amount: number | string) => string; monthlyFee: number | string; dueDay: string | number; paymentMethod: string; receivingAccount?: string | null; onBack?: () => void; onEdit?: () => void; summary?: FinancialSummaryHeaderProps; receiptForm?: React__default.ComponentProps; children?: React__default.ReactNode; }; declare const FinancialMonthlyFeePage: React__default.FC; declare const FinancialWidgetProfileSchema: z$1.ZodEnum<["managerTerreiro", "managerPersonal", "medium"]>; type FinancialWidgetProfile = z$1.infer; declare const FinancialWidgetIdSchema: z$1.ZodEnum<["overview", "movements", "contributionImpact", "sharedExpenses"]>; type FinancialWidgetId = z$1.infer; declare const FinancialWidgetCatalogEntrySchema: z$1.ZodObject<{ id: z$1.ZodEnum<["overview", "movements", "contributionImpact", "sharedExpenses"]>; title: z$1.ZodString; description: z$1.ZodString; defaultVisible: z$1.ZodDefault; profiles: z$1.ZodArray, "many">; }, "strip", z$1.ZodTypeAny, { title: string; id: "movements" | "overview" | "contributionImpact" | "sharedExpenses"; description: string; defaultVisible: boolean; profiles: ("medium" | "managerTerreiro" | "managerPersonal")[]; }, { title: string; id: "movements" | "overview" | "contributionImpact" | "sharedExpenses"; description: string; profiles: ("medium" | "managerTerreiro" | "managerPersonal")[]; defaultVisible?: boolean | undefined; }>; type FinancialWidgetCatalogEntry = z$1.infer; type FinancialWidgetVisibilityMap = Record; type FinancialWidgetOrder = FinancialWidgetId[]; declare const FINANCIAL_WIDGETS_CATALOG: readonly FinancialWidgetCatalogEntry[]; declare const DEFAULT_FINANCIAL_WIDGET_ORDER: FinancialWidgetOrder; declare const mergeFinancialWidgetVisibility: (partial?: Partial | null) => FinancialWidgetVisibilityMap; declare const mergeFinancialWidgetOrder: (stored?: FinancialWidgetOrder | null, profile?: FinancialWidgetProfile) => FinancialWidgetOrder; declare const resolveFinancialWidgets: (profile: FinancialWidgetProfile, visibility?: Partial | null, order?: FinancialWidgetOrder | null) => FinancialWidgetId[]; type FinancialSectionsCustomizeProps = { profile: FinancialWidgetProfile; visibility?: Partial | null; order?: FinancialWidgetOrder | null; onVisibilityChange?: (id: FinancialWidgetId, visible: boolean) => void; onOrderChange?: (order: FinancialWidgetOrder) => void; }; declare const FinancialSectionsCustomize: React__default.FC; type FinancialMovementKind = "income" | "outcome"; type FinancialMovementSegmentProps = { value: FinancialMovementKind; onChange: (kind: FinancialMovementKind) => void; }; declare const FinancialMovementSegment: React__default.FC; declare const FINANCIAL_BOTTOM_NAV_CLEARANCE: number; type FinancialBottomNavProps = { audience: FinancialAudience; activeTab: FinancialTab; showMensalidade?: boolean; showMovements?: boolean; showAccounts?: boolean; onNavigateHome?: () => void; onNavigateMovements?: () => void; onNavigateAccounts?: () => void; onNavigateMonthlyFee?: () => void; }; declare const FinancialBottomNav: React__default.FC; type FinancialChromeValue = { /** Tab roots hide their own header while the shell owns the exit. */ embedded: boolean; }; declare const useFinancialChrome: () => FinancialChromeValue; declare const MediumsTabSchema: z.ZodEnum<["home", "list", "attendance", "ranks", "lines"]>; type MediumsTab = z.infer; type MediumsAppShellProps = { activeTab: MediumsTab; showBottomNav?: boolean; showAttendance?: boolean; showLines?: boolean; onExit?: () => void; onNavigateHome?: () => void; onNavigateList?: () => void; onNavigateAttendance?: () => void; onNavigateRanks?: () => void; onNavigateLines?: () => void; children: ReactNode; }; declare const MediumsAppShell: React__default.FC; declare const MEDIUMS_BOTTOM_NAV_CLEARANCE: number; type MediumsBottomNavProps = { activeTab: MediumsTab; showAttendance?: boolean; showLines?: boolean; onNavigateHome?: () => void; onNavigateList?: () => void; onNavigateAttendance?: () => void; onNavigateRanks?: () => void; onNavigateLines?: () => void; }; declare const MediumsBottomNav: React__default.FC; type MediumsPanelPageProps = { period?: AttendanceInsightsPeriod$1; data?: AttendanceInsightsData$1 | null; isLoading?: boolean; onPeriodChange?: (period: AttendanceInsightsPeriod$1) => void; onViewMediums?: () => void; }; declare const MediumsPanelPage: React__default.FC; type MediumsRankPerson = { id: string; name: string; avatarUrl?: string | null; ranks: Array<{ id: string; name: string; }>; }; type MediumsRanksPageProps = { mediums: MediumsRankPerson[]; isLoading?: boolean; onSelectMedium: (mediumId: string) => void; }; declare const groupMediumsByRank: (mediums: MediumsRankPerson[], search: string) => [string, MediumsRankPerson[]][]; declare const MediumsRanksPage: React__default.FC; type MediumsLinesSummary = { totalMediums: number; totalEntities: number; topLines: Array<{ line: string; count: number; }>; }; type MediumsLinesPageProps = { summary?: MediumsLinesSummary | null; isLoading?: boolean; isError?: boolean; onRetry?: () => void; }; declare const MediumsLinesPage: React__default.FC; type MediumsSummaryHeaderProps = Omit; declare const MediumsSummaryHeader: React__default.FC; type MediumsChromeValue = { /** Tab roots hide their own exit while the shell owns the back button. */ embedded: boolean; }; declare const useMediumsChrome: () => MediumsChromeValue; /** * List search used by the médiuns tabs. * Fewer than two letters keeps the full set. A longer query applies after one second. */ declare const useDebouncedListSearch: (initial?: string) => { searchInput: string; setSearchInput: React$1.Dispatch>; searchTerm: string; clearSearch: () => void; }; declare const FinancialTransparencyPaymentStatusSchema: z.ZodEnum<["PENDING", "APPROVED", "REJECTED", "CANCELLED"]>; type FinancialTransparencyPaymentStatus = z.infer; declare const FinancialTransparencyLatestRequestSchema: z.ZodObject<{ id: z.ZodString; competenceMonth: z.ZodString; status: z.ZodEnum<["PENDING", "APPROVED", "REJECTED", "CANCELLED"]>; rejectionReason: z.ZodNullable; requestedAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED"; competenceMonth: string; rejectionReason: string | null; requestedAt: string; }, { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED"; competenceMonth: string; rejectionReason: string | null; requestedAt: string; }>; type FinancialTransparencyLatestRequest = z.infer; declare const ReceiptInlineFeedbackSchema: z.ZodObject<{ severity: z.ZodEnum<["success", "error", "info", "warning"]>; message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; severity: "warning" | "error" | "info" | "success"; }, { message: string; severity: "warning" | "error" | "info" | "success"; }>; type ReceiptInlineFeedback = z.infer; declare const FinancialTransparencyPagePropsSchema: z.ZodObject<{ terreiroId: z.ZodOptional>; competenceMonth: z.ZodString; paidAmount: z.ZodString; note: z.ZodString; receiptFileName: z.ZodOptional>; latestRequest: z.ZodOptional; rejectionReason: z.ZodNullable; requestedAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED"; competenceMonth: string; rejectionReason: string | null; requestedAt: string; }, { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED"; competenceMonth: string; rejectionReason: string | null; requestedAt: string; }>>>; requestHistory: z.ZodOptional; rejectionReason: z.ZodNullable; requestedAt: z.ZodString; reviewedAt: z.ZodOptional>; reviewedByName: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED"; competenceMonth: string; rejectionReason: string | null; requestedAt: string; reviewedAt?: string | null | undefined; reviewedByName?: string | null | undefined; }, { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED"; competenceMonth: string; rejectionReason: string | null; requestedAt: string; reviewedAt?: string | null | undefined; reviewedByName?: string | null | undefined; }>, "many">>; transparencyData: z.ZodOptional; terreiro: z.ZodObject<{ id: z.ZodString; name: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; }, { id: string; name: string; }>; period: z.ZodObject<{ start: z.ZodString; end: z.ZodString; month: z.ZodString; year: z.ZodNumber; }, "strip", z.ZodTypeAny, { end: string; month: string; start: string; year: number; }, { end: string; month: string; start: string; year: number; }>; paymentStatus: z.ZodObject<{ hasPaidMonthlyFee: z.ZodBoolean; monthlyFeeAmount: z.ZodNumber; totalPaidThisMonth: z.ZodNumber; projectedPaidThisMonth: z.ZodOptional; totalPlannedThisMonth: z.ZodOptional; consolidatedPaymentsCount: z.ZodOptional; projectedPaymentsCount: z.ZodOptional; payments: z.ZodArray; formattedAmount: z.ZodString; settlementStatus: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }, { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }>, "many">; projectedPayments: z.ZodOptional; formattedAmount: z.ZodString; settlementStatus: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }, { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { hasPaidMonthlyFee: boolean; monthlyFeeAmount: number; totalPaidThisMonth: number; payments: { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; projectedPaidThisMonth?: number | undefined; totalPlannedThisMonth?: number | undefined; consolidatedPaymentsCount?: number | undefined; projectedPaymentsCount?: number | undefined; projectedPayments?: { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }, { hasPaidMonthlyFee: boolean; monthlyFeeAmount: number; totalPaidThisMonth: number; payments: { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; projectedPaidThisMonth?: number | undefined; totalPlannedThisMonth?: number | undefined; consolidatedPaymentsCount?: number | undefined; projectedPaymentsCount?: number | undefined; projectedPayments?: { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }>; sharedExpenses: z.ZodObject<{ totalAmount: z.ZodNumber; projectedAmount: z.ZodOptional; totalAmountWithProjected: z.ZodOptional; expenseCount: z.ZodNumber; projectedExpenseCount: z.ZodOptional; totalExpenseCount: z.ZodOptional; byCategory: z.ZodArray, "many">; projectedByCategory: z.ZodOptional, "many">>; items: z.ZodArray; shareReason: z.ZodNullable; category: z.ZodString; date: z.ZodString; settlementStatus: z.ZodOptional>; formattedAmount: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }, { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }>, "many">; projectedItems: z.ZodOptional; shareReason: z.ZodNullable; category: z.ZodString; date: z.ZodString; settlementStatus: z.ZodOptional>; formattedAmount: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }, { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { items: { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; totalAmount: number; expenseCount: number; byCategory: { id: string; name: string; amount: number; count: number; formattedAmount: string; }[]; projectedAmount?: number | undefined; totalAmountWithProjected?: number | undefined; projectedExpenseCount?: number | undefined; totalExpenseCount?: number | undefined; projectedByCategory?: { id: string; name: string; amount: number; count: number; formattedAmount: string; }[] | undefined; projectedItems?: { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }, { items: { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; totalAmount: number; expenseCount: number; byCategory: { id: string; name: string; amount: number; count: number; formattedAmount: string; }[]; projectedAmount?: number | undefined; totalAmountWithProjected?: number | undefined; projectedExpenseCount?: number | undefined; totalExpenseCount?: number | undefined; projectedByCategory?: { id: string; name: string; amount: number; count: number; formattedAmount: string; }[] | undefined; projectedItems?: { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }>; contributionImpact: z.ZodObject<{ totalMembers: z.ZodNumber; amountPerMember: z.ZodNumber; monthlyFeeCovers: z.ZodNumber; monthlyFeeCoversTotal: z.ZodNumber; }, "strip", z.ZodTypeAny, { totalMembers: number; amountPerMember: number; monthlyFeeCovers: number; monthlyFeeCoversTotal: number; }, { totalMembers: number; amountPerMember: number; monthlyFeeCovers: number; monthlyFeeCoversTotal: number; }>; formatted: z.ZodObject<{ monthlyFee: z.ZodString; totalSharedExpenses: z.ZodString; projectedSharedExpenses: z.ZodOptional; totalSharedExpensesWithProjected: z.ZodOptional; totalPaidThisMonth: z.ZodString; projectedPaidThisMonth: z.ZodOptional; totalPlannedThisMonth: z.ZodOptional; contributionPerMember: z.ZodString; }, "strip", z.ZodTypeAny, { monthlyFee: string; totalPaidThisMonth: string; totalSharedExpenses: string; contributionPerMember: string; projectedPaidThisMonth?: string | undefined; totalPlannedThisMonth?: string | undefined; projectedSharedExpenses?: string | undefined; totalSharedExpensesWithProjected?: string | undefined; }, { monthlyFee: string; totalPaidThisMonth: string; totalSharedExpenses: string; contributionPerMember: string; projectedPaidThisMonth?: string | undefined; totalPlannedThisMonth?: string | undefined; projectedSharedExpenses?: string | undefined; totalSharedExpensesWithProjected?: string | undefined; }>; }, "strip", z.ZodTypeAny, { medium: { id: string; name: string; }; terreiro: { id: string; name: string; }; formatted: { monthlyFee: string; totalPaidThisMonth: string; totalSharedExpenses: string; contributionPerMember: string; projectedPaidThisMonth?: string | undefined; totalPlannedThisMonth?: string | undefined; projectedSharedExpenses?: string | undefined; totalSharedExpensesWithProjected?: string | undefined; }; period: { end: string; month: string; start: string; year: number; }; contributionImpact: { totalMembers: number; amountPerMember: number; monthlyFeeCovers: number; monthlyFeeCoversTotal: number; }; sharedExpenses: { items: { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; totalAmount: number; expenseCount: number; byCategory: { id: string; name: string; amount: number; count: number; formattedAmount: string; }[]; projectedAmount?: number | undefined; totalAmountWithProjected?: number | undefined; projectedExpenseCount?: number | undefined; totalExpenseCount?: number | undefined; projectedByCategory?: { id: string; name: string; amount: number; count: number; formattedAmount: string; }[] | undefined; projectedItems?: { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }; paymentStatus: { hasPaidMonthlyFee: boolean; monthlyFeeAmount: number; totalPaidThisMonth: number; payments: { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; projectedPaidThisMonth?: number | undefined; totalPlannedThisMonth?: number | undefined; consolidatedPaymentsCount?: number | undefined; projectedPaymentsCount?: number | undefined; projectedPayments?: { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }; }, { medium: { id: string; name: string; }; terreiro: { id: string; name: string; }; formatted: { monthlyFee: string; totalPaidThisMonth: string; totalSharedExpenses: string; contributionPerMember: string; projectedPaidThisMonth?: string | undefined; totalPlannedThisMonth?: string | undefined; projectedSharedExpenses?: string | undefined; totalSharedExpensesWithProjected?: string | undefined; }; period: { end: string; month: string; start: string; year: number; }; contributionImpact: { totalMembers: number; amountPerMember: number; monthlyFeeCovers: number; monthlyFeeCoversTotal: number; }; sharedExpenses: { items: { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; totalAmount: number; expenseCount: number; byCategory: { id: string; name: string; amount: number; count: number; formattedAmount: string; }[]; projectedAmount?: number | undefined; totalAmountWithProjected?: number | undefined; projectedExpenseCount?: number | undefined; totalExpenseCount?: number | undefined; projectedByCategory?: { id: string; name: string; amount: number; count: number; formattedAmount: string; }[] | undefined; projectedItems?: { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }; paymentStatus: { hasPaidMonthlyFee: boolean; monthlyFeeAmount: number; totalPaidThisMonth: number; payments: { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; projectedPaidThisMonth?: number | undefined; totalPlannedThisMonth?: number | undefined; consolidatedPaymentsCount?: number | undefined; projectedPaymentsCount?: number | undefined; projectedPayments?: { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }; }>>>; isLoading: z.ZodOptional; isSubmitting: z.ZodOptional; error: z.ZodOptional>; receiptInlineFeedback: z.ZodOptional; message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; severity: "warning" | "error" | "info" | "success"; }, { message: string; severity: "warning" | "error" | "info" | "success"; }>>>; onBack: z.ZodOptional, z.ZodVoid>>; onRefresh: z.ZodOptional, z.ZodVoid>>; onCompetenceMonthChange: z.ZodOptional, z.ZodVoid>>; onPaidAmountChange: z.ZodOptional, z.ZodVoid>>; onNoteChange: z.ZodOptional, z.ZodVoid>>; onSelectReceipt: z.ZodOptional], null>, z.ZodVoid>>; onSubmitReceipt: z.ZodOptional, z.ZodVoid>>; section: z.ZodOptional>; }, "strip", z.ZodTypeAny, { note: string; competenceMonth: string; paidAmount: string; section?: "all" | "overview" | "receipt" | undefined; error?: string | null | undefined; onBack?: (() => void) | undefined; isSubmitting?: boolean | undefined; terreiroId?: string | null | undefined; isLoading?: boolean | undefined; onRefresh?: (() => void) | undefined; receiptFileName?: string | null | undefined; latestRequest?: { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED"; competenceMonth: string; rejectionReason: string | null; requestedAt: string; } | null | undefined; requestHistory?: { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED"; competenceMonth: string; rejectionReason: string | null; requestedAt: string; reviewedAt?: string | null | undefined; reviewedByName?: string | null | undefined; }[] | undefined; receiptInlineFeedback?: { message: string; severity: "warning" | "error" | "info" | "success"; } | null | undefined; onCompetenceMonthChange?: ((args_0: string) => void) | undefined; onPaidAmountChange?: ((args_0: string) => void) | undefined; onNoteChange?: ((args_0: string) => void) | undefined; onSelectReceipt?: ((args_0: File | null) => void) | undefined; onSubmitReceipt?: (() => void) | undefined; transparencyData?: { medium: { id: string; name: string; }; terreiro: { id: string; name: string; }; formatted: { monthlyFee: string; totalPaidThisMonth: string; totalSharedExpenses: string; contributionPerMember: string; projectedPaidThisMonth?: string | undefined; totalPlannedThisMonth?: string | undefined; projectedSharedExpenses?: string | undefined; totalSharedExpensesWithProjected?: string | undefined; }; period: { end: string; month: string; start: string; year: number; }; contributionImpact: { totalMembers: number; amountPerMember: number; monthlyFeeCovers: number; monthlyFeeCoversTotal: number; }; sharedExpenses: { items: { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; totalAmount: number; expenseCount: number; byCategory: { id: string; name: string; amount: number; count: number; formattedAmount: string; }[]; projectedAmount?: number | undefined; totalAmountWithProjected?: number | undefined; projectedExpenseCount?: number | undefined; totalExpenseCount?: number | undefined; projectedByCategory?: { id: string; name: string; amount: number; count: number; formattedAmount: string; }[] | undefined; projectedItems?: { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }; paymentStatus: { hasPaidMonthlyFee: boolean; monthlyFeeAmount: number; totalPaidThisMonth: number; payments: { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; projectedPaidThisMonth?: number | undefined; totalPlannedThisMonth?: number | undefined; consolidatedPaymentsCount?: number | undefined; projectedPaymentsCount?: number | undefined; projectedPayments?: { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }; } | null | undefined; }, { note: string; competenceMonth: string; paidAmount: string; section?: "all" | "overview" | "receipt" | undefined; error?: string | null | undefined; onBack?: (() => void) | undefined; isSubmitting?: boolean | undefined; terreiroId?: string | null | undefined; isLoading?: boolean | undefined; onRefresh?: (() => void) | undefined; receiptFileName?: string | null | undefined; latestRequest?: { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED"; competenceMonth: string; rejectionReason: string | null; requestedAt: string; } | null | undefined; requestHistory?: { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED"; competenceMonth: string; rejectionReason: string | null; requestedAt: string; reviewedAt?: string | null | undefined; reviewedByName?: string | null | undefined; }[] | undefined; receiptInlineFeedback?: { message: string; severity: "warning" | "error" | "info" | "success"; } | null | undefined; onCompetenceMonthChange?: ((args_0: string) => void) | undefined; onPaidAmountChange?: ((args_0: string) => void) | undefined; onNoteChange?: ((args_0: string) => void) | undefined; onSelectReceipt?: ((args_0: File | null) => void) | undefined; onSubmitReceipt?: (() => void) | undefined; transparencyData?: { medium: { id: string; name: string; }; terreiro: { id: string; name: string; }; formatted: { monthlyFee: string; totalPaidThisMonth: string; totalSharedExpenses: string; contributionPerMember: string; projectedPaidThisMonth?: string | undefined; totalPlannedThisMonth?: string | undefined; projectedSharedExpenses?: string | undefined; totalSharedExpensesWithProjected?: string | undefined; }; period: { end: string; month: string; start: string; year: number; }; contributionImpact: { totalMembers: number; amountPerMember: number; monthlyFeeCovers: number; monthlyFeeCoversTotal: number; }; sharedExpenses: { items: { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; totalAmount: number; expenseCount: number; byCategory: { id: string; name: string; amount: number; count: number; formattedAmount: string; }[]; projectedAmount?: number | undefined; totalAmountWithProjected?: number | undefined; projectedExpenseCount?: number | undefined; totalExpenseCount?: number | undefined; projectedByCategory?: { id: string; name: string; amount: number; count: number; formattedAmount: string; }[] | undefined; projectedItems?: { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }; paymentStatus: { hasPaidMonthlyFee: boolean; monthlyFeeAmount: number; totalPaidThisMonth: number; payments: { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; projectedPaidThisMonth?: number | undefined; totalPlannedThisMonth?: number | undefined; consolidatedPaymentsCount?: number | undefined; projectedPaymentsCount?: number | undefined; projectedPayments?: { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }; } | null | undefined; }>; type FinancialTransparencyPageProps = z.infer; declare const FinancialTransparencyPage: React__default.FC; declare const useFinancialTransparencyPage: (props: FinancialTransparencyPageProps) => { data: { terreiroId: string | null | undefined; competenceMonth: string; paidAmount: string; note: string; receiptFileName: string | null | undefined; latestRequest: { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED"; competenceMonth: string; rejectionReason: string | null; requestedAt: string; } | null | undefined; requestHistory: { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED"; competenceMonth: string; rejectionReason: string | null; requestedAt: string; reviewedAt?: string | null | undefined; reviewedByName?: string | null | undefined; }[] | undefined; transparencyData: { medium: { id: string; name: string; }; terreiro: { id: string; name: string; }; formatted: { monthlyFee: string; totalPaidThisMonth: string; totalSharedExpenses: string; contributionPerMember: string; projectedPaidThisMonth?: string | undefined; totalPlannedThisMonth?: string | undefined; projectedSharedExpenses?: string | undefined; totalSharedExpensesWithProjected?: string | undefined; }; period: { end: string; month: string; start: string; year: number; }; contributionImpact: { totalMembers: number; amountPerMember: number; monthlyFeeCovers: number; monthlyFeeCoversTotal: number; }; sharedExpenses: { items: { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; totalAmount: number; expenseCount: number; byCategory: { id: string; name: string; amount: number; count: number; formattedAmount: string; }[]; projectedAmount?: number | undefined; totalAmountWithProjected?: number | undefined; projectedExpenseCount?: number | undefined; totalExpenseCount?: number | undefined; projectedByCategory?: { id: string; name: string; amount: number; count: number; formattedAmount: string; }[] | undefined; projectedItems?: { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }; paymentStatus: { hasPaidMonthlyFee: boolean; monthlyFeeAmount: number; totalPaidThisMonth: number; payments: { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; projectedPaidThisMonth?: number | undefined; totalPlannedThisMonth?: number | undefined; consolidatedPaymentsCount?: number | undefined; projectedPaymentsCount?: number | undefined; projectedPayments?: { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }; } | null | undefined; isLoading: boolean; isSubmitting: boolean; error: string | null | undefined; receiptInlineFeedback: { message: string; severity: "warning" | "error" | "info" | "success"; } | null | undefined; }; fns: { handleBack: () => void; handleRefresh: () => void; handleCompetenceMonthChange: (value: string) => void; handlePaidAmountChange: (value: string) => void; handleNoteChange: (value: string) => void; handleSelectReceipt: (file: File | null) => void; handleSubmitReceipt: () => void; }; }; declare const PaymentMethodSchema: z.ZodEnum<["dinheiro", "pix", "cartao_debito", "cartao_credito", "transferencia", "boleto", "cheque"]>; type PaymentMethod = z.infer; declare const AccountTypeSchema: z.ZodEnum<["banco", "caixinha"]>; type AccountType = z.infer; declare const TransactionTypeSchema: z.ZodEnum<["entrada", "saida"]>; type TransactionType = z.infer; declare const CategorySchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodNullable>; type: z.ZodOptional; flow: z.ZodOptional; subcategories: z.ZodDefault>; }, "strip", z.ZodTypeAny, { id: string; name: string; description?: string | null | undefined; }, { id: string; name: string; description?: string | null | undefined; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; subcategories: { id: string; name: string; description?: string | null | undefined; }[]; type?: string | undefined; flow?: string | undefined; description?: string | null | undefined; }, { id: string; name: string; type?: string | undefined; flow?: string | undefined; description?: string | null | undefined; subcategories?: { id: string; name: string; description?: string | null | undefined; }[] | undefined; }>; type Category = z.infer; declare const AccountSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; account: z.ZodNullable>; agency: z.ZodNullable>; bankAccountOption: z.ZodNullable>>; initialBalance: z.ZodOptional; currentBalance: z.ZodOptional; pixKey: z.ZodNullable>; pixKeyType: z.ZodNullable>; accountType: z.ZodOptional; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; name: string; updatedAt?: string | undefined; createdAt?: string | undefined; agency?: string | null | undefined; account?: string | null | undefined; pixKeyType?: string | null | undefined; pixKey?: string | null | undefined; initialBalance?: string | undefined; currentBalance?: string | undefined; bankAccountOption?: { name: string; } | null | undefined; accountType?: string | undefined; }, { id: string; name: string; updatedAt?: string | undefined; createdAt?: string | undefined; agency?: string | null | undefined; account?: string | null | undefined; pixKeyType?: string | null | undefined; pixKey?: string | null | undefined; initialBalance?: string | undefined; currentBalance?: string | undefined; bankAccountOption?: { name: string; } | null | undefined; accountType?: string | undefined; }>; type Account = z.infer; declare const FinancialTransactionFormValuesSchema: z.ZodEffects; transactionType: z.ZodOptional>>; value: z.ZodNumber; description: z.ZodString; categoryId: z.ZodString; subcategoryId: z.ZodString; hasDueDate: z.ZodBoolean; dueDate: z.ZodOptional; paymentMethod: z.ZodEnum<["dinheiro", "pix", "cartao_debito", "cartao_credito", "transferencia", "boleto", "cheque"]>; accountId: z.ZodString; isRecurring: z.ZodBoolean; installments: z.ZodOptional; observation: z.ZodOptional; settlementStatus: z.ZodDefault>; correctionReason: z.ZodNullable>; isSharedWithMembers: z.ZodDefault>; shareReason: z.ZodNullable>; inventoryItemId: z.ZodOptional; purchasedQuantity: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: number; description: string; isRecurring: boolean; settlementStatus: "PROJECTED" | "CONSOLIDATED"; paymentMethod: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque"; categoryId: string; subcategoryId: string; hasDueDate: boolean; accountId: string; isSharedWithMembers: boolean; id?: string | undefined; dueDate?: string | undefined; shareReason?: string | null | undefined; transactionType?: "entrada" | "saida" | undefined; installments?: number | undefined; observation?: string | undefined; correctionReason?: string | null | undefined; inventoryItemId?: string | undefined; purchasedQuantity?: number | undefined; }, { value: number; description: string; isRecurring: boolean; paymentMethod: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque"; categoryId: string; subcategoryId: string; hasDueDate: boolean; accountId: string; id?: string | undefined; dueDate?: string | undefined; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; shareReason?: string | null | undefined; transactionType?: "entrada" | "saida" | undefined; installments?: number | undefined; observation?: string | undefined; correctionReason?: string | null | undefined; isSharedWithMembers?: boolean | undefined; inventoryItemId?: string | undefined; purchasedQuantity?: number | undefined; }>, { value: number; description: string; isRecurring: boolean; settlementStatus: "PROJECTED" | "CONSOLIDATED"; paymentMethod: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque"; categoryId: string; subcategoryId: string; hasDueDate: boolean; accountId: string; isSharedWithMembers: boolean; id?: string | undefined; dueDate?: string | undefined; shareReason?: string | null | undefined; transactionType?: "entrada" | "saida" | undefined; installments?: number | undefined; observation?: string | undefined; correctionReason?: string | null | undefined; inventoryItemId?: string | undefined; purchasedQuantity?: number | undefined; }, { value: number; description: string; isRecurring: boolean; paymentMethod: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque"; categoryId: string; subcategoryId: string; hasDueDate: boolean; accountId: string; id?: string | undefined; dueDate?: string | undefined; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; shareReason?: string | null | undefined; transactionType?: "entrada" | "saida" | undefined; installments?: number | undefined; observation?: string | undefined; correctionReason?: string | null | undefined; isSharedWithMembers?: boolean | undefined; inventoryItemId?: string | undefined; purchasedQuantity?: number | undefined; }>; type FinancialTransactionFormValues = z.infer; declare const FinancialRegisterPagePropsSchema: z.ZodObject<{ accounts: z.ZodDefault>; agency: z.ZodNullable>; bankAccountOption: z.ZodNullable>>; initialBalance: z.ZodOptional; currentBalance: z.ZodOptional; pixKey: z.ZodNullable>; pixKeyType: z.ZodNullable>; accountType: z.ZodOptional; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; name: string; updatedAt?: string | undefined; createdAt?: string | undefined; agency?: string | null | undefined; account?: string | null | undefined; pixKeyType?: string | null | undefined; pixKey?: string | null | undefined; initialBalance?: string | undefined; currentBalance?: string | undefined; bankAccountOption?: { name: string; } | null | undefined; accountType?: string | undefined; }, { id: string; name: string; updatedAt?: string | undefined; createdAt?: string | undefined; agency?: string | null | undefined; account?: string | null | undefined; pixKeyType?: string | null | undefined; pixKey?: string | null | undefined; initialBalance?: string | undefined; currentBalance?: string | undefined; bankAccountOption?: { name: string; } | null | undefined; accountType?: string | undefined; }>, "many">>>; categories: z.ZodDefault>; type: z.ZodOptional; flow: z.ZodOptional; subcategories: z.ZodDefault>; }, "strip", z.ZodTypeAny, { id: string; name: string; description?: string | null | undefined; }, { id: string; name: string; description?: string | null | undefined; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; subcategories: { id: string; name: string; description?: string | null | undefined; }[]; type?: string | undefined; flow?: string | undefined; description?: string | null | undefined; }, { id: string; name: string; type?: string | undefined; flow?: string | undefined; description?: string | null | undefined; subcategories?: { id: string; name: string; description?: string | null | undefined; }[] | undefined; }>, "many">>>; inventoryItems: z.ZodDefault; }, "strip", z.ZodTypeAny, { id: string; name: string; unit?: string | undefined; }, { id: string; name: string; unit?: string | undefined; }>, "many">>>; canShareWithMembers: z.ZodDefault>; onCancel: z.ZodOptional, z.ZodVoid>>; onSave: z.ZodOptional; transactionType: z.ZodOptional>>; value: z.ZodNumber; description: z.ZodString; categoryId: z.ZodString; subcategoryId: z.ZodString; hasDueDate: z.ZodBoolean; dueDate: z.ZodOptional; paymentMethod: z.ZodEnum<["dinheiro", "pix", "cartao_debito", "cartao_credito", "transferencia", "boleto", "cheque"]>; accountId: z.ZodString; isRecurring: z.ZodBoolean; installments: z.ZodOptional; observation: z.ZodOptional; settlementStatus: z.ZodDefault>; correctionReason: z.ZodNullable>; isSharedWithMembers: z.ZodDefault>; shareReason: z.ZodNullable>; inventoryItemId: z.ZodOptional; purchasedQuantity: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: number; description: string; isRecurring: boolean; settlementStatus: "PROJECTED" | "CONSOLIDATED"; paymentMethod: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque"; categoryId: string; subcategoryId: string; hasDueDate: boolean; accountId: string; isSharedWithMembers: boolean; id?: string | undefined; dueDate?: string | undefined; shareReason?: string | null | undefined; transactionType?: "entrada" | "saida" | undefined; installments?: number | undefined; observation?: string | undefined; correctionReason?: string | null | undefined; inventoryItemId?: string | undefined; purchasedQuantity?: number | undefined; }, { value: number; description: string; isRecurring: boolean; paymentMethod: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque"; categoryId: string; subcategoryId: string; hasDueDate: boolean; accountId: string; id?: string | undefined; dueDate?: string | undefined; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; shareReason?: string | null | undefined; transactionType?: "entrada" | "saida" | undefined; installments?: number | undefined; observation?: string | undefined; correctionReason?: string | null | undefined; isSharedWithMembers?: boolean | undefined; inventoryItemId?: string | undefined; purchasedQuantity?: number | undefined; }>, { value: number; description: string; isRecurring: boolean; settlementStatus: "PROJECTED" | "CONSOLIDATED"; paymentMethod: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque"; categoryId: string; subcategoryId: string; hasDueDate: boolean; accountId: string; isSharedWithMembers: boolean; id?: string | undefined; dueDate?: string | undefined; shareReason?: string | null | undefined; transactionType?: "entrada" | "saida" | undefined; installments?: number | undefined; observation?: string | undefined; correctionReason?: string | null | undefined; inventoryItemId?: string | undefined; purchasedQuantity?: number | undefined; }, { value: number; description: string; isRecurring: boolean; paymentMethod: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque"; categoryId: string; subcategoryId: string; hasDueDate: boolean; accountId: string; id?: string | undefined; dueDate?: string | undefined; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; shareReason?: string | null | undefined; transactionType?: "entrada" | "saida" | undefined; installments?: number | undefined; observation?: string | undefined; correctionReason?: string | null | undefined; isSharedWithMembers?: boolean | undefined; inventoryItemId?: string | undefined; purchasedQuantity?: number | undefined; }>], null>, z.ZodVoid>>; initialValues: z.ZodOptional>; transactionType: z.ZodOptional>>>; value: z.ZodOptional; description: z.ZodOptional; categoryId: z.ZodOptional; subcategoryId: z.ZodOptional; hasDueDate: z.ZodOptional; dueDate: z.ZodOptional>; paymentMethod: z.ZodOptional>; accountId: z.ZodOptional; isRecurring: z.ZodOptional; installments: z.ZodOptional>; observation: z.ZodOptional>; settlementStatus: z.ZodOptional>>; correctionReason: z.ZodOptional>>; isSharedWithMembers: z.ZodOptional>>; shareReason: z.ZodOptional>>; inventoryItemId: z.ZodOptional>; purchasedQuantity: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id?: string | undefined; value?: number | undefined; description?: string | undefined; dueDate?: string | undefined; isRecurring?: boolean | undefined; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; shareReason?: string | null | undefined; paymentMethod?: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque" | undefined; transactionType?: "entrada" | "saida" | undefined; categoryId?: string | undefined; subcategoryId?: string | undefined; hasDueDate?: boolean | undefined; accountId?: string | undefined; installments?: number | undefined; observation?: string | undefined; correctionReason?: string | null | undefined; isSharedWithMembers?: boolean | undefined; inventoryItemId?: string | undefined; purchasedQuantity?: number | undefined; }, { id?: string | undefined; value?: number | undefined; description?: string | undefined; dueDate?: string | undefined; isRecurring?: boolean | undefined; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; shareReason?: string | null | undefined; paymentMethod?: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque" | undefined; transactionType?: "entrada" | "saida" | undefined; categoryId?: string | undefined; subcategoryId?: string | undefined; hasDueDate?: boolean | undefined; accountId?: string | undefined; installments?: number | undefined; observation?: string | undefined; correctionReason?: string | null | undefined; isSharedWithMembers?: boolean | undefined; inventoryItemId?: string | undefined; purchasedQuantity?: number | undefined; }>>; }, "strip", z.ZodTypeAny, { inventoryItems: { id: string; name: string; unit?: string | undefined; }[]; accounts: { id: string; name: string; updatedAt?: string | undefined; createdAt?: string | undefined; agency?: string | null | undefined; account?: string | null | undefined; pixKeyType?: string | null | undefined; pixKey?: string | null | undefined; initialBalance?: string | undefined; currentBalance?: string | undefined; bankAccountOption?: { name: string; } | null | undefined; accountType?: string | undefined; }[]; categories: { id: string; name: string; subcategories: { id: string; name: string; description?: string | null | undefined; }[]; type?: string | undefined; flow?: string | undefined; description?: string | null | undefined; }[]; canShareWithMembers: boolean; onCancel?: (() => void) | undefined; onSave?: ((args_0: { value: number; description: string; isRecurring: boolean; paymentMethod: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque"; categoryId: string; subcategoryId: string; hasDueDate: boolean; accountId: string; id?: string | undefined; dueDate?: string | undefined; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; shareReason?: string | null | undefined; transactionType?: "entrada" | "saida" | undefined; installments?: number | undefined; observation?: string | undefined; correctionReason?: string | null | undefined; isSharedWithMembers?: boolean | undefined; inventoryItemId?: string | undefined; purchasedQuantity?: number | undefined; }) => void) | undefined; initialValues?: { id?: string | undefined; value?: number | undefined; description?: string | undefined; dueDate?: string | undefined; isRecurring?: boolean | undefined; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; shareReason?: string | null | undefined; paymentMethod?: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque" | undefined; transactionType?: "entrada" | "saida" | undefined; categoryId?: string | undefined; subcategoryId?: string | undefined; hasDueDate?: boolean | undefined; accountId?: string | undefined; installments?: number | undefined; observation?: string | undefined; correctionReason?: string | null | undefined; isSharedWithMembers?: boolean | undefined; inventoryItemId?: string | undefined; purchasedQuantity?: number | undefined; } | undefined; }, { inventoryItems?: { id: string; name: string; unit?: string | undefined; }[] | undefined; onCancel?: (() => void) | undefined; onSave?: ((args_0: { value: number; description: string; isRecurring: boolean; settlementStatus: "PROJECTED" | "CONSOLIDATED"; paymentMethod: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque"; categoryId: string; subcategoryId: string; hasDueDate: boolean; accountId: string; isSharedWithMembers: boolean; id?: string | undefined; dueDate?: string | undefined; shareReason?: string | null | undefined; transactionType?: "entrada" | "saida" | undefined; installments?: number | undefined; observation?: string | undefined; correctionReason?: string | null | undefined; inventoryItemId?: string | undefined; purchasedQuantity?: number | undefined; }) => void) | undefined; initialValues?: { id?: string | undefined; value?: number | undefined; description?: string | undefined; dueDate?: string | undefined; isRecurring?: boolean | undefined; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; shareReason?: string | null | undefined; paymentMethod?: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque" | undefined; transactionType?: "entrada" | "saida" | undefined; categoryId?: string | undefined; subcategoryId?: string | undefined; hasDueDate?: boolean | undefined; accountId?: string | undefined; installments?: number | undefined; observation?: string | undefined; correctionReason?: string | null | undefined; isSharedWithMembers?: boolean | undefined; inventoryItemId?: string | undefined; purchasedQuantity?: number | undefined; } | undefined; accounts?: { id: string; name: string; updatedAt?: string | undefined; createdAt?: string | undefined; agency?: string | null | undefined; account?: string | null | undefined; pixKeyType?: string | null | undefined; pixKey?: string | null | undefined; initialBalance?: string | undefined; currentBalance?: string | undefined; bankAccountOption?: { name: string; } | null | undefined; accountType?: string | undefined; }[] | undefined; categories?: { id: string; name: string; type?: string | undefined; flow?: string | undefined; description?: string | null | undefined; subcategories?: { id: string; name: string; description?: string | null | undefined; }[] | undefined; }[] | undefined; canShareWithMembers?: boolean | undefined; }>; type FinancialRegisterPageProps = z.infer; declare const FinancialRegisterPage: React__default.FC; type IncomingFinancialPageProps = Omit; declare const IncomingFinancialPage: React__default.FC; type OutgoingFinancialPageProps = Omit; declare const OutgoingFinancialPage: React__default.FC; /** * Hook for FinancialRegisterPage. * Uses accounts and categories provided via props (no mocks). * Returns { data, fns } as per project conventions. */ declare const useFinancialRegister: (props: FinancialRegisterPageProps) => { data: { formValues: { value: number; description: string; isRecurring: boolean; settlementStatus: "PROJECTED" | "CONSOLIDATED"; paymentMethod: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque"; categoryId: string; subcategoryId: string; hasDueDate: boolean; accountId: string; isSharedWithMembers: boolean; id?: string | undefined; dueDate?: string | undefined; shareReason?: string | null | undefined; transactionType?: "entrada" | "saida" | undefined; installments?: number | undefined; observation?: string | undefined; correctionReason?: string | null | undefined; inventoryItemId?: string | undefined; purchasedQuantity?: number | undefined; }; isUnitPricedPurchase: boolean; purchaseTotal: number | null; errors: Partial>; isFormValid: boolean; isLoading: boolean; pageTitle: string; transactionType: "entrada" | "saida" | undefined; filteredCategories: { id: string; name: string; subcategories: { id: string; name: string; description?: string | null | undefined; }[]; type?: string | undefined; flow?: string | undefined; description?: string | null | undefined; }[]; filteredSubcategories: { id: string; name: string; description?: string | null | undefined; }[]; selectedCategory: { id: string; name: string; subcategories: { id: string; name: string; description?: string | null | undefined; }[]; type?: string | undefined; flow?: string | undefined; description?: string | null | undefined; } | null; selectedSubcategory: { id: string; name: string; description?: string | null | undefined; } | null; accounts: { id: string; name: string; updatedAt?: string | undefined; createdAt?: string | undefined; agency?: string | null | undefined; account?: string | null | undefined; pixKeyType?: string | null | undefined; pixKey?: string | null | undefined; initialBalance?: string | undefined; currentBalance?: string | undefined; bankAccountOption?: { name: string; } | null | undefined; accountType?: string | undefined; }[]; categories: { id: string; name: string; subcategories: { id: string; name: string; description?: string | null | undefined; }[]; type?: string | undefined; flow?: string | undefined; description?: string | null | undefined; }[]; inventoryItems: { id: string; name: string; unit?: string | undefined; }[]; }; fns: { handleInputChange: (field: keyof FinancialTransactionFormValues, value: string | number | boolean) => void; handleValueChange: (value: string) => void; handleRecurringToggle: (isRecurring: boolean) => void; handleDueDateToggle: (hasDueDate: boolean) => void; handleTransactionTypeChange: (newType: "entrada" | "saida") => void; handleShareToggle: (checked: boolean) => void; handleSave: () => Promise; handleCancel: () => void; formatCurrency: (value: number) => string; }; }; declare const _default$6: React__default.NamedExoticComponent<{ canConfirmTransactions: boolean; isUpdatingSettlementStatus: boolean; onSelect?: ((args_0: string, ...args: unknown[]) => void) | undefined; data?: { month: number; year: number; incomes: { date: string; description: string; amount: string; category: string; settlementStatus: "PROJECTED" | "CONSOLIDATED"; bankAccount: { id: string; initialBalance: string; currentBalance: string; bankAccountOption: { id: string; name: string; image?: string | undefined; }; accountType: string; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | null | undefined; pixKey?: string | null | undefined; }; id?: string | undefined; subcategory?: string | undefined; consolidatedAt?: string | null | undefined; }[]; totalAmount: string; projectedAmount: string; consolidatedAmount: string; projectedCount: number; consolidatedCount: number; } | undefined; onBack?: ((...args: unknown[]) => void) | undefined; periodLabel?: string | undefined; periodInputValue?: string | undefined; periodInputMin?: string | undefined; periodInputMax?: string | undefined; onPeriodInputChange?: ((args_0: string) => void) | undefined; onResetToCurrentPeriod?: (() => void) | undefined; onAdd?: ((...args: unknown[]) => void) | undefined; movementKind?: "income" | "outcome" | undefined; incomeTotalLabel?: string | undefined; outcomeTotalLabel?: string | undefined; onMovementKindChange?: ((args_0: "income" | "outcome") => void) | undefined; showPeriodFilter?: boolean | undefined; onToggleSettlementStatus?: ((args_0: string, args_1: "PROJECTED" | "CONSOLIDATED") => void) | undefined; }>; declare const MonthlyFeePaymentStatusSchema: z.ZodEnum<["PENDING", "APPROVED", "REJECTED", "CANCELLED", "NOT_PAID"]>; type MonthlyFeePaymentStatus = z.infer; declare const MonthlyFeePaymentRequestItemSchema: z.ZodObject<{ id: z.ZodString; requestId: z.ZodOptional>; mediumId: z.ZodString; competenceMonth: z.ZodString; expectedAmount: z.ZodNumber; paidAmount: z.ZodNullable; receiptFileUrl: z.ZodNullable; note: z.ZodNullable; status: z.ZodEnum<["PENDING", "APPROVED", "REJECTED", "CANCELLED", "NOT_PAID"]>; rejectionReason: z.ZodNullable; requestedAt: z.ZodNullable; reviewedAt: z.ZodOptional>; reviewedByName: z.ZodOptional>; medium: z.ZodOptional; user: z.ZodOptional; lastName: z.ZodOptional; avatarUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; }, { firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; }>>>; }, "strip", z.ZodTypeAny, { id: string; profile?: { firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; } | null | undefined; }, { id: string; profile?: { firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; } | null | undefined; }>>>; }, "strip", z.ZodTypeAny, { id: string; status: string; user?: { id: string; profile?: { firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; } | null | undefined; } | null | undefined; roleName?: string | undefined; }, { id: string; status: string; user?: { id: string; profile?: { firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; } | null | undefined; } | null | undefined; roleName?: string | undefined; }>>>; history: z.ZodOptional; requestedAt: z.ZodNullable; reviewedAt: z.ZodOptional>; reviewedByName: z.ZodOptional>; paidAmount: z.ZodNullable; receiptFileUrl: z.ZodNullable; rejectionReason: z.ZodNullable; note: z.ZodNullable; }, "strip", z.ZodTypeAny, { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED" | "NOT_PAID"; note: string | null; rejectionReason: string | null; requestedAt: string | null; paidAmount: number | null; receiptFileUrl: string | null; reviewedAt?: string | null | undefined; reviewedByName?: string | null | undefined; }, { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED" | "NOT_PAID"; note: string | null; rejectionReason: string | null; requestedAt: string | null; paidAmount: number | null; receiptFileUrl: string | null; reviewedAt?: string | null | undefined; reviewedByName?: string | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED" | "NOT_PAID"; note: string | null; mediumId: string; competenceMonth: string; rejectionReason: string | null; requestedAt: string | null; paidAmount: number | null; expectedAmount: number; receiptFileUrl: string | null; medium?: { id: string; status: string; user?: { id: string; profile?: { firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; } | null | undefined; } | null | undefined; roleName?: string | undefined; } | null | undefined; reviewedAt?: string | null | undefined; reviewedByName?: string | null | undefined; requestId?: string | null | undefined; history?: { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED" | "NOT_PAID"; note: string | null; rejectionReason: string | null; requestedAt: string | null; paidAmount: number | null; receiptFileUrl: string | null; reviewedAt?: string | null | undefined; reviewedByName?: string | null | undefined; }[] | undefined; }, { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED" | "NOT_PAID"; note: string | null; mediumId: string; competenceMonth: string; rejectionReason: string | null; requestedAt: string | null; paidAmount: number | null; expectedAmount: number; receiptFileUrl: string | null; medium?: { id: string; status: string; user?: { id: string; profile?: { firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; } | null | undefined; } | null | undefined; roleName?: string | undefined; } | null | undefined; reviewedAt?: string | null | undefined; reviewedByName?: string | null | undefined; requestId?: string | null | undefined; history?: { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED" | "NOT_PAID"; note: string | null; rejectionReason: string | null; requestedAt: string | null; paidAmount: number | null; receiptFileUrl: string | null; reviewedAt?: string | null | undefined; reviewedByName?: string | null | undefined; }[] | undefined; }>; type MonthlyFeePaymentRequestItem = z.infer; declare const MonthlyFeePaymentsManagementPagePropsSchema: z.ZodObject<{ terreiroId: z.ZodOptional>; competenceMonth: z.ZodString; requests: z.ZodOptional>; mediumId: z.ZodString; competenceMonth: z.ZodString; expectedAmount: z.ZodNumber; paidAmount: z.ZodNullable; receiptFileUrl: z.ZodNullable; note: z.ZodNullable; status: z.ZodEnum<["PENDING", "APPROVED", "REJECTED", "CANCELLED", "NOT_PAID"]>; rejectionReason: z.ZodNullable; requestedAt: z.ZodNullable; reviewedAt: z.ZodOptional>; reviewedByName: z.ZodOptional>; medium: z.ZodOptional; user: z.ZodOptional; lastName: z.ZodOptional; avatarUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; }, { firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; }>>>; }, "strip", z.ZodTypeAny, { id: string; profile?: { firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; } | null | undefined; }, { id: string; profile?: { firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; } | null | undefined; }>>>; }, "strip", z.ZodTypeAny, { id: string; status: string; user?: { id: string; profile?: { firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; } | null | undefined; } | null | undefined; roleName?: string | undefined; }, { id: string; status: string; user?: { id: string; profile?: { firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; } | null | undefined; } | null | undefined; roleName?: string | undefined; }>>>; history: z.ZodOptional; requestedAt: z.ZodNullable; reviewedAt: z.ZodOptional>; reviewedByName: z.ZodOptional>; paidAmount: z.ZodNullable; receiptFileUrl: z.ZodNullable; rejectionReason: z.ZodNullable; note: z.ZodNullable; }, "strip", z.ZodTypeAny, { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED" | "NOT_PAID"; note: string | null; rejectionReason: string | null; requestedAt: string | null; paidAmount: number | null; receiptFileUrl: string | null; reviewedAt?: string | null | undefined; reviewedByName?: string | null | undefined; }, { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED" | "NOT_PAID"; note: string | null; rejectionReason: string | null; requestedAt: string | null; paidAmount: number | null; receiptFileUrl: string | null; reviewedAt?: string | null | undefined; reviewedByName?: string | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED" | "NOT_PAID"; note: string | null; mediumId: string; competenceMonth: string; rejectionReason: string | null; requestedAt: string | null; paidAmount: number | null; expectedAmount: number; receiptFileUrl: string | null; medium?: { id: string; status: string; user?: { id: string; profile?: { firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; } | null | undefined; } | null | undefined; roleName?: string | undefined; } | null | undefined; reviewedAt?: string | null | undefined; reviewedByName?: string | null | undefined; requestId?: string | null | undefined; history?: { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED" | "NOT_PAID"; note: string | null; rejectionReason: string | null; requestedAt: string | null; paidAmount: number | null; receiptFileUrl: string | null; reviewedAt?: string | null | undefined; reviewedByName?: string | null | undefined; }[] | undefined; }, { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED" | "NOT_PAID"; note: string | null; mediumId: string; competenceMonth: string; rejectionReason: string | null; requestedAt: string | null; paidAmount: number | null; expectedAmount: number; receiptFileUrl: string | null; medium?: { id: string; status: string; user?: { id: string; profile?: { firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; } | null | undefined; } | null | undefined; roleName?: string | undefined; } | null | undefined; reviewedAt?: string | null | undefined; reviewedByName?: string | null | undefined; requestId?: string | null | undefined; history?: { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED" | "NOT_PAID"; note: string | null; rejectionReason: string | null; requestedAt: string | null; paidAmount: number | null; receiptFileUrl: string | null; reviewedAt?: string | null | undefined; reviewedByName?: string | null | undefined; }[] | undefined; }>, "many">>; reminderStatus: z.ZodOptional>; dueDay: z.ZodNullable; totals: z.ZodObject<{ activeMediums: z.ZodNumber; approved: z.ZodNumber; pending: z.ZodNumber; rejected: z.ZodNumber; notPaid: z.ZodNumber; }, "strip", z.ZodTypeAny, { pending: number; activeMediums: number; approved: number; rejected: number; notPaid: number; }, { pending: number; activeMediums: number; approved: number; rejected: number; notPaid: number; }>; reminder: z.ZodObject<{ alreadyDispatched: z.ZodBoolean; lastDispatchedAt: z.ZodNullable; dispatchCount: z.ZodNumber; canDispatchToday: z.ZodDefault>; todayDispatched: z.ZodDefault>; dispatchesToday: z.ZodDefault>; }, "strip", z.ZodTypeAny, { alreadyDispatched: boolean; lastDispatchedAt: string | null; dispatchCount: number; canDispatchToday: boolean; todayDispatched: boolean; dispatchesToday: number; }, { alreadyDispatched: boolean; lastDispatchedAt: string | null; dispatchCount: number; canDispatchToday?: boolean | undefined; todayDispatched?: boolean | undefined; dispatchesToday?: number | undefined; }>; }, "strip", z.ZodTypeAny, { competenceMonth: string; dueDay: number | null; dispatchDate: string; totals: { pending: number; activeMediums: number; approved: number; rejected: number; notPaid: number; }; reminder: { alreadyDispatched: boolean; lastDispatchedAt: string | null; dispatchCount: number; canDispatchToday: boolean; todayDispatched: boolean; dispatchesToday: number; }; }, { competenceMonth: string; dueDay: number | null; totals: { pending: number; activeMediums: number; approved: number; rejected: number; notPaid: number; }; reminder: { alreadyDispatched: boolean; lastDispatchedAt: string | null; dispatchCount: number; canDispatchToday?: boolean | undefined; todayDispatched?: boolean | undefined; dispatchesToday?: number | undefined; }; dispatchDate?: string | undefined; }>>>; canDispatchReminders: z.ZodOptional; isLoading: z.ZodOptional; isReviewing: z.ZodOptional; isDispatchingReminders: z.ZodOptional; embedded: z.ZodOptional; error: z.ZodOptional>; onBack: z.ZodOptional, z.ZodVoid>>; onCompetenceMonthChange: z.ZodOptional, z.ZodVoid>>; onApprove: z.ZodOptional, z.ZodVoid>>; onReject: z.ZodOptional, z.ZodVoid>>; onDispatchReminders: z.ZodOptional, z.ZodVoid>>; }, "strip", z.ZodTypeAny, { competenceMonth: string; error?: string | null | undefined; onBack?: (() => void) | undefined; terreiroId?: string | null | undefined; onReject?: ((args_0: string, args_1: string) => void) | undefined; isLoading?: boolean | undefined; embedded?: boolean | undefined; requests?: { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED" | "NOT_PAID"; note: string | null; mediumId: string; competenceMonth: string; rejectionReason: string | null; requestedAt: string | null; paidAmount: number | null; expectedAmount: number; receiptFileUrl: string | null; medium?: { id: string; status: string; user?: { id: string; profile?: { firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; } | null | undefined; } | null | undefined; roleName?: string | undefined; } | null | undefined; reviewedAt?: string | null | undefined; reviewedByName?: string | null | undefined; requestId?: string | null | undefined; history?: { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED" | "NOT_PAID"; note: string | null; rejectionReason: string | null; requestedAt: string | null; paidAmount: number | null; receiptFileUrl: string | null; reviewedAt?: string | null | undefined; reviewedByName?: string | null | undefined; }[] | undefined; }[] | undefined; onCompetenceMonthChange?: ((args_0: string) => void) | undefined; reminderStatus?: { competenceMonth: string; dueDay: number | null; dispatchDate: string; totals: { pending: number; activeMediums: number; approved: number; rejected: number; notPaid: number; }; reminder: { alreadyDispatched: boolean; lastDispatchedAt: string | null; dispatchCount: number; canDispatchToday: boolean; todayDispatched: boolean; dispatchesToday: number; }; } | null | undefined; canDispatchReminders?: boolean | undefined; isReviewing?: boolean | undefined; isDispatchingReminders?: boolean | undefined; onApprove?: ((args_0: string) => void) | undefined; onDispatchReminders?: (() => void) | undefined; }, { competenceMonth: string; error?: string | null | undefined; onBack?: (() => void) | undefined; terreiroId?: string | null | undefined; onReject?: ((args_0: string, args_1: string) => void) | undefined; isLoading?: boolean | undefined; embedded?: boolean | undefined; requests?: { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED" | "NOT_PAID"; note: string | null; mediumId: string; competenceMonth: string; rejectionReason: string | null; requestedAt: string | null; paidAmount: number | null; expectedAmount: number; receiptFileUrl: string | null; medium?: { id: string; status: string; user?: { id: string; profile?: { firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; } | null | undefined; } | null | undefined; roleName?: string | undefined; } | null | undefined; reviewedAt?: string | null | undefined; reviewedByName?: string | null | undefined; requestId?: string | null | undefined; history?: { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED" | "NOT_PAID"; note: string | null; rejectionReason: string | null; requestedAt: string | null; paidAmount: number | null; receiptFileUrl: string | null; reviewedAt?: string | null | undefined; reviewedByName?: string | null | undefined; }[] | undefined; }[] | undefined; onCompetenceMonthChange?: ((args_0: string) => void) | undefined; reminderStatus?: { competenceMonth: string; dueDay: number | null; totals: { pending: number; activeMediums: number; approved: number; rejected: number; notPaid: number; }; reminder: { alreadyDispatched: boolean; lastDispatchedAt: string | null; dispatchCount: number; canDispatchToday?: boolean | undefined; todayDispatched?: boolean | undefined; dispatchesToday?: number | undefined; }; dispatchDate?: string | undefined; } | null | undefined; canDispatchReminders?: boolean | undefined; isReviewing?: boolean | undefined; isDispatchingReminders?: boolean | undefined; onApprove?: ((args_0: string) => void) | undefined; onDispatchReminders?: (() => void) | undefined; }>; type MonthlyFeePaymentsManagementPageProps = z.infer; declare const MonthlyFeePaymentsManagementPage: React__default.FC; declare const useMonthlyFeePaymentsManagementPage: (props: MonthlyFeePaymentsManagementPageProps) => { data: { terreiroId: string | null | undefined; competenceMonth: string; requests: { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED" | "NOT_PAID"; note: string | null; mediumId: string; competenceMonth: string; rejectionReason: string | null; requestedAt: string | null; paidAmount: number | null; expectedAmount: number; receiptFileUrl: string | null; medium?: { id: string; status: string; user?: { id: string; profile?: { firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; } | null | undefined; } | null | undefined; roleName?: string | undefined; } | null | undefined; reviewedAt?: string | null | undefined; reviewedByName?: string | null | undefined; requestId?: string | null | undefined; history?: { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED" | "NOT_PAID"; note: string | null; rejectionReason: string | null; requestedAt: string | null; paidAmount: number | null; receiptFileUrl: string | null; reviewedAt?: string | null | undefined; reviewedByName?: string | null | undefined; }[] | undefined; }[]; reminderStatus: { competenceMonth: string; dueDay: number | null; dispatchDate: string; totals: { pending: number; activeMediums: number; approved: number; rejected: number; notPaid: number; }; reminder: { alreadyDispatched: boolean; lastDispatchedAt: string | null; dispatchCount: number; canDispatchToday: boolean; todayDispatched: boolean; dispatchesToday: number; }; } | null; canDispatchReminders: boolean; filteredRequests: { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED" | "NOT_PAID"; note: string | null; mediumId: string; competenceMonth: string; rejectionReason: string | null; requestedAt: string | null; paidAmount: number | null; expectedAmount: number; receiptFileUrl: string | null; medium?: { id: string; status: string; user?: { id: string; profile?: { firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; } | null | undefined; } | null | undefined; roleName?: string | undefined; } | null | undefined; reviewedAt?: string | null | undefined; reviewedByName?: string | null | undefined; requestId?: string | null | undefined; history?: { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED" | "NOT_PAID"; note: string | null; rejectionReason: string | null; requestedAt: string | null; paidAmount: number | null; receiptFileUrl: string | null; reviewedAt?: string | null | undefined; reviewedByName?: string | null | undefined; }[] | undefined; }[]; isLoading: boolean; isReviewing: boolean; isDispatchingReminders: boolean; error: string | null | undefined; pendingCount: number; notPaidCount: number; statusFilter: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED" | "ALL" | "NOT_PAID"; searchInput: string; searchTerm: string; rejectDialogRequestId: string | null; selectedRequestForReject: { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED" | "NOT_PAID"; note: string | null; mediumId: string; competenceMonth: string; rejectionReason: string | null; requestedAt: string | null; paidAmount: number | null; expectedAmount: number; receiptFileUrl: string | null; medium?: { id: string; status: string; user?: { id: string; profile?: { firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; } | null | undefined; } | null | undefined; roleName?: string | undefined; } | null | undefined; reviewedAt?: string | null | undefined; reviewedByName?: string | null | undefined; requestId?: string | null | undefined; history?: { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED" | "NOT_PAID"; note: string | null; rejectionReason: string | null; requestedAt: string | null; paidAmount: number | null; receiptFileUrl: string | null; reviewedAt?: string | null | undefined; reviewedByName?: string | null | undefined; }[] | undefined; } | null; }; fns: { handleBack: () => void; handleCompetenceMonthChange: (value: string) => void; handleApprove: (requestId: string) => void; handleReject: (requestId: string, reason: string) => void; handleStatusFilterChange: (value: "ALL" | "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED" | "NOT_PAID") => void; handleSearchTermChange: (value: string) => void; handleOpenRejectDialog: (requestId: string) => void; handleCloseRejectDialog: () => void; handleConfirmReject: (reason: string) => void; handleDispatchReminders: () => void; }; }; declare const _default$5: React__default.NamedExoticComponent<{ canConfirmTransactions: boolean; isUpdatingSettlementStatus: boolean; onSelect?: ((args_0: string, ...args: unknown[]) => void) | undefined; data?: { month: number; year: number; outcomes: { date: string; description: string; amount: string; category: string; settlementStatus: "PROJECTED" | "CONSOLIDATED"; bankAccount: { id: string; initialBalance: string; currentBalance: string; bankAccountOption: { id: string; name: string; image?: string | undefined; }; accountType: string; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | null | undefined; pixKey?: string | null | undefined; }; id?: string | undefined; subcategory?: string | undefined; dueDate?: string | null | undefined; hasDueDate?: boolean | undefined; consolidatedAt?: string | null | undefined; }[]; totalAmount: string; projectedAmount: string; consolidatedAmount: string; projectedCount: number; consolidatedCount: number; } | undefined; onBack?: ((...args: unknown[]) => void) | undefined; periodLabel?: string | undefined; periodInputValue?: string | undefined; periodInputMin?: string | undefined; periodInputMax?: string | undefined; onPeriodInputChange?: ((args_0: string) => void) | undefined; onResetToCurrentPeriod?: (() => void) | undefined; onAdd?: ((...args: unknown[]) => void) | undefined; movementKind?: "income" | "outcome" | undefined; incomeTotalLabel?: string | undefined; outcomeTotalLabel?: string | undefined; onMovementKindChange?: ((args_0: "income" | "outcome") => void) | undefined; showPeriodFilter?: boolean | undefined; onToggleSettlementStatus?: ((args_0: string, args_1: "PROJECTED" | "CONSOLIDATED") => void) | undefined; }>; declare const HomePage: React__default.FunctionComponent; declare const useHomePage: (props: HomePageProps) => { data: { greeting: string; currentDate: string; user: { profile: { firstName: string; lastName: string; avatarUrl: string; documentType: "CPF" | "RG"; document: string; address?: { id: string; street: string; number: string; complement?: string; neighborhood: string; city: string; state: string; zipCode: string; country: string; }; contact?: { phone: string; contact_person?: string; }; }; } | undefined; stats: { title: string; color: "warning" | "primary" | "secondary" | "error" | "info" | "success"; value: string; icon: string; }[]; quickActions: unknown[]; showQuickActions: boolean; visibleWidgets: HomeWidgetVisibilityMap; menuWidgets: { title: string; id: "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "usageHeatmap" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals"; visible: boolean; description: string; }[]; widgetOrder: HomeWidgetOrder; reorderableWidgets: { title: string; id: "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "usageHeatmap" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals"; visible: boolean; description: string; }[]; defaultWidgetOrder: HomeWidgetOrder; upcomingEvents: EventItem[]; recentActivities: { title: string; id: number; type: "event" | "member" | "inventory" | "financial"; icon: string; description: string; timestamp: Date; }[]; todayEvents: EventItem[]; refreshing: boolean; searchQuery: string; getEventStatusColor: (status: string) => "warning" | "error" | "success" | "default"; formatEventTime: (timeString: string) => string; getActivityIcon: (type: string) => "📅" | "💰" | "👥" | "📦" | "📋"; formatRelativeTime: (date: Date) => string; mediumStatus: "PENDING" | "APPROVED" | "REJECTED" | undefined; rejectionMessage: string | undefined; terreiros: (Terreiro | null)[] | undefined; selectedTerreiroIdx: number; selectedTerreiro: Terreiro | null; showCalendarEvents: boolean; calendarActivities: { title: string; id: string; type: "event" | "activity" | "ritual_bath"; date: string; color?: string | undefined; source?: "scheduled" | "recommendation" | undefined; time?: string | undefined; status?: string | undefined; description?: string | undefined; category?: string | undefined; imageUrl?: string | undefined; steps?: { text: string; icon?: string | undefined; }[] | undefined; activityType?: "ACTIVITY" | "RITUAL" | undefined; }[]; calendarEvents: { title: string; id: string; type: "event" | "activity" | "ritual_bath"; date: string; color?: string | undefined; source?: "scheduled" | "recommendation" | undefined; time?: string | undefined; status?: string | undefined; description?: string | undefined; category?: string | undefined; imageUrl?: string | undefined; steps?: { text: string; icon?: string | undefined; }[] | undefined; activityType?: "ACTIVITY" | "RITUAL" | undefined; }[]; calendarRitualBaths: { title: string; id: string; type: "event" | "activity" | "ritual_bath"; date: string; color?: string | undefined; source?: "scheduled" | "recommendation" | undefined; time?: string | undefined; status?: string | undefined; description?: string | undefined; category?: string | undefined; imageUrl?: string | undefined; steps?: { text: string; icon?: string | undefined; }[] | undefined; activityType?: "ACTIVITY" | "RITUAL" | undefined; }[]; isLoadingRituals: boolean; selectedRitualDate: string | undefined; calendarViewMode: "monthly" | "weekly"; calendarStatusFilter: "PENDING" | "CONFIRMED" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | "ALL"; isLoadingCalendar: boolean; }; fns: { handleQuickActionClick: (route: string) => void; handleProfileClick: () => void; handleShowQuickActionsChange: (visible: boolean) => void; handleHomeWidgetVisibilityChange: (id: HomeWidgetId, visible: boolean) => void; handleHomeWidgetOrderChange: (order: HomeWidgetOrder, meta?: HomeWidgetOrderChangeMeta) => void; handleHomeWidgetsCustomizeViewOpen: (view: HomeWidgetsCustomizeView) => void; handleNotificationClick: () => void; handleSearchClick: () => void; handleSettingsClick: () => void; handleRefresh: () => Promise; handleEventClick: (eventId: string) => void; handleActivityClick: (activityId: string) => void; handleViewAllEvents: () => void; handleViewAllActivities: () => void; setSearchQuery: React$1.Dispatch>; handleTerreiroChange: (terreiro: any, idx: number) => void; handleCalendarViewModeChange: (dateRange: CalendarDateRange) => void; handleCalendarItemClick: (item: CalendarItem) => void; handleCalendarDateSelect: (date: string) => void; handleCalendarStatusFilterChange: (status: CalendarStatusFilter) => void; }; }; /** * Shared TopBar stack heights and content-offset helpers. * * Use these to clear a fixed TopBar from page content, accounting for * expanded/collapsed chrome and whether Acesso Rápido (QuickActions) is shown. * * @remarks * For fixed-chrome pages (e.g. HomePage), prefer **measured** clearance via * `MeasuredLayoutProvider` + `useContentClearance` so padding tracks live * TopBar/BottomNav height (Acesso Rápido hide/show, grid vs horizontal, scroll * collapse). Keep these helpers as **fallback** before the first ResizeObserver * paint and for non-measured callers. */ /** QuickActionsBar layout mode — affects expanded TopBar height on xs. */ type QuickActionsLayout = "grid" | "horizontal"; /** Responsive pixel heights for xs / sm / md breakpoints. */ type ResponsivePx = { xs: number; sm: number; md: number; }; /** * Canonical TopBar-related heights (px) used for layout clearance. * * @remarks * - `collapsed` — TopBar chrome when the greeting section is collapsed * - `expanded` — legacy aggregate expanded height (prefer {@link getTopBarExpandedHeight}) * - `quickActionsCompact` — compact Acesso Rápido strip while collapsed * - `primaryOnly` — greeting/avatar row when QuickActions are hidden * (avatar 40px + CARD_PADDING vertical: xs 32 / sm+ 48, stepped for md) */ declare const TOP_BAR_HEIGHTS: { readonly collapsed: { readonly xs: 56; readonly sm: 64; readonly md: 72; }; readonly expanded: { readonly xs: 180; readonly sm: 200; readonly md: 220; }; readonly quickActionsCompact: { readonly xs: 60; readonly sm: 64; }; readonly primaryOnly: { readonly xs: 72; readonly sm: 88; readonly md: 104; }; }; type ContentOffsetParams = { /** Whether the TopBar greeting / full QuickActions section is expanded. */ isExpanded: boolean; /** * When false, offset clears primary TopBar only (no QuickActions strip). * @default true */ showQuickActions?: boolean; /** * QuickActionsBar layout; only affects expanded height when QuickActions are shown. * @default "horizontal" */ layout?: QuickActionsLayout; /** Extra px added after the stack height (breathing room under the bar). */ additionalOffset?: number; }; /** * Expanded TopBar height including full QuickActions, by layout. * * @param layout - QuickActionsBar layout (`grid` needs more xs height than `horizontal`) */ declare const getTopBarExpandedHeight: (layout?: QuickActionsLayout) => ResponsivePx; /** * TopBar height for simple expanded/collapsed toggles (ignores QuickActions layout). * * @param isExpanded - Whether the TopBar is expanded */ declare const getTopBarHeight: (isExpanded: boolean) => ResponsivePx; /** * Fixed TopBar stack height that page content must clear. * * - QuickActions hidden → primary greeting only * - Expanded + QuickActions → layout-aware expanded height * - Collapsed + QuickActions → collapsed chrome + compact QuickActions */ declare const getTopBarStackHeight: ({ isExpanded, showQuickActions, layout, }: Pick) => ResponsivePx; /** * `padding-top` for page content under a fixed TopBar. * * @example * ```ts * getContentPaddingTop({ * isExpanded: true, * showQuickActions: false, * additionalOffset: 8, * }) * ``` */ declare const getContentPaddingTop: ({ isExpanded, showQuickActions, layout, additionalOffset, }: ContentOffsetParams) => ResponsivePx; /** * Companion `margin-top` for content under a fixed TopBar. * * Uses full padding when expanded or when QuickActions are hidden * (TopBar does not collapse without QuickActions). Halves when collapsed * with QuickActions visible for a tighter scroll layout. */ declare const getContentMarginTop: ({ isExpanded, showQuickActions, layout, additionalOffset, }: ContentOffsetParams) => ResponsivePx; /** Max unread notifications shown in the home bell quick panel. */ declare const HOME_BELL_NOTIFICATION_LIMIT = 3; /** * HomeDashboardSummary contract (components#433, Fases 1-2). * * This is the wire shape for the future `GET` home-dashboard-summary endpoint * (ilovemacumba-api#418). It mirrors existing HomePage prop types wherever one * already exists so the mapper below is a thin translation layer, not a * second source of truth. * * NOTE: this file ONLY publishes the contract + mapper. The app does not call * the endpoint yet, and the API does not implement it yet. The server-side * cache (TTL 60s, see product decision #3) is documented on * `HomeDashboardSummarySchema` below for the API implementation to follow; * it is NOT implemented in this package. */ /** Whether the summary was computed for a terreiro-scoped medium or a personal (house-less) account. */ declare const HomeDashboardScopeSchema: z.ZodEnum<["terreiro", "personal"]>; type HomeDashboardScope = z.infer; /** * Per-section availability status. * - "ok": the section has data and should render normally. * - "empty": the section is allowed but there is nothing to show. * - "forbidden": the caller lacks permission/scope for the section. * * A section id that is absent from the map is treated the same as "forbidden" * by consumers (see `mapHomeDashboardSummaryToHomePageProps`), since the API * only includes keys it has an opinion about. */ declare const HomeDashboardSectionStatusSchema: z.ZodEnum<["ok", "empty", "forbidden"]>; type HomeDashboardSectionStatus = z.infer; /** Known section ids. Kept as a plain string record so the API can add new sections without a breaking schema change. */ declare const HomeDashboardSectionsSchema: z.ZodRecord>; type HomeDashboardSections = z.infer; declare const HomeDashboardProfileSchema: z.ZodObject<{ firstName: z.ZodString; lastName: z.ZodString; avatarUrl: z.ZodNullable; /** * Onboarding progress flags. Shape is intentionally opaque at this stage * (no onboarding contract exists yet) so the API can evolve it without a * breaking change to this package. */ onboardingState: z.ZodRecord; }, "strip", z.ZodTypeAny, { firstName: string; lastName: string; avatarUrl: string | null; onboardingState: Record; }, { firstName: string; lastName: string; avatarUrl: string | null; onboardingState: Record; }>; type HomeDashboardProfile = z.infer; /** Mirrors `MediumStatus` from HomePage.types.ts, minus the `undefined` member (the wire format always sends a string). */ declare const HomeDashboardMediumStatusSchema: z.ZodEnum<["PENDING", "APPROVED", "REJECTED"]>; type HomeDashboardMediumStatus = z.infer; /** * A single terreiro membership entry for the medium. Deliberately loose * (passthrough record) until the membership-list contract is defined; not * consumed by the Fase 1-2 mapper. */ declare const HomeDashboardMediumMembershipSchema: z.ZodRecord; type HomeDashboardMediumMembership = z.infer; declare const HomeDashboardMediumSchema: z.ZodObject<{ id: z.ZodString; status: z.ZodEnum<["PENDING", "APPROVED", "REJECTED"]>; rejectionMessage: z.ZodNullable; memberships: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { id: string; status: "PENDING" | "APPROVED" | "REJECTED"; rejectionMessage: string | null; memberships: Record[]; }, { id: string; status: "PENDING" | "APPROVED" | "REJECTED"; rejectionMessage: string | null; memberships: Record[]; }>; type HomeDashboardMedium = z.infer; declare const HomeDashboardPermissionsSchema: z.ZodObject<{ codes: z.ZodArray; }, "strip", z.ZodTypeAny, { codes: string[]; }, { codes: string[]; }>; type HomeDashboardPermissions = z.infer; /** Mirrors the inline `notificationItems` entry shape on `HomePageProps`, with the timestamp normalized to an ISO string for the wire format. */ declare const HomeDashboardNotificationItemSchema: z.ZodObject<{ id: z.ZodString; type: z.ZodString; message: z.ZodString; read: z.ZodBoolean; timestamp: z.ZodString; terreiroId: z.ZodOptional; imageUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; message: string; type: string; timestamp: string; read: boolean; imageUrl?: string | undefined; terreiroId?: string | undefined; }, { id: string; message: string; type: string; timestamp: string; read: boolean; imageUrl?: string | undefined; terreiroId?: string | undefined; }>; type HomeDashboardNotificationItem = z.infer; declare const HomeDashboardNotificationsSchema: z.ZodObject<{ unread: z.ZodNumber; items: z.ZodArray; imageUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; message: string; type: string; timestamp: string; read: boolean; imageUrl?: string | undefined; terreiroId?: string | undefined; }, { id: string; message: string; type: string; timestamp: string; read: boolean; imageUrl?: string | undefined; terreiroId?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { items: { id: string; message: string; type: string; timestamp: string; read: boolean; imageUrl?: string | undefined; terreiroId?: string | undefined; }[]; unread: number; }, { items: { id: string; message: string; type: string; timestamp: string; read: boolean; imageUrl?: string | undefined; terreiroId?: string | undefined; }[]; unread: number; }>; type HomeDashboardNotifications = z.infer; /** * Highlighted product update. Shape is opaque (passthrough record) until the * product-updates feed contract is published; only `unreadCount` is consumed * by the Fase 1-2 mapper. */ declare const HomeDashboardProductUpdateHighlightSchema: z.ZodRecord; type HomeDashboardProductUpdateHighlight = z.infer; declare const HomeDashboardProductUpdatesSchema: z.ZodObject<{ unreadCount: z.ZodNumber; highlight: z.ZodNullable>; }, "strip", z.ZodTypeAny, { unreadCount: number; highlight: Record | null; }, { unreadCount: number; highlight: Record | null; }>; type HomeDashboardProductUpdates = z.infer; /** * Raw weekly engagement flags for the current week, scoped to the medium. * This is intentionally NOT the same shape as `WeeklyTask[]` (HomePage.types.ts): * turning these flags into tasks requires Portuguese CTA copy and routes that * do not exist in this contract yet. See `mapHomeDashboardSummaryToHomePageProps` * doc comment and the PR description for the Fase 3 follow-up. */ declare const HomeDashboardWeeklySummarySchema: z.ZodObject<{ /** ISO date (YYYY-MM-DD) for the Monday of the summarized week. */ weekStart: z.ZodString; createdEventWeek: z.ZodBoolean; createdActivityWeek: z.ZodBoolean; rsvpWeek: z.ZodBoolean; presenceWeek: z.ZodBoolean; financeActedWeek: z.ZodBoolean; }, "strip", z.ZodTypeAny, { weekStart: string; createdEventWeek: boolean; createdActivityWeek: boolean; rsvpWeek: boolean; presenceWeek: boolean; financeActedWeek: boolean; }, { weekStart: string; createdEventWeek: boolean; createdActivityWeek: boolean; rsvpWeek: boolean; presenceWeek: boolean; financeActedWeek: boolean; }>; type HomeDashboardWeeklySummary = z.infer; declare const HomeDashboardCompletenessSchema: z.ZodObject<{ profile: z.ZodNullable; sections: z.ZodObject<{ profile: z.ZodObject<{ complete: z.ZodBoolean; missing: z.ZodArray; percentage: z.ZodNumber; }, "strip", z.ZodTypeAny, { complete: boolean; percentage: number; missing: string[]; }, { complete: boolean; percentage: number; missing: string[]; }>; medium: z.ZodObject<{ complete: z.ZodBoolean; missing: z.ZodArray; percentage: z.ZodNumber; }, "strip", z.ZodTypeAny, { complete: boolean; percentage: number; missing: string[]; }, { complete: boolean; percentage: number; missing: string[]; }>; contact: z.ZodObject<{ complete: z.ZodBoolean; missing: z.ZodArray; percentage: z.ZodNumber; }, "strip", z.ZodTypeAny, { complete: boolean; percentage: number; missing: string[]; }, { complete: boolean; percentage: number; missing: string[]; }>; address: z.ZodObject<{ complete: z.ZodBoolean; missing: z.ZodArray; percentage: z.ZodNumber; }, "strip", z.ZodTypeAny, { complete: boolean; percentage: number; missing: string[]; }, { complete: boolean; percentage: number; missing: string[]; }>; avatar: z.ZodObject<{ complete: z.ZodBoolean; missing: z.ZodArray; percentage: z.ZodNumber; }, "strip", z.ZodTypeAny, { complete: boolean; percentage: number; missing: string[]; }, { complete: boolean; percentage: number; missing: string[]; }>; }, "strip", z.ZodTypeAny, { address: { complete: boolean; percentage: number; missing: string[]; }; medium: { complete: boolean; percentage: number; missing: string[]; }; avatar: { complete: boolean; percentage: number; missing: string[]; }; profile: { complete: boolean; percentage: number; missing: string[]; }; contact: { complete: boolean; percentage: number; missing: string[]; }; }, { address: { complete: boolean; percentage: number; missing: string[]; }; medium: { complete: boolean; percentage: number; missing: string[]; }; avatar: { complete: boolean; percentage: number; missing: string[]; }; profile: { complete: boolean; percentage: number; missing: string[]; }; contact: { complete: boolean; percentage: number; missing: string[]; }; }>; nextActions: z.ZodArray; }, "strip", z.ZodTypeAny, { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: { address: { complete: boolean; percentage: number; missing: string[]; }; medium: { complete: boolean; percentage: number; missing: string[]; }; avatar: { complete: boolean; percentage: number; missing: string[]; }; profile: { complete: boolean; percentage: number; missing: string[]; }; contact: { complete: boolean; percentage: number; missing: string[]; }; }; nextActions: string[]; }, { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: { address: { complete: boolean; percentage: number; missing: string[]; }; medium: { complete: boolean; percentage: number; missing: string[]; }; avatar: { complete: boolean; percentage: number; missing: string[]; }; profile: { complete: boolean; percentage: number; missing: string[]; }; contact: { complete: boolean; percentage: number; missing: string[]; }; }; nextActions: string[]; }>>; terreiro: z.ZodNullable; sections: z.ZodRecord; percentage: z.ZodNumber; }, "strip", z.ZodTypeAny, { complete: boolean; percentage: number; missing: string[]; }, { complete: boolean; percentage: number; missing: string[]; }>>; nextActions: z.ZodArray; }, "strip", z.ZodTypeAny, { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: Record; nextActions: string[]; }, { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: Record; nextActions: string[]; }>>; }, "strip", z.ZodTypeAny, { terreiro: { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: Record; nextActions: string[]; } | null; profile: { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: { address: { complete: boolean; percentage: number; missing: string[]; }; medium: { complete: boolean; percentage: number; missing: string[]; }; avatar: { complete: boolean; percentage: number; missing: string[]; }; profile: { complete: boolean; percentage: number; missing: string[]; }; contact: { complete: boolean; percentage: number; missing: string[]; }; }; nextActions: string[]; } | null; }, { terreiro: { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: Record; nextActions: string[]; } | null; profile: { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: { address: { complete: boolean; percentage: number; missing: string[]; }; medium: { complete: boolean; percentage: number; missing: string[]; }; avatar: { complete: boolean; percentage: number; missing: string[]; }; profile: { complete: boolean; percentage: number; missing: string[]; }; contact: { complete: boolean; percentage: number; missing: string[]; }; }; nextActions: string[]; } | null; }>; type HomeDashboardCompleteness = z.infer; declare const HomeDashboardCalendarSchema: z.ZodObject<{ viewMode: z.ZodEnum<["monthly", "weekly"]>; /** ISO date (YYYY-MM-DD) */ startDate: z.ZodString; /** ISO date (YYYY-MM-DD) */ endDate: z.ZodString; activities: z.ZodArray; type: z.ZodEnum<["activity", "event", "ritual_bath"]>; activityType: z.ZodOptional>; color: z.ZodOptional; status: z.ZodOptional; source: z.ZodOptional>; description: z.ZodOptional; imageUrl: z.ZodOptional; category: z.ZodOptional; steps: z.ZodOptional; text: z.ZodString; }, "strip", z.ZodTypeAny, { text: string; icon?: string | undefined; }, { text: string; icon?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { title: string; id: string; type: "event" | "activity" | "ritual_bath"; date: string; color?: string | undefined; source?: "scheduled" | "recommendation" | undefined; time?: string | undefined; status?: string | undefined; description?: string | undefined; category?: string | undefined; imageUrl?: string | undefined; steps?: { text: string; icon?: string | undefined; }[] | undefined; activityType?: "ACTIVITY" | "RITUAL" | undefined; }, { title: string; id: string; type: "event" | "activity" | "ritual_bath"; date: string; color?: string | undefined; source?: "scheduled" | "recommendation" | undefined; time?: string | undefined; status?: string | undefined; description?: string | undefined; category?: string | undefined; imageUrl?: string | undefined; steps?: { text: string; icon?: string | undefined; }[] | undefined; activityType?: "ACTIVITY" | "RITUAL" | undefined; }>, "many">; events: z.ZodArray; type: z.ZodEnum<["activity", "event", "ritual_bath"]>; activityType: z.ZodOptional>; color: z.ZodOptional; status: z.ZodOptional; source: z.ZodOptional>; description: z.ZodOptional; imageUrl: z.ZodOptional; category: z.ZodOptional; steps: z.ZodOptional; text: z.ZodString; }, "strip", z.ZodTypeAny, { text: string; icon?: string | undefined; }, { text: string; icon?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { title: string; id: string; type: "event" | "activity" | "ritual_bath"; date: string; color?: string | undefined; source?: "scheduled" | "recommendation" | undefined; time?: string | undefined; status?: string | undefined; description?: string | undefined; category?: string | undefined; imageUrl?: string | undefined; steps?: { text: string; icon?: string | undefined; }[] | undefined; activityType?: "ACTIVITY" | "RITUAL" | undefined; }, { title: string; id: string; type: "event" | "activity" | "ritual_bath"; date: string; color?: string | undefined; source?: "scheduled" | "recommendation" | undefined; time?: string | undefined; status?: string | undefined; description?: string | undefined; category?: string | undefined; imageUrl?: string | undefined; steps?: { text: string; icon?: string | undefined; }[] | undefined; activityType?: "ACTIVITY" | "RITUAL" | undefined; }>, "many">; ritualBaths: z.ZodArray; type: z.ZodEnum<["activity", "event", "ritual_bath"]>; activityType: z.ZodOptional>; color: z.ZodOptional; status: z.ZodOptional; source: z.ZodOptional>; description: z.ZodOptional; imageUrl: z.ZodOptional; category: z.ZodOptional; steps: z.ZodOptional; text: z.ZodString; }, "strip", z.ZodTypeAny, { text: string; icon?: string | undefined; }, { text: string; icon?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { title: string; id: string; type: "event" | "activity" | "ritual_bath"; date: string; color?: string | undefined; source?: "scheduled" | "recommendation" | undefined; time?: string | undefined; status?: string | undefined; description?: string | undefined; category?: string | undefined; imageUrl?: string | undefined; steps?: { text: string; icon?: string | undefined; }[] | undefined; activityType?: "ACTIVITY" | "RITUAL" | undefined; }, { title: string; id: string; type: "event" | "activity" | "ritual_bath"; date: string; color?: string | undefined; source?: "scheduled" | "recommendation" | undefined; time?: string | undefined; status?: string | undefined; description?: string | undefined; category?: string | undefined; imageUrl?: string | undefined; steps?: { text: string; icon?: string | undefined; }[] | undefined; activityType?: "ACTIVITY" | "RITUAL" | undefined; }>, "many">; showEvents: z.ZodBoolean; }, "strip", z.ZodTypeAny, { events: { title: string; id: string; type: "event" | "activity" | "ritual_bath"; date: string; color?: string | undefined; source?: "scheduled" | "recommendation" | undefined; time?: string | undefined; status?: string | undefined; description?: string | undefined; category?: string | undefined; imageUrl?: string | undefined; steps?: { text: string; icon?: string | undefined; }[] | undefined; activityType?: "ACTIVITY" | "RITUAL" | undefined; }[]; activities: { title: string; id: string; type: "event" | "activity" | "ritual_bath"; date: string; color?: string | undefined; source?: "scheduled" | "recommendation" | undefined; time?: string | undefined; status?: string | undefined; description?: string | undefined; category?: string | undefined; imageUrl?: string | undefined; steps?: { text: string; icon?: string | undefined; }[] | undefined; activityType?: "ACTIVITY" | "RITUAL" | undefined; }[]; ritualBaths: { title: string; id: string; type: "event" | "activity" | "ritual_bath"; date: string; color?: string | undefined; source?: "scheduled" | "recommendation" | undefined; time?: string | undefined; status?: string | undefined; description?: string | undefined; category?: string | undefined; imageUrl?: string | undefined; steps?: { text: string; icon?: string | undefined; }[] | undefined; activityType?: "ACTIVITY" | "RITUAL" | undefined; }[]; startDate: string; endDate: string; viewMode: "monthly" | "weekly"; showEvents: boolean; }, { events: { title: string; id: string; type: "event" | "activity" | "ritual_bath"; date: string; color?: string | undefined; source?: "scheduled" | "recommendation" | undefined; time?: string | undefined; status?: string | undefined; description?: string | undefined; category?: string | undefined; imageUrl?: string | undefined; steps?: { text: string; icon?: string | undefined; }[] | undefined; activityType?: "ACTIVITY" | "RITUAL" | undefined; }[]; activities: { title: string; id: string; type: "event" | "activity" | "ritual_bath"; date: string; color?: string | undefined; source?: "scheduled" | "recommendation" | undefined; time?: string | undefined; status?: string | undefined; description?: string | undefined; category?: string | undefined; imageUrl?: string | undefined; steps?: { text: string; icon?: string | undefined; }[] | undefined; activityType?: "ACTIVITY" | "RITUAL" | undefined; }[]; ritualBaths: { title: string; id: string; type: "event" | "activity" | "ritual_bath"; date: string; color?: string | undefined; source?: "scheduled" | "recommendation" | undefined; time?: string | undefined; status?: string | undefined; description?: string | undefined; category?: string | undefined; imageUrl?: string | undefined; steps?: { text: string; icon?: string | undefined; }[] | undefined; activityType?: "ACTIVITY" | "RITUAL" | undefined; }[]; startDate: string; endDate: string; viewMode: "monthly" | "weekly"; showEvents: boolean; }>; type HomeDashboardCalendar = z.infer; /** * Mirrors `HomePageRecentActivitySchema` (HomePage.types.ts), with the * timestamp normalized to an ISO string for the wire format instead of a * `Date` instance. */ declare const HomeDashboardRecentActivitySchema: z.ZodObject<{ id: z.ZodNumber; title: z.ZodString; type: z.ZodEnum<["event", "financial", "inventory", "member"]>; description: z.ZodString; timestamp: z.ZodString; icon: z.ZodString; }, "strip", z.ZodTypeAny, { title: string; id: number; type: "event" | "member" | "inventory" | "financial"; icon: string; description: string; timestamp: string; }, { title: string; id: number; type: "event" | "member" | "inventory" | "financial"; icon: string; description: string; timestamp: string; }>; type HomeDashboardRecentActivity = z.infer; /** * Product decision (#433): the ranking part of the summary returns ONLY the * medium's own `rank`, `totalEntries`, and `positionChange`. It must never * include the ALL_TIME leaderboard list. The points/streak/badge fields are * reused from `GamificationSummary` (components/molecules/GamificationCard) * because the HomePage gamification card needs them to render; they are * optional here since a `forbidden`/`empty` section won't send them. */ declare const HomeDashboardGamificationSchema: z.ZodObject<{ points: z.ZodOptional>; streak: z.ZodOptional; }, "strip", z.ZodTypeAny, { current: number; longest: number; lastActivityDate: string | null; }, { current: number; longest: number; lastActivityDate: string | null; }>>; totalBadges: z.ZodOptional; recentBadge: z.ZodOptional; tier: z.ZodEnum<["BRONZE", "SILVER", "GOLD", "PLATINUM", "DIAMOND"]>; earnedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "SEASONAL"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; earnedAt?: string | undefined; }, { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "SEASONAL"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; earnedAt?: string | undefined; }>>>; participationRate: z.ZodOptional; /** The medium's own rank. Never an ALL_TIME list. */ rank: z.ZodNullable; totalEntries: z.ZodNumber; positionChange: z.ZodNullable; }, "strip", z.ZodTypeAny, { rank: number | null; positionChange: number | null; totalEntries: number; points?: { monthly: number; yearly: number; weekly: number; total: number; } | undefined; streak?: { current: number; longest: number; lastActivityDate: string | null; } | undefined; recentBadge?: { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "SEASONAL"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; earnedAt?: string | undefined; } | null | undefined; totalBadges?: number | undefined; participationRate?: number | undefined; }, { rank: number | null; positionChange: number | null; totalEntries: number; points?: { monthly: number; yearly: number; weekly: number; total: number; } | undefined; streak?: { current: number; longest: number; lastActivityDate: string | null; } | undefined; recentBadge?: { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "SEASONAL"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; earnedAt?: string | undefined; } | null | undefined; totalBadges?: number | undefined; participationRate?: number | undefined; }>; type HomeDashboardGamification = z.infer; /** Structural validation for `SupplyPlanSummary` (HomePage.types.ts). */ declare const HomeDashboardSupplyPlanSchema: z.ZodNullable; demand: z.ZodObject<{ activityCount: z.ZodNumber; eventCount: z.ZodNumber; distinctItemCount: z.ZodNumber; }, "strip", z.ZodTypeAny, { activityCount: number; eventCount: number; distinctItemCount: number; }, { activityCount: number; eventCount: number; distinctItemCount: number; }>; costs: z.ZodOptional; }, "strip", z.ZodTypeAny, { totalEstimatedCost: number; itemsWithCostCount: number; itemsWithoutCostCount: number; coveragePercent: number; formatted: { totalEstimatedCost: string; }; }, { totalEstimatedCost: number; itemsWithCostCount: number; itemsWithoutCostCount: number; coveragePercent: number; formatted: { totalEstimatedCost: string; }; }>>; itemsToBuyCount: z.ZodNumber; readinessSummary: z.ZodOptional; missionsCount: z.ZodOptional; showCostMissionsTeaser: z.ZodOptional; coveragePercent: z.ZodOptional; itemsWithoutCostCount: z.ZodOptional; topItems: z.ZodArray; imageUrl: z.ZodOptional>; costSource: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { id: string; name: string; unit: string; toBuyQuantity: number; imageUrl?: string | null | undefined; estimatedCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; }, { id: string; name: string; unit: string; toBuyQuantity: number; imageUrl?: string | null | undefined; estimatedCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { stock: { totalItems: number; totalUnits: number; lowStockCount: number; outOfStockCount: number; }; demand: { activityCount: number; eventCount: number; distinctItemCount: number; }; itemsToBuyCount: number; topItems: { id: string; name: string; unit: string; toBuyQuantity: number; imageUrl?: string | null | undefined; estimatedCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; }[]; itemsWithoutCostCount?: number | undefined; coveragePercent?: number | undefined; costs?: { totalEstimatedCost: number; itemsWithCostCount: number; itemsWithoutCostCount: number; coveragePercent: number; formatted: { totalEstimatedCost: string; }; } | undefined; readinessSummary?: string | undefined; missionsCount?: number | undefined; showCostMissionsTeaser?: boolean | undefined; }, { stock: { totalItems: number; totalUnits: number; lowStockCount: number; outOfStockCount: number; }; demand: { activityCount: number; eventCount: number; distinctItemCount: number; }; itemsToBuyCount: number; topItems: { id: string; name: string; unit: string; toBuyQuantity: number; imageUrl?: string | null | undefined; estimatedCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; }[]; itemsWithoutCostCount?: number | undefined; coveragePercent?: number | undefined; costs?: { totalEstimatedCost: number; itemsWithCostCount: number; itemsWithoutCostCount: number; coveragePercent: number; formatted: { totalEstimatedCost: string; }; } | undefined; readinessSummary?: string | undefined; missionsCount?: number | undefined; showCostMissionsTeaser?: boolean | undefined; }>>; /** Structural validation for `UsageHeatmapData` (HomePage.types.ts). */ declare const HomeDashboardUsageHeatmapSchema: z.ZodNullable, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>; future: z.ZodBoolean; }, "strip", z.ZodTypeAny, { date: string; level: 0 | 2 | 1 | 3; opened: boolean; actionCount: number; future: boolean; }, { date: string; level: 0 | 2 | 1 | 3; opened: boolean; actionCount: number; future: boolean; }>, "many">; summary: z.ZodObject<{ activeDays: z.ZodNumber; streak: z.ZodNumber; actionCount: z.ZodNumber; }, "strip", z.ZodTypeAny, { streak: number; actionCount: number; activeDays: number; }, { streak: number; actionCount: number; activeDays: number; }>; }, "strip", z.ZodTypeAny, { summary: { streak: number; actionCount: number; activeDays: number; }; from: string; to: string; days: { date: string; level: 0 | 2 | 1 | 3; opened: boolean; actionCount: number; future: boolean; }[]; timezone: string; today: string; weeks: number; }, { summary: { streak: number; actionCount: number; activeDays: number; }; from: string; to: string; days: { date: string; level: 0 | 2 | 1 | 3; opened: boolean; actionCount: number; future: boolean; }[]; timezone: string; today: string; weeks: number; }>>; /** `MoonData` already has a full Zod schema (components/MoonCard); reuse it directly. */ declare const HomeDashboardMoonSchema: z.ZodNullable; moonrise: z.ZodString; moonrise_timestamp: z.ZodNumber; moonset: z.ZodString; moonset_timestamp: z.ZodNumber; next_lunar_eclipse: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; type: z.ZodString; visibility_regions: z.ZodString; }, "strip", z.ZodTypeAny, { type: string; timestamp: number; datestamp: string; visibility_regions: string; }, { type: string; timestamp: number; datestamp: string; visibility_regions: string; }>; detailed: z.ZodObject<{ position: z.ZodObject<{ altitude: z.ZodNumber; azimuth: z.ZodNumber; distance: z.ZodNumber; parallactic_angle: z.ZodNumber; phase_angle: z.ZodNumber; }, "strip", z.ZodTypeAny, { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }, { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }>; visibility: z.ZodObject<{ visible_hours: z.ZodNumber; best_viewing_time: z.ZodString; visibility_rating: z.ZodString; illumination: z.ZodString; viewing_conditions: z.ZodObject<{ phase_quality: z.ZodString; recommended_equipment: z.ZodObject<{ filters: z.ZodString; telescope: z.ZodString; best_magnification: z.ZodString; }, "strip", z.ZodTypeAny, { filters: string; telescope: string; best_magnification: string; }, { filters: string; telescope: string; best_magnification: string; }>; }, "strip", z.ZodTypeAny, { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }, { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }>; }, "strip", z.ZodTypeAny, { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }, { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }>; upcoming_phases: z.ZodObject<{ new_moon: z.ZodObject<{ last: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; next: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; }, "strip", z.ZodTypeAny, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }>; first_quarter: z.ZodObject<{ last: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; next: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; }, "strip", z.ZodTypeAny, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }>; full_moon: z.ZodObject<{ last: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; next: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; }, "strip", z.ZodTypeAny, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }>; last_quarter: z.ZodObject<{ last: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; next: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; }, "strip", z.ZodTypeAny, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }>; }, "strip", z.ZodTypeAny, { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }, { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }>; illumination_details: z.ZodObject<{ percentage: z.ZodNumber; visible_fraction: z.ZodNumber; phase_angle: z.ZodNumber; }, "strip", z.ZodTypeAny, { percentage: number; phase_angle: number; visible_fraction: number; }, { percentage: number; phase_angle: number; visible_fraction: number; }>; }, "strip", z.ZodTypeAny, { position: { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }; visibility: { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }; upcoming_phases: { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }; illumination_details: { percentage: number; phase_angle: number; visible_fraction: number; }; }, { position: { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }; visibility: { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }; upcoming_phases: { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }; illumination_details: { percentage: number; phase_angle: number; visible_fraction: number; }; }>; events: z.ZodObject<{ moonrise_visible: z.ZodBoolean; moonset_visible: z.ZodBoolean; optimal_viewing_period: z.ZodObject<{ start_time: z.ZodString; end_time: z.ZodString; duration_hours: z.ZodNumber; viewing_quality: z.ZodString; recommendations: z.ZodArray; }, "strip", z.ZodTypeAny, { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }, { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }>; }, "strip", z.ZodTypeAny, { moonrise_visible: boolean; moonset_visible: boolean; optimal_viewing_period: { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }; }, { moonrise_visible: boolean; moonset_visible: boolean; optimal_viewing_period: { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }; }>; }, "strip", z.ZodTypeAny, { emoji: string; events: { moonrise_visible: boolean; moonset_visible: boolean; optimal_viewing_period: { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }; }; illumination: string; phase: number; phase_name: string; major_phase: string; stage: string; age_days: number; lunar_cycle: string; zodiac: { sun_sign: string; moon_sign: string; }; moonrise: string; moonrise_timestamp: number; moonset: string; moonset_timestamp: number; next_lunar_eclipse: { type: string; timestamp: number; datestamp: string; visibility_regions: string; }; detailed: { position: { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }; visibility: { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }; upcoming_phases: { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }; illumination_details: { percentage: number; phase_angle: number; visible_fraction: number; }; }; }, { emoji: string; events: { moonrise_visible: boolean; moonset_visible: boolean; optimal_viewing_period: { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }; }; illumination: string; phase: number; phase_name: string; major_phase: string; stage: string; age_days: number; lunar_cycle: string; zodiac: { sun_sign: string; moon_sign: string; }; moonrise: string; moonrise_timestamp: number; moonset: string; moonset_timestamp: number; next_lunar_eclipse: { type: string; timestamp: number; datestamp: string; visibility_regions: string; }; detailed: { position: { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }; visibility: { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }; upcoming_phases: { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }; illumination_details: { percentage: number; phase_angle: number; visible_fraction: number; }; }; }>>; declare const HomeDashboardAffiliateSchema: z.ZodObject<{ shareUrl: z.ZodNullable; }, "strip", z.ZodTypeAny, { shareUrl: string | null; }, { shareUrl: string | null; }>; type HomeDashboardAffiliate = z.infer; /** * Root HomeDashboardSummary schema. * * Server-side caching (product decision #3): the API is expected to cache * this payload per (scope, terreiroId | personal, mediumId) with a TTL of * 60 seconds. This PR only documents that contract; the cache itself is * implemented server-side (ilovemacumba-api#418), not in this package. */ declare const HomeDashboardSummarySchema: z.ZodObject<{ scope: z.ZodEnum<["terreiro", "personal"]>; /** Present for `scope: "terreiro"`; absent/null for `scope: "personal"`. */ terreiroId: z.ZodOptional>; mediumId: z.ZodString; /** ISO 8601 timestamp of when the server generated this payload. */ generatedAt: z.ZodString; profile: z.ZodObject<{ firstName: z.ZodString; lastName: z.ZodString; avatarUrl: z.ZodNullable; /** * Onboarding progress flags. Shape is intentionally opaque at this stage * (no onboarding contract exists yet) so the API can evolve it without a * breaking change to this package. */ onboardingState: z.ZodRecord; }, "strip", z.ZodTypeAny, { firstName: string; lastName: string; avatarUrl: string | null; onboardingState: Record; }, { firstName: string; lastName: string; avatarUrl: string | null; onboardingState: Record; }>; medium: z.ZodObject<{ id: z.ZodString; status: z.ZodEnum<["PENDING", "APPROVED", "REJECTED"]>; rejectionMessage: z.ZodNullable; memberships: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { id: string; status: "PENDING" | "APPROVED" | "REJECTED"; rejectionMessage: string | null; memberships: Record[]; }, { id: string; status: "PENDING" | "APPROVED" | "REJECTED"; rejectionMessage: string | null; memberships: Record[]; }>; permissions: z.ZodObject<{ codes: z.ZodArray; }, "strip", z.ZodTypeAny, { codes: string[]; }, { codes: string[]; }>; notifications: z.ZodObject<{ unread: z.ZodNumber; items: z.ZodArray; imageUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; message: string; type: string; timestamp: string; read: boolean; imageUrl?: string | undefined; terreiroId?: string | undefined; }, { id: string; message: string; type: string; timestamp: string; read: boolean; imageUrl?: string | undefined; terreiroId?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { items: { id: string; message: string; type: string; timestamp: string; read: boolean; imageUrl?: string | undefined; terreiroId?: string | undefined; }[]; unread: number; }, { items: { id: string; message: string; type: string; timestamp: string; read: boolean; imageUrl?: string | undefined; terreiroId?: string | undefined; }[]; unread: number; }>; productUpdates: z.ZodObject<{ unreadCount: z.ZodNumber; highlight: z.ZodNullable>; }, "strip", z.ZodTypeAny, { unreadCount: number; highlight: Record | null; }, { unreadCount: number; highlight: Record | null; }>; weeklySummary: z.ZodOptional>; completeness: z.ZodOptional; sections: z.ZodObject<{ profile: z.ZodObject<{ complete: z.ZodBoolean; missing: z.ZodArray; percentage: z.ZodNumber; }, "strip", z.ZodTypeAny, { complete: boolean; percentage: number; missing: string[]; }, { complete: boolean; percentage: number; missing: string[]; }>; medium: z.ZodObject<{ complete: z.ZodBoolean; missing: z.ZodArray; percentage: z.ZodNumber; }, "strip", z.ZodTypeAny, { complete: boolean; percentage: number; missing: string[]; }, { complete: boolean; percentage: number; missing: string[]; }>; contact: z.ZodObject<{ complete: z.ZodBoolean; missing: z.ZodArray; percentage: z.ZodNumber; }, "strip", z.ZodTypeAny, { complete: boolean; percentage: number; missing: string[]; }, { complete: boolean; percentage: number; missing: string[]; }>; address: z.ZodObject<{ complete: z.ZodBoolean; missing: z.ZodArray; percentage: z.ZodNumber; }, "strip", z.ZodTypeAny, { complete: boolean; percentage: number; missing: string[]; }, { complete: boolean; percentage: number; missing: string[]; }>; avatar: z.ZodObject<{ complete: z.ZodBoolean; missing: z.ZodArray; percentage: z.ZodNumber; }, "strip", z.ZodTypeAny, { complete: boolean; percentage: number; missing: string[]; }, { complete: boolean; percentage: number; missing: string[]; }>; }, "strip", z.ZodTypeAny, { address: { complete: boolean; percentage: number; missing: string[]; }; medium: { complete: boolean; percentage: number; missing: string[]; }; avatar: { complete: boolean; percentage: number; missing: string[]; }; profile: { complete: boolean; percentage: number; missing: string[]; }; contact: { complete: boolean; percentage: number; missing: string[]; }; }, { address: { complete: boolean; percentage: number; missing: string[]; }; medium: { complete: boolean; percentage: number; missing: string[]; }; avatar: { complete: boolean; percentage: number; missing: string[]; }; profile: { complete: boolean; percentage: number; missing: string[]; }; contact: { complete: boolean; percentage: number; missing: string[]; }; }>; nextActions: z.ZodArray; }, "strip", z.ZodTypeAny, { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: { address: { complete: boolean; percentage: number; missing: string[]; }; medium: { complete: boolean; percentage: number; missing: string[]; }; avatar: { complete: boolean; percentage: number; missing: string[]; }; profile: { complete: boolean; percentage: number; missing: string[]; }; contact: { complete: boolean; percentage: number; missing: string[]; }; }; nextActions: string[]; }, { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: { address: { complete: boolean; percentage: number; missing: string[]; }; medium: { complete: boolean; percentage: number; missing: string[]; }; avatar: { complete: boolean; percentage: number; missing: string[]; }; profile: { complete: boolean; percentage: number; missing: string[]; }; contact: { complete: boolean; percentage: number; missing: string[]; }; }; nextActions: string[]; }>>; terreiro: z.ZodNullable; sections: z.ZodRecord; percentage: z.ZodNumber; }, "strip", z.ZodTypeAny, { complete: boolean; percentage: number; missing: string[]; }, { complete: boolean; percentage: number; missing: string[]; }>>; nextActions: z.ZodArray; }, "strip", z.ZodTypeAny, { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: Record; nextActions: string[]; }, { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: Record; nextActions: string[]; }>>; }, "strip", z.ZodTypeAny, { terreiro: { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: Record; nextActions: string[]; } | null; profile: { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: { address: { complete: boolean; percentage: number; missing: string[]; }; medium: { complete: boolean; percentage: number; missing: string[]; }; avatar: { complete: boolean; percentage: number; missing: string[]; }; profile: { complete: boolean; percentage: number; missing: string[]; }; contact: { complete: boolean; percentage: number; missing: string[]; }; }; nextActions: string[]; } | null; }, { terreiro: { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: Record; nextActions: string[]; } | null; profile: { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: { address: { complete: boolean; percentage: number; missing: string[]; }; medium: { complete: boolean; percentage: number; missing: string[]; }; avatar: { complete: boolean; percentage: number; missing: string[]; }; profile: { complete: boolean; percentage: number; missing: string[]; }; contact: { complete: boolean; percentage: number; missing: string[]; }; }; nextActions: string[]; } | null; }>>; /** Absent/null for `scope: "personal"` unless/until a personal calendar contract is defined. */ calendar: z.ZodOptional; /** ISO date (YYYY-MM-DD) */ startDate: z.ZodString; /** ISO date (YYYY-MM-DD) */ endDate: z.ZodString; activities: z.ZodArray; type: z.ZodEnum<["activity", "event", "ritual_bath"]>; activityType: z.ZodOptional>; color: z.ZodOptional; status: z.ZodOptional; source: z.ZodOptional>; description: z.ZodOptional; imageUrl: z.ZodOptional; category: z.ZodOptional; steps: z.ZodOptional; text: z.ZodString; }, "strip", z.ZodTypeAny, { text: string; icon?: string | undefined; }, { text: string; icon?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { title: string; id: string; type: "event" | "activity" | "ritual_bath"; date: string; color?: string | undefined; source?: "scheduled" | "recommendation" | undefined; time?: string | undefined; status?: string | undefined; description?: string | undefined; category?: string | undefined; imageUrl?: string | undefined; steps?: { text: string; icon?: string | undefined; }[] | undefined; activityType?: "ACTIVITY" | "RITUAL" | undefined; }, { title: string; id: string; type: "event" | "activity" | "ritual_bath"; date: string; color?: string | undefined; source?: "scheduled" | "recommendation" | undefined; time?: string | undefined; status?: string | undefined; description?: string | undefined; category?: string | undefined; imageUrl?: string | undefined; steps?: { text: string; icon?: string | undefined; }[] | undefined; activityType?: "ACTIVITY" | "RITUAL" | undefined; }>, "many">; events: z.ZodArray; type: z.ZodEnum<["activity", "event", "ritual_bath"]>; activityType: z.ZodOptional>; color: z.ZodOptional; status: z.ZodOptional; source: z.ZodOptional>; description: z.ZodOptional; imageUrl: z.ZodOptional; category: z.ZodOptional; steps: z.ZodOptional; text: z.ZodString; }, "strip", z.ZodTypeAny, { text: string; icon?: string | undefined; }, { text: string; icon?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { title: string; id: string; type: "event" | "activity" | "ritual_bath"; date: string; color?: string | undefined; source?: "scheduled" | "recommendation" | undefined; time?: string | undefined; status?: string | undefined; description?: string | undefined; category?: string | undefined; imageUrl?: string | undefined; steps?: { text: string; icon?: string | undefined; }[] | undefined; activityType?: "ACTIVITY" | "RITUAL" | undefined; }, { title: string; id: string; type: "event" | "activity" | "ritual_bath"; date: string; color?: string | undefined; source?: "scheduled" | "recommendation" | undefined; time?: string | undefined; status?: string | undefined; description?: string | undefined; category?: string | undefined; imageUrl?: string | undefined; steps?: { text: string; icon?: string | undefined; }[] | undefined; activityType?: "ACTIVITY" | "RITUAL" | undefined; }>, "many">; ritualBaths: z.ZodArray; type: z.ZodEnum<["activity", "event", "ritual_bath"]>; activityType: z.ZodOptional>; color: z.ZodOptional; status: z.ZodOptional; source: z.ZodOptional>; description: z.ZodOptional; imageUrl: z.ZodOptional; category: z.ZodOptional; steps: z.ZodOptional; text: z.ZodString; }, "strip", z.ZodTypeAny, { text: string; icon?: string | undefined; }, { text: string; icon?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { title: string; id: string; type: "event" | "activity" | "ritual_bath"; date: string; color?: string | undefined; source?: "scheduled" | "recommendation" | undefined; time?: string | undefined; status?: string | undefined; description?: string | undefined; category?: string | undefined; imageUrl?: string | undefined; steps?: { text: string; icon?: string | undefined; }[] | undefined; activityType?: "ACTIVITY" | "RITUAL" | undefined; }, { title: string; id: string; type: "event" | "activity" | "ritual_bath"; date: string; color?: string | undefined; source?: "scheduled" | "recommendation" | undefined; time?: string | undefined; status?: string | undefined; description?: string | undefined; category?: string | undefined; imageUrl?: string | undefined; steps?: { text: string; icon?: string | undefined; }[] | undefined; activityType?: "ACTIVITY" | "RITUAL" | undefined; }>, "many">; showEvents: z.ZodBoolean; }, "strip", z.ZodTypeAny, { events: { title: string; id: string; type: "event" | "activity" | "ritual_bath"; date: string; color?: string | undefined; source?: "scheduled" | "recommendation" | undefined; time?: string | undefined; status?: string | undefined; description?: string | undefined; category?: string | undefined; imageUrl?: string | undefined; steps?: { text: string; icon?: string | undefined; }[] | undefined; activityType?: "ACTIVITY" | "RITUAL" | undefined; }[]; activities: { title: string; id: string; type: "event" | "activity" | "ritual_bath"; date: string; color?: string | undefined; source?: "scheduled" | "recommendation" | undefined; time?: string | undefined; status?: string | undefined; description?: string | undefined; category?: string | undefined; imageUrl?: string | undefined; steps?: { text: string; icon?: string | undefined; }[] | undefined; activityType?: "ACTIVITY" | "RITUAL" | undefined; }[]; ritualBaths: { title: string; id: string; type: "event" | "activity" | "ritual_bath"; date: string; color?: string | undefined; source?: "scheduled" | "recommendation" | undefined; time?: string | undefined; status?: string | undefined; description?: string | undefined; category?: string | undefined; imageUrl?: string | undefined; steps?: { text: string; icon?: string | undefined; }[] | undefined; activityType?: "ACTIVITY" | "RITUAL" | undefined; }[]; startDate: string; endDate: string; viewMode: "monthly" | "weekly"; showEvents: boolean; }, { events: { title: string; id: string; type: "event" | "activity" | "ritual_bath"; date: string; color?: string | undefined; source?: "scheduled" | "recommendation" | undefined; time?: string | undefined; status?: string | undefined; description?: string | undefined; category?: string | undefined; imageUrl?: string | undefined; steps?: { text: string; icon?: string | undefined; }[] | undefined; activityType?: "ACTIVITY" | "RITUAL" | undefined; }[]; activities: { title: string; id: string; type: "event" | "activity" | "ritual_bath"; date: string; color?: string | undefined; source?: "scheduled" | "recommendation" | undefined; time?: string | undefined; status?: string | undefined; description?: string | undefined; category?: string | undefined; imageUrl?: string | undefined; steps?: { text: string; icon?: string | undefined; }[] | undefined; activityType?: "ACTIVITY" | "RITUAL" | undefined; }[]; ritualBaths: { title: string; id: string; type: "event" | "activity" | "ritual_bath"; date: string; color?: string | undefined; source?: "scheduled" | "recommendation" | undefined; time?: string | undefined; status?: string | undefined; description?: string | undefined; category?: string | undefined; imageUrl?: string | undefined; steps?: { text: string; icon?: string | undefined; }[] | undefined; activityType?: "ACTIVITY" | "RITUAL" | undefined; }[]; startDate: string; endDate: string; viewMode: "monthly" | "weekly"; showEvents: boolean; }>>>; highlights: z.ZodArray; name: z.ZodString; type: z.ZodOptional>; date: z.ZodOptional; time: z.ZodOptional; endTime: z.ZodOptional; address: z.ZodOptional; participantsCount: z.ZodOptional; status: z.ZodString; qrCheckinEnabled: z.ZodOptional>; qrReleaseOffsetMinutes: z.ZodOptional>; qrCheckinGraceMinutes: z.ZodOptional>; checkinStartWindowMinutes: z.ZodOptional>; checkinEndWindowMinutes: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string | number; status: string; name: string; address?: string | undefined; time?: string | undefined; type?: "event" | "activity" | undefined; date?: string | undefined; endTime?: string | undefined; qrCheckinEnabled?: boolean | null | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: number | null | undefined; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; participantsCount?: number | undefined; }, { id: string | number; status: string; name: string; address?: string | undefined; time?: string | undefined; type?: "event" | "activity" | undefined; date?: string | undefined; endTime?: string | undefined; qrCheckinEnabled?: boolean | null | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: number | null | undefined; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; participantsCount?: number | undefined; }>, "many">; recentActivities: z.ZodArray; description: z.ZodString; timestamp: z.ZodString; icon: z.ZodString; }, "strip", z.ZodTypeAny, { title: string; id: number; type: "event" | "member" | "inventory" | "financial"; icon: string; description: string; timestamp: string; }, { title: string; id: number; type: "event" | "member" | "inventory" | "financial"; icon: string; description: string; timestamp: string; }>, "many">; gamification: z.ZodNullable>; streak: z.ZodOptional; }, "strip", z.ZodTypeAny, { current: number; longest: number; lastActivityDate: string | null; }, { current: number; longest: number; lastActivityDate: string | null; }>>; totalBadges: z.ZodOptional; recentBadge: z.ZodOptional; tier: z.ZodEnum<["BRONZE", "SILVER", "GOLD", "PLATINUM", "DIAMOND"]>; earnedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "SEASONAL"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; earnedAt?: string | undefined; }, { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "SEASONAL"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; earnedAt?: string | undefined; }>>>; participationRate: z.ZodOptional; /** The medium's own rank. Never an ALL_TIME list. */ rank: z.ZodNullable; totalEntries: z.ZodNumber; positionChange: z.ZodNullable; }, "strip", z.ZodTypeAny, { rank: number | null; positionChange: number | null; totalEntries: number; points?: { monthly: number; yearly: number; weekly: number; total: number; } | undefined; streak?: { current: number; longest: number; lastActivityDate: string | null; } | undefined; recentBadge?: { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "SEASONAL"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; earnedAt?: string | undefined; } | null | undefined; totalBadges?: number | undefined; participationRate?: number | undefined; }, { rank: number | null; positionChange: number | null; totalEntries: number; points?: { monthly: number; yearly: number; weekly: number; total: number; } | undefined; streak?: { current: number; longest: number; lastActivityDate: string | null; } | undefined; recentBadge?: { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "SEASONAL"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; earnedAt?: string | undefined; } | null | undefined; totalBadges?: number | undefined; participationRate?: number | undefined; }>>; supplyPlan: z.ZodNullable; demand: z.ZodObject<{ activityCount: z.ZodNumber; eventCount: z.ZodNumber; distinctItemCount: z.ZodNumber; }, "strip", z.ZodTypeAny, { activityCount: number; eventCount: number; distinctItemCount: number; }, { activityCount: number; eventCount: number; distinctItemCount: number; }>; costs: z.ZodOptional; }, "strip", z.ZodTypeAny, { totalEstimatedCost: number; itemsWithCostCount: number; itemsWithoutCostCount: number; coveragePercent: number; formatted: { totalEstimatedCost: string; }; }, { totalEstimatedCost: number; itemsWithCostCount: number; itemsWithoutCostCount: number; coveragePercent: number; formatted: { totalEstimatedCost: string; }; }>>; itemsToBuyCount: z.ZodNumber; readinessSummary: z.ZodOptional; missionsCount: z.ZodOptional; showCostMissionsTeaser: z.ZodOptional; coveragePercent: z.ZodOptional; itemsWithoutCostCount: z.ZodOptional; topItems: z.ZodArray; imageUrl: z.ZodOptional>; costSource: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { id: string; name: string; unit: string; toBuyQuantity: number; imageUrl?: string | null | undefined; estimatedCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; }, { id: string; name: string; unit: string; toBuyQuantity: number; imageUrl?: string | null | undefined; estimatedCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { stock: { totalItems: number; totalUnits: number; lowStockCount: number; outOfStockCount: number; }; demand: { activityCount: number; eventCount: number; distinctItemCount: number; }; itemsToBuyCount: number; topItems: { id: string; name: string; unit: string; toBuyQuantity: number; imageUrl?: string | null | undefined; estimatedCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; }[]; itemsWithoutCostCount?: number | undefined; coveragePercent?: number | undefined; costs?: { totalEstimatedCost: number; itemsWithCostCount: number; itemsWithoutCostCount: number; coveragePercent: number; formatted: { totalEstimatedCost: string; }; } | undefined; readinessSummary?: string | undefined; missionsCount?: number | undefined; showCostMissionsTeaser?: boolean | undefined; }, { stock: { totalItems: number; totalUnits: number; lowStockCount: number; outOfStockCount: number; }; demand: { activityCount: number; eventCount: number; distinctItemCount: number; }; itemsToBuyCount: number; topItems: { id: string; name: string; unit: string; toBuyQuantity: number; imageUrl?: string | null | undefined; estimatedCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; }[]; itemsWithoutCostCount?: number | undefined; coveragePercent?: number | undefined; costs?: { totalEstimatedCost: number; itemsWithCostCount: number; itemsWithoutCostCount: number; coveragePercent: number; formatted: { totalEstimatedCost: string; }; } | undefined; readinessSummary?: string | undefined; missionsCount?: number | undefined; showCostMissionsTeaser?: boolean | undefined; }>>; usageHeatmap: z.ZodNullable, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>; future: z.ZodBoolean; }, "strip", z.ZodTypeAny, { date: string; level: 0 | 2 | 1 | 3; opened: boolean; actionCount: number; future: boolean; }, { date: string; level: 0 | 2 | 1 | 3; opened: boolean; actionCount: number; future: boolean; }>, "many">; summary: z.ZodObject<{ activeDays: z.ZodNumber; streak: z.ZodNumber; actionCount: z.ZodNumber; }, "strip", z.ZodTypeAny, { streak: number; actionCount: number; activeDays: number; }, { streak: number; actionCount: number; activeDays: number; }>; }, "strip", z.ZodTypeAny, { summary: { streak: number; actionCount: number; activeDays: number; }; from: string; to: string; days: { date: string; level: 0 | 2 | 1 | 3; opened: boolean; actionCount: number; future: boolean; }[]; timezone: string; today: string; weeks: number; }, { summary: { streak: number; actionCount: number; activeDays: number; }; from: string; to: string; days: { date: string; level: 0 | 2 | 1 | 3; opened: boolean; actionCount: number; future: boolean; }[]; timezone: string; today: string; weeks: number; }>>; moon: z.ZodNullable; moonrise: z.ZodString; moonrise_timestamp: z.ZodNumber; moonset: z.ZodString; moonset_timestamp: z.ZodNumber; next_lunar_eclipse: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; type: z.ZodString; visibility_regions: z.ZodString; }, "strip", z.ZodTypeAny, { type: string; timestamp: number; datestamp: string; visibility_regions: string; }, { type: string; timestamp: number; datestamp: string; visibility_regions: string; }>; detailed: z.ZodObject<{ position: z.ZodObject<{ altitude: z.ZodNumber; azimuth: z.ZodNumber; distance: z.ZodNumber; parallactic_angle: z.ZodNumber; phase_angle: z.ZodNumber; }, "strip", z.ZodTypeAny, { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }, { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }>; visibility: z.ZodObject<{ visible_hours: z.ZodNumber; best_viewing_time: z.ZodString; visibility_rating: z.ZodString; illumination: z.ZodString; viewing_conditions: z.ZodObject<{ phase_quality: z.ZodString; recommended_equipment: z.ZodObject<{ filters: z.ZodString; telescope: z.ZodString; best_magnification: z.ZodString; }, "strip", z.ZodTypeAny, { filters: string; telescope: string; best_magnification: string; }, { filters: string; telescope: string; best_magnification: string; }>; }, "strip", z.ZodTypeAny, { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }, { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }>; }, "strip", z.ZodTypeAny, { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }, { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }>; upcoming_phases: z.ZodObject<{ new_moon: z.ZodObject<{ last: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; next: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; }, "strip", z.ZodTypeAny, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }>; first_quarter: z.ZodObject<{ last: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; next: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; }, "strip", z.ZodTypeAny, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }>; full_moon: z.ZodObject<{ last: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; next: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; }, "strip", z.ZodTypeAny, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }>; last_quarter: z.ZodObject<{ last: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; next: z.ZodObject<{ timestamp: z.ZodNumber; datestamp: z.ZodString; days_ago: z.ZodOptional; days_ahead: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }, { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }>; }, "strip", z.ZodTypeAny, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }, { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }>; }, "strip", z.ZodTypeAny, { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }, { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }>; illumination_details: z.ZodObject<{ percentage: z.ZodNumber; visible_fraction: z.ZodNumber; phase_angle: z.ZodNumber; }, "strip", z.ZodTypeAny, { percentage: number; phase_angle: number; visible_fraction: number; }, { percentage: number; phase_angle: number; visible_fraction: number; }>; }, "strip", z.ZodTypeAny, { position: { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }; visibility: { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }; upcoming_phases: { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }; illumination_details: { percentage: number; phase_angle: number; visible_fraction: number; }; }, { position: { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }; visibility: { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }; upcoming_phases: { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }; illumination_details: { percentage: number; phase_angle: number; visible_fraction: number; }; }>; events: z.ZodObject<{ moonrise_visible: z.ZodBoolean; moonset_visible: z.ZodBoolean; optimal_viewing_period: z.ZodObject<{ start_time: z.ZodString; end_time: z.ZodString; duration_hours: z.ZodNumber; viewing_quality: z.ZodString; recommendations: z.ZodArray; }, "strip", z.ZodTypeAny, { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }, { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }>; }, "strip", z.ZodTypeAny, { moonrise_visible: boolean; moonset_visible: boolean; optimal_viewing_period: { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }; }, { moonrise_visible: boolean; moonset_visible: boolean; optimal_viewing_period: { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }; }>; }, "strip", z.ZodTypeAny, { emoji: string; events: { moonrise_visible: boolean; moonset_visible: boolean; optimal_viewing_period: { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }; }; illumination: string; phase: number; phase_name: string; major_phase: string; stage: string; age_days: number; lunar_cycle: string; zodiac: { sun_sign: string; moon_sign: string; }; moonrise: string; moonrise_timestamp: number; moonset: string; moonset_timestamp: number; next_lunar_eclipse: { type: string; timestamp: number; datestamp: string; visibility_regions: string; }; detailed: { position: { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }; visibility: { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }; upcoming_phases: { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }; illumination_details: { percentage: number; phase_angle: number; visible_fraction: number; }; }; }, { emoji: string; events: { moonrise_visible: boolean; moonset_visible: boolean; optimal_viewing_period: { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }; }; illumination: string; phase: number; phase_name: string; major_phase: string; stage: string; age_days: number; lunar_cycle: string; zodiac: { sun_sign: string; moon_sign: string; }; moonrise: string; moonrise_timestamp: number; moonset: string; moonset_timestamp: number; next_lunar_eclipse: { type: string; timestamp: number; datestamp: string; visibility_regions: string; }; detailed: { position: { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }; visibility: { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }; upcoming_phases: { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }; illumination_details: { percentage: number; phase_angle: number; visible_fraction: number; }; }; }>>; affiliate: z.ZodOptional; }, "strip", z.ZodTypeAny, { shareUrl: string | null; }, { shareUrl: string | null; }>>; sections: z.ZodRecord>; }, "strip", z.ZodTypeAny, { medium: { id: string; status: "PENDING" | "APPROVED" | "REJECTED"; rejectionMessage: string | null; memberships: Record[]; }; scope: "terreiro" | "personal"; profile: { firstName: string; lastName: string; avatarUrl: string | null; onboardingState: Record; }; mediumId: string; sections: Record; permissions: { codes: string[]; }; moon: { emoji: string; events: { moonrise_visible: boolean; moonset_visible: boolean; optimal_viewing_period: { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }; }; illumination: string; phase: number; phase_name: string; major_phase: string; stage: string; age_days: number; lunar_cycle: string; zodiac: { sun_sign: string; moon_sign: string; }; moonrise: string; moonrise_timestamp: number; moonset: string; moonset_timestamp: number; next_lunar_eclipse: { type: string; timestamp: number; datestamp: string; visibility_regions: string; }; detailed: { position: { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }; visibility: { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }; upcoming_phases: { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }; illumination_details: { percentage: number; phase_angle: number; visible_fraction: number; }; }; } | null; highlights: { id: string | number; status: string; name: string; address?: string | undefined; time?: string | undefined; type?: "event" | "activity" | undefined; date?: string | undefined; endTime?: string | undefined; qrCheckinEnabled?: boolean | null | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: number | null | undefined; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; participantsCount?: number | undefined; }[]; notifications: { items: { id: string; message: string; type: string; timestamp: string; read: boolean; imageUrl?: string | undefined; terreiroId?: string | undefined; }[]; unread: number; }; usageHeatmap: { summary: { streak: number; actionCount: number; activeDays: number; }; from: string; to: string; days: { date: string; level: 0 | 2 | 1 | 3; opened: boolean; actionCount: number; future: boolean; }[]; timezone: string; today: string; weeks: number; } | null; gamification: { rank: number | null; positionChange: number | null; totalEntries: number; points?: { monthly: number; yearly: number; weekly: number; total: number; } | undefined; streak?: { current: number; longest: number; lastActivityDate: string | null; } | undefined; recentBadge?: { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "SEASONAL"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; earnedAt?: string | undefined; } | null | undefined; totalBadges?: number | undefined; participationRate?: number | undefined; } | null; supplyPlan: { stock: { totalItems: number; totalUnits: number; lowStockCount: number; outOfStockCount: number; }; demand: { activityCount: number; eventCount: number; distinctItemCount: number; }; itemsToBuyCount: number; topItems: { id: string; name: string; unit: string; toBuyQuantity: number; imageUrl?: string | null | undefined; estimatedCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; }[]; itemsWithoutCostCount?: number | undefined; coveragePercent?: number | undefined; costs?: { totalEstimatedCost: number; itemsWithCostCount: number; itemsWithoutCostCount: number; coveragePercent: number; formatted: { totalEstimatedCost: string; }; } | undefined; readinessSummary?: string | undefined; missionsCount?: number | undefined; showCostMissionsTeaser?: boolean | undefined; } | null; recentActivities: { title: string; id: number; type: "event" | "member" | "inventory" | "financial"; icon: string; description: string; timestamp: string; }[]; generatedAt: string; productUpdates: { unreadCount: number; highlight: Record | null; }; terreiroId?: string | null | undefined; calendar?: { events: { title: string; id: string; type: "event" | "activity" | "ritual_bath"; date: string; color?: string | undefined; source?: "scheduled" | "recommendation" | undefined; time?: string | undefined; status?: string | undefined; description?: string | undefined; category?: string | undefined; imageUrl?: string | undefined; steps?: { text: string; icon?: string | undefined; }[] | undefined; activityType?: "ACTIVITY" | "RITUAL" | undefined; }[]; activities: { title: string; id: string; type: "event" | "activity" | "ritual_bath"; date: string; color?: string | undefined; source?: "scheduled" | "recommendation" | undefined; time?: string | undefined; status?: string | undefined; description?: string | undefined; category?: string | undefined; imageUrl?: string | undefined; steps?: { text: string; icon?: string | undefined; }[] | undefined; activityType?: "ACTIVITY" | "RITUAL" | undefined; }[]; ritualBaths: { title: string; id: string; type: "event" | "activity" | "ritual_bath"; date: string; color?: string | undefined; source?: "scheduled" | "recommendation" | undefined; time?: string | undefined; status?: string | undefined; description?: string | undefined; category?: string | undefined; imageUrl?: string | undefined; steps?: { text: string; icon?: string | undefined; }[] | undefined; activityType?: "ACTIVITY" | "RITUAL" | undefined; }[]; startDate: string; endDate: string; viewMode: "monthly" | "weekly"; showEvents: boolean; } | null | undefined; weeklySummary?: { weekStart: string; createdEventWeek: boolean; createdActivityWeek: boolean; rsvpWeek: boolean; presenceWeek: boolean; financeActedWeek: boolean; } | undefined; completeness?: { terreiro: { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: Record; nextActions: string[]; } | null; profile: { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: { address: { complete: boolean; percentage: number; missing: string[]; }; medium: { complete: boolean; percentage: number; missing: string[]; }; avatar: { complete: boolean; percentage: number; missing: string[]; }; profile: { complete: boolean; percentage: number; missing: string[]; }; contact: { complete: boolean; percentage: number; missing: string[]; }; }; nextActions: string[]; } | null; } | undefined; affiliate?: { shareUrl: string | null; } | undefined; }, { medium: { id: string; status: "PENDING" | "APPROVED" | "REJECTED"; rejectionMessage: string | null; memberships: Record[]; }; scope: "terreiro" | "personal"; profile: { firstName: string; lastName: string; avatarUrl: string | null; onboardingState: Record; }; mediumId: string; sections: Record; permissions: { codes: string[]; }; moon: { emoji: string; events: { moonrise_visible: boolean; moonset_visible: boolean; optimal_viewing_period: { start_time: string; end_time: string; duration_hours: number; viewing_quality: string; recommendations: string[]; }; }; illumination: string; phase: number; phase_name: string; major_phase: string; stage: string; age_days: number; lunar_cycle: string; zodiac: { sun_sign: string; moon_sign: string; }; moonrise: string; moonrise_timestamp: number; moonset: string; moonset_timestamp: number; next_lunar_eclipse: { type: string; timestamp: number; datestamp: string; visibility_regions: string; }; detailed: { position: { azimuth: number; altitude: number; distance: number; parallactic_angle: number; phase_angle: number; }; visibility: { visible_hours: number; best_viewing_time: string; visibility_rating: string; illumination: string; viewing_conditions: { phase_quality: string; recommended_equipment: { filters: string; telescope: string; best_magnification: string; }; }; }; upcoming_phases: { new_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; first_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; full_moon: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; last_quarter: { next: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; last: { timestamp: number; datestamp: string; name?: string | undefined; description?: string | undefined; days_ago?: number | undefined; days_ahead?: number | undefined; }; }; }; illumination_details: { percentage: number; phase_angle: number; visible_fraction: number; }; }; } | null; highlights: { id: string | number; status: string; name: string; address?: string | undefined; time?: string | undefined; type?: "event" | "activity" | undefined; date?: string | undefined; endTime?: string | undefined; qrCheckinEnabled?: boolean | null | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: number | null | undefined; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; participantsCount?: number | undefined; }[]; notifications: { items: { id: string; message: string; type: string; timestamp: string; read: boolean; imageUrl?: string | undefined; terreiroId?: string | undefined; }[]; unread: number; }; usageHeatmap: { summary: { streak: number; actionCount: number; activeDays: number; }; from: string; to: string; days: { date: string; level: 0 | 2 | 1 | 3; opened: boolean; actionCount: number; future: boolean; }[]; timezone: string; today: string; weeks: number; } | null; gamification: { rank: number | null; positionChange: number | null; totalEntries: number; points?: { monthly: number; yearly: number; weekly: number; total: number; } | undefined; streak?: { current: number; longest: number; lastActivityDate: string | null; } | undefined; recentBadge?: { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "SEASONAL"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; earnedAt?: string | undefined; } | null | undefined; totalBadges?: number | undefined; participationRate?: number | undefined; } | null; supplyPlan: { stock: { totalItems: number; totalUnits: number; lowStockCount: number; outOfStockCount: number; }; demand: { activityCount: number; eventCount: number; distinctItemCount: number; }; itemsToBuyCount: number; topItems: { id: string; name: string; unit: string; toBuyQuantity: number; imageUrl?: string | null | undefined; estimatedCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; }[]; itemsWithoutCostCount?: number | undefined; coveragePercent?: number | undefined; costs?: { totalEstimatedCost: number; itemsWithCostCount: number; itemsWithoutCostCount: number; coveragePercent: number; formatted: { totalEstimatedCost: string; }; } | undefined; readinessSummary?: string | undefined; missionsCount?: number | undefined; showCostMissionsTeaser?: boolean | undefined; } | null; recentActivities: { title: string; id: number; type: "event" | "member" | "inventory" | "financial"; icon: string; description: string; timestamp: string; }[]; generatedAt: string; productUpdates: { unreadCount: number; highlight: Record | null; }; terreiroId?: string | null | undefined; calendar?: { events: { title: string; id: string; type: "event" | "activity" | "ritual_bath"; date: string; color?: string | undefined; source?: "scheduled" | "recommendation" | undefined; time?: string | undefined; status?: string | undefined; description?: string | undefined; category?: string | undefined; imageUrl?: string | undefined; steps?: { text: string; icon?: string | undefined; }[] | undefined; activityType?: "ACTIVITY" | "RITUAL" | undefined; }[]; activities: { title: string; id: string; type: "event" | "activity" | "ritual_bath"; date: string; color?: string | undefined; source?: "scheduled" | "recommendation" | undefined; time?: string | undefined; status?: string | undefined; description?: string | undefined; category?: string | undefined; imageUrl?: string | undefined; steps?: { text: string; icon?: string | undefined; }[] | undefined; activityType?: "ACTIVITY" | "RITUAL" | undefined; }[]; ritualBaths: { title: string; id: string; type: "event" | "activity" | "ritual_bath"; date: string; color?: string | undefined; source?: "scheduled" | "recommendation" | undefined; time?: string | undefined; status?: string | undefined; description?: string | undefined; category?: string | undefined; imageUrl?: string | undefined; steps?: { text: string; icon?: string | undefined; }[] | undefined; activityType?: "ACTIVITY" | "RITUAL" | undefined; }[]; startDate: string; endDate: string; viewMode: "monthly" | "weekly"; showEvents: boolean; } | null | undefined; weeklySummary?: { weekStart: string; createdEventWeek: boolean; createdActivityWeek: boolean; rsvpWeek: boolean; presenceWeek: boolean; financeActedWeek: boolean; } | undefined; completeness?: { terreiro: { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: Record; nextActions: string[]; } | null; profile: { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: { address: { complete: boolean; percentage: number; missing: string[]; }; medium: { complete: boolean; percentage: number; missing: string[]; }; avatar: { complete: boolean; percentage: number; missing: string[]; }; profile: { complete: boolean; percentage: number; missing: string[]; }; contact: { complete: boolean; percentage: number; missing: string[]; }; }; nextActions: string[]; } | null; } | undefined; affiliate?: { shareUrl: string | null; } | undefined; }>; type HomeDashboardSummary = z.infer; /** Convenience alias for a section id key used in `sections`. Not exhaustive — the API may add new ids. */ type HomeDashboardSectionId = "profile" | "medium" | "permissions" | "notifications" | "productUpdates" | "weeklySummary" | "completeness" | "calendar" | "highlights" | "recentActivities" | "gamification" | "supplyPlan" | "usageHeatmap" | "moon" | "affiliate"; /** * Subset of `HomePageProps["user"]["profile"]` the dashboard summary can * currently populate. `documentType`/`document`/`address`/`contact`/`medium` * are not part of the HomeDashboardSummary contract (Fase 1-2) and are left * to whatever already sets them in the app layer. */ interface HomeDashboardMappedUserProfile { firstName: string; lastName: string; avatarUrl: string; } /** * Result of `mapHomeDashboardSummaryToHomePageProps`. * * This is a named result type rather than `Partial` because * `user.profile` on `HomePageProps` requires fields (documentType, document, * ...) that the HomeDashboardSummary contract does not carry yet; narrowing * just that nested shape keeps the rest of the props aligned with * `HomePageProps` so spreading the result onto `HomePage` stays type-safe. */ type HomeDashboardSummaryMappedProps = Omit, "user" | "profileCompletenessData" | "terreiroCompletenessData"> & { user?: { profile: HomeDashboardMappedUserProfile; }; profileCompletenessData?: ProfileCompletenessData | null; terreiroCompletenessData?: CompletenessData | null; }; /** * Raw weekly engagement flags for the app layer to turn into `WeeklyTask[]`. * * The flags on `HomeDashboardSummary.weeklySummary` (createdEventWeek, * rsvpWeek, ...) don't map cleanly onto `WeeklyTask[]` without inventing * Portuguese CTA copy and routes, which this contract does not own. This * helper is a documented passthrough so the mapper doesn't silently drop the * data; the app (or a later Fase 3 PR) is responsible for turning it into * `weeklyTasks`. */ declare function getHomeDashboardWeeklySummaryFlags(summary: HomeDashboardSummary): HomeDashboardWeeklySummary | undefined; /** * Maps a `HomeDashboardSummary` (components#433 / ilovemacumba-api#418) onto * the subset of `HomePageProps` it can populate. * * This mapper is pure and has no side effects. As of Fase 1-2, nothing in * the app calls it yet — it exists so the contract and its translation layer * ship ahead of the endpoint and the app wiring (Fase 3+). */ declare function mapHomeDashboardSummaryToHomePageProps(summary: HomeDashboardSummary): HomeDashboardSummaryMappedProps; declare const DAILY_MESSAGE_POOL: string[]; /** * HomePage Mock Data * * This file provides mock data for testing and development of the HomePage component. * Import these mocks in your consumer application or Storybook stories. * * @example * ```tsx * import { mockHomePageProps, mockCalendarActivities, mockCalendarEvents, mockCalendarRitualBaths } from './HomePage.mocks'; * * * ``` */ /** * Get a date string relative to today * @param daysOffset - Number of days from today (negative for past, positive for future) */ declare const getDateString: (daysOffset: number) => string; /** * Status color mapping used in the calendar * Use these colors to maintain consistency in your UI * Re-exported from shared utility for backwards compatibility */ declare const STATUS_COLORS: Record; /** * Mock calendar activities with all status types * Includes: CONFIRMED, PENDING, IN_PROGRESS, FINALIZED, CANCELLED, MODEL */ declare const mockCalendarActivities: CalendarItem[]; /** * Mock calendar events with all status types * Includes: CONFIRMED, PENDING, IN_PROGRESS, FINALIZED, CANCELLED, MODEL */ declare const mockCalendarEvents: CalendarItem[]; /** * Scheduled and moon-phase ritual baths for the home calendar. * - `source: "scheduled"` — explicit occurrence from RitualBathOccurrence (terreiro or personal) * - `source: "recommendation"` — daily suggestion from moon-phase matching (personal profile) */ declare const mockCalendarRitualBaths: CalendarItem[]; declare const mockUser: { profile: { firstName: string; lastName: string; birthDate: string; avatarUrl: string; documentType: "CPF"; document: string; address: { id: string; street: string; number: string; complement: string; neighborhood: string; city: string; state: string; zipCode: string; country: string; }; contact: { phone: string; contact_person: string; }; }; }; declare const mockTerreiros: Terreiro[]; declare const mockQuickActions: QuickAction[]; declare const mockUpcomingEvents: EventItem[]; declare const mockRituals: Ritual[]; declare const mockMoonData: MoonData; /** * Complete mock props for HomePage component * Ready to use in consumer applications or Storybook */ declare const mockHomePageProps: Partial; /** * Mock props for medium user (non-admin) */ declare const mockMediumHomePageProps: Partial; /** * Mock props for pending medium */ declare const mockPendingMediumHomePageProps: Partial; /** * Mock props with loading states */ declare const mockLoadingHomePageProps: Partial; declare const AttendanceInsightsPeriodSchema: z.ZodEnum<["WEEKLY", "MONTHLY", "YEARLY"]>; type AttendanceInsightsPeriod = z.infer; declare const AttendanceInsightsMediumSchema: z.ZodObject<{ mediumId: z.ZodString; mediumName: z.ZodString; mediumAvatarUrl: z.ZodOptional>; invites: z.ZodNumber; confirmed: z.ZodNumber; present: z.ZodNumber; absent: z.ZodNumber; declined: z.ZodNumber; confirmationRate: z.ZodNumber; presenceRate: z.ZodNumber; absenceGap: z.ZodNumber; }, "strip", z.ZodTypeAny, { mediumId: string; mediumName: string; invites: number; confirmed: number; present: number; absent: number; declined: number; confirmationRate: number; presenceRate: number; absenceGap: number; mediumAvatarUrl?: string | null | undefined; }, { mediumId: string; mediumName: string; invites: number; confirmed: number; present: number; absent: number; declined: number; confirmationRate: number; presenceRate: number; absenceGap: number; mediumAvatarUrl?: string | null | undefined; }>; type AttendanceInsightsMedium = z.infer; declare const AttendanceInsightsDataSchema: z.ZodObject<{ terreiroId: z.ZodString; period: z.ZodObject<{ month: z.ZodNumber; year: z.ZodNumber; start: z.ZodString; end: z.ZodString; }, "strip", z.ZodTypeAny, { end: string; month: number; start: string; year: number; }, { end: string; month: number; start: string; year: number; }>; summary: z.ZodObject<{ invites: z.ZodNumber; confirmed: z.ZodNumber; present: z.ZodNumber; absent: z.ZodNumber; declined: z.ZodNumber; confirmationRate: z.ZodNumber; presenceRate: z.ZodNumber; absenceGap: z.ZodNumber; }, "strip", z.ZodTypeAny, { invites: number; confirmed: number; present: number; absent: number; declined: number; confirmationRate: number; presenceRate: number; absenceGap: number; }, { invites: number; confirmed: number; present: number; absent: number; declined: number; confirmationRate: number; presenceRate: number; absenceGap: number; }>; mediums: z.ZodArray>; invites: z.ZodNumber; confirmed: z.ZodNumber; present: z.ZodNumber; absent: z.ZodNumber; declined: z.ZodNumber; confirmationRate: z.ZodNumber; presenceRate: z.ZodNumber; absenceGap: z.ZodNumber; }, "strip", z.ZodTypeAny, { mediumId: string; mediumName: string; invites: number; confirmed: number; present: number; absent: number; declined: number; confirmationRate: number; presenceRate: number; absenceGap: number; mediumAvatarUrl?: string | null | undefined; }, { mediumId: string; mediumName: string; invites: number; confirmed: number; present: number; absent: number; declined: number; confirmationRate: number; presenceRate: number; absenceGap: number; mediumAvatarUrl?: string | null | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { summary: { invites: number; confirmed: number; present: number; absent: number; declined: number; confirmationRate: number; presenceRate: number; absenceGap: number; }; mediums: { mediumId: string; mediumName: string; invites: number; confirmed: number; present: number; absent: number; declined: number; confirmationRate: number; presenceRate: number; absenceGap: number; mediumAvatarUrl?: string | null | undefined; }[]; terreiroId: string; period: { end: string; month: number; start: string; year: number; }; }, { summary: { invites: number; confirmed: number; present: number; absent: number; declined: number; confirmationRate: number; presenceRate: number; absenceGap: number; }; mediums: { mediumId: string; mediumName: string; invites: number; confirmed: number; present: number; absent: number; declined: number; confirmationRate: number; presenceRate: number; absenceGap: number; mediumAvatarUrl?: string | null | undefined; }[]; terreiroId: string; period: { end: string; month: number; start: string; year: number; }; }>; type AttendanceInsightsData = z.infer; declare const AttendanceInsightsPagePropsSchema: z.ZodObject<{ hasSelectedTerreiro: z.ZodDefault; period: z.ZodEnum<["WEEKLY", "MONTHLY", "YEARLY"]>; data: z.ZodOptional; summary: z.ZodObject<{ invites: z.ZodNumber; confirmed: z.ZodNumber; present: z.ZodNumber; absent: z.ZodNumber; declined: z.ZodNumber; confirmationRate: z.ZodNumber; presenceRate: z.ZodNumber; absenceGap: z.ZodNumber; }, "strip", z.ZodTypeAny, { invites: number; confirmed: number; present: number; absent: number; declined: number; confirmationRate: number; presenceRate: number; absenceGap: number; }, { invites: number; confirmed: number; present: number; absent: number; declined: number; confirmationRate: number; presenceRate: number; absenceGap: number; }>; mediums: z.ZodArray>; invites: z.ZodNumber; confirmed: z.ZodNumber; present: z.ZodNumber; absent: z.ZodNumber; declined: z.ZodNumber; confirmationRate: z.ZodNumber; presenceRate: z.ZodNumber; absenceGap: z.ZodNumber; }, "strip", z.ZodTypeAny, { mediumId: string; mediumName: string; invites: number; confirmed: number; present: number; absent: number; declined: number; confirmationRate: number; presenceRate: number; absenceGap: number; mediumAvatarUrl?: string | null | undefined; }, { mediumId: string; mediumName: string; invites: number; confirmed: number; present: number; absent: number; declined: number; confirmationRate: number; presenceRate: number; absenceGap: number; mediumAvatarUrl?: string | null | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { summary: { invites: number; confirmed: number; present: number; absent: number; declined: number; confirmationRate: number; presenceRate: number; absenceGap: number; }; mediums: { mediumId: string; mediumName: string; invites: number; confirmed: number; present: number; absent: number; declined: number; confirmationRate: number; presenceRate: number; absenceGap: number; mediumAvatarUrl?: string | null | undefined; }[]; terreiroId: string; period: { end: string; month: number; start: string; year: number; }; }, { summary: { invites: number; confirmed: number; present: number; absent: number; declined: number; confirmationRate: number; presenceRate: number; absenceGap: number; }; mediums: { mediumId: string; mediumName: string; invites: number; confirmed: number; present: number; absent: number; declined: number; confirmationRate: number; presenceRate: number; absenceGap: number; mediumAvatarUrl?: string | null | undefined; }[]; terreiroId: string; period: { end: string; month: number; start: string; year: number; }; }>>>; isLoading: z.ZodDefault; isError: z.ZodDefault; onBack: z.ZodOptional, z.ZodVoid>>; onRetry: z.ZodOptional, z.ZodVoid>>; onPeriodChange: z.ZodOptional], null>, z.ZodVoid>>; }, "strip", z.ZodTypeAny, { isLoading: boolean; period: "WEEKLY" | "MONTHLY" | "YEARLY"; isError: boolean; hasSelectedTerreiro: boolean; data?: { summary: { invites: number; confirmed: number; present: number; absent: number; declined: number; confirmationRate: number; presenceRate: number; absenceGap: number; }; mediums: { mediumId: string; mediumName: string; invites: number; confirmed: number; present: number; absent: number; declined: number; confirmationRate: number; presenceRate: number; absenceGap: number; mediumAvatarUrl?: string | null | undefined; }[]; terreiroId: string; period: { end: string; month: number; start: string; year: number; }; } | null | undefined; onBack?: (() => void) | undefined; onRetry?: (() => void) | undefined; onPeriodChange?: ((args_0: "WEEKLY" | "MONTHLY" | "YEARLY") => void) | undefined; }, { period: "WEEKLY" | "MONTHLY" | "YEARLY"; data?: { summary: { invites: number; confirmed: number; present: number; absent: number; declined: number; confirmationRate: number; presenceRate: number; absenceGap: number; }; mediums: { mediumId: string; mediumName: string; invites: number; confirmed: number; present: number; absent: number; declined: number; confirmationRate: number; presenceRate: number; absenceGap: number; mediumAvatarUrl?: string | null | undefined; }[]; terreiroId: string; period: { end: string; month: number; start: string; year: number; }; } | null | undefined; onBack?: (() => void) | undefined; onRetry?: (() => void) | undefined; isLoading?: boolean | undefined; onPeriodChange?: ((args_0: "WEEKLY" | "MONTHLY" | "YEARLY") => void) | undefined; isError?: boolean | undefined; hasSelectedTerreiro?: boolean | undefined; }>; type AttendanceInsightsPageProps = z.infer; declare const AttendanceInsightsPage: React__default.FC; declare const useAttendanceInsightsPage: (props: AttendanceInsightsPageProps) => { data: { search: string; searchTerm: string; sortBy: "confirmed" | "present" | "confirmationRate" | "presenceRate"; filteredMediums: { mediumId: string; mediumName: string; invites: number; confirmed: number; present: number; absent: number; declined: number; confirmationRate: number; presenceRate: number; absenceGap: number; mediumAvatarUrl?: string | null | undefined; }[]; }; fns: { setSearch: React$1.Dispatch>; setSortBy: React$1.Dispatch>; handlePeriodChange: ((args_0: "WEEKLY" | "MONTHLY" | "YEARLY") => void) | undefined; handleRetry: (() => void) | undefined; handleBack: (() => void) | undefined; }; }; declare enum InventoryUnit { UNIDADE = "UNIDADE", PACOTE = "PACOTE", CAIXA = "CAIXA", LITRO = "LITRO", ML = "ML", GRAMA = "GRAMA", KG = "KG", METRO = "METRO", ROLO = "ROLO", FRASCO = "FRASCO", SACO = "SACO", PAR = "PAR", DÚZIA = "D\u00DAZIA", GALÃO = "GAL\u00C3O", POTE = "POTE", VIDRO = "VIDRO", CARTELA = "CARTELA", FOLHA = "FOLHA", TUBO = "TUBO", BARRA = "BARRA", BALDE = "BALDE", OUTRO = "OUTRO" } declare const InventoryItemFormValuesSchema: z.ZodObject<{ name: z.ZodString; category: z.ZodString; subcategory: z.ZodOptional; quantity: z.ZodNumber; minimumQuantity: z.ZodNumber; unit: z.ZodNativeEnum; description: z.ZodOptional; location: z.ZodString; imageUrl: z.ZodOptional; consumable: z.ZodDefault; estimatedUnitCost: z.ZodOptional; file: z.ZodEffects>, File | undefined, File | undefined>, File | undefined, File | undefined>; }, "strip", z.ZodTypeAny, { name: string; location: string; category: string; unit: InventoryUnit; quantity: number; minimumQuantity: number; consumable: boolean; file?: File | undefined; description?: string | undefined; imageUrl?: string | undefined; estimatedUnitCost?: number | undefined; subcategory?: string | undefined; }, { name: string; location: string; category: string; unit: InventoryUnit; quantity: number; minimumQuantity: number; file?: File | undefined; description?: string | undefined; imageUrl?: string | undefined; estimatedUnitCost?: number | undefined; subcategory?: string | undefined; consumable?: boolean | undefined; }>; type InventoryItemFormValues = z.infer; type InventoryCostHint = { lastPurchase?: { unitCost: number; date: string; formattedDate: string; formattedUnitCost: string; }; categoryRange?: { min: number; max: number; sampleCount: number; formattedMin: string; formattedMax: string; }; }; interface InventoryItemOnboardingPageProps { initialData?: InventoryItemFormValues; categories?: string[]; knownLocations?: string[]; costHint?: InventoryCostHint | null; costHintItemId?: string; onRequestCostHint?: (params: { category: string; itemId?: string; }) => void; onComplete?: (data: InventoryItemFormValues) => void; onCancel?: () => void; onStepChange?: (step: number) => void; isLoading?: boolean; error?: string; } declare const InventoryItemOnboardingPage: React__default.FC; declare const InventoryItemFormSchema: z.ZodObject<{ name: z.ZodString; category: z.ZodString; quantity: z.ZodNumber; minimumQuantity: z.ZodNumber; description: z.ZodOptional; imageUrl: z.ZodUnion<[z.ZodOptional, z.ZodLiteral<"">]>; location: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; category: string; quantity: number; minimumQuantity: number; location?: string | undefined; description?: string | undefined; imageUrl?: string | undefined; }, { name: string; category: string; quantity: number; minimumQuantity: number; location?: string | undefined; description?: string | undefined; imageUrl?: string | undefined; }>; type InventoryItemForm = z.infer; declare const InventoryListItemPagePropsSchema: z.ZodObject<{ itemId: z.ZodOptional; initialItem: z.ZodOptional; category: z.ZodNullable; subcategory: z.ZodNullable; quantity: z.ZodNumber; unit: z.ZodString; minimumQuantity: z.ZodNumber; imageUrl: z.ZodNullable; location: z.ZodString; status: z.ZodEnum<["IN_STOCK", "LOW_STOCK", "OUT_OF_STOCK", "RESERVED", "IN_USE", "MAINTENANCE", "DAMAGED", "LOST", "RESTOCKING", "CHECKED_OUT", "DECOMMISSIONED", "OTHER"]>; condition: z.ZodEnum<["NEW", "USED", "DAMAGED"]>; item: z.ZodObject<{ id: z.ZodString; category: z.ZodObject<{ id: z.ZodString; name: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; }, { id: string; name: string; }>; }, "strip", z.ZodTypeAny, { id: string; category: { id: string; name: string; }; }, { id: string; category: { id: string; name: string; }; }>; createdAt: z.ZodString; updatedAt: z.ZodString; isTemplate: z.ZodDefault; }, "strip", z.ZodTypeAny, { id: string; status: "OTHER" | "RESERVED" | "IN_STOCK" | "LOW_STOCK" | "OUT_OF_STOCK" | "IN_USE" | "MAINTENANCE" | "DAMAGED" | "LOST" | "RESTOCKING" | "CHECKED_OUT" | "DECOMMISSIONED"; name: string; location: string; item: { id: string; category: { id: string; name: string; }; }; description: string; updatedAt: string; category: string | null; imageUrl: string | null; unit: string; createdAt: string; quantity: number; subcategory: string | null; isTemplate: boolean; minimumQuantity: number; consumable: boolean; condition: "DAMAGED" | "NEW" | "USED"; }, { id: string; status: "OTHER" | "RESERVED" | "IN_STOCK" | "LOW_STOCK" | "OUT_OF_STOCK" | "IN_USE" | "MAINTENANCE" | "DAMAGED" | "LOST" | "RESTOCKING" | "CHECKED_OUT" | "DECOMMISSIONED"; name: string; location: string; item: { id: string; category: { id: string; name: string; }; }; description: string; updatedAt: string; category: string | null; imageUrl: string | null; unit: string; createdAt: string; quantity: number; subcategory: string | null; minimumQuantity: number; condition: "DAMAGED" | "NEW" | "USED"; isTemplate?: boolean | undefined; consumable?: boolean | undefined; }>>; onSave: z.ZodFunction; category: z.ZodNullable; subcategory: z.ZodNullable; quantity: z.ZodNumber; unit: z.ZodString; minimumQuantity: z.ZodNumber; imageUrl: z.ZodNullable; location: z.ZodString; status: z.ZodEnum<["IN_STOCK", "LOW_STOCK", "OUT_OF_STOCK", "RESERVED", "IN_USE", "MAINTENANCE", "DAMAGED", "LOST", "RESTOCKING", "CHECKED_OUT", "DECOMMISSIONED", "OTHER"]>; condition: z.ZodEnum<["NEW", "USED", "DAMAGED"]>; item: z.ZodObject<{ id: z.ZodString; category: z.ZodObject<{ id: z.ZodString; name: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; }, { id: string; name: string; }>; }, "strip", z.ZodTypeAny, { id: string; category: { id: string; name: string; }; }, { id: string; category: { id: string; name: string; }; }>; createdAt: z.ZodString; updatedAt: z.ZodString; isTemplate: z.ZodDefault; }, "strip", z.ZodTypeAny, { id: string; status: "OTHER" | "RESERVED" | "IN_STOCK" | "LOW_STOCK" | "OUT_OF_STOCK" | "IN_USE" | "MAINTENANCE" | "DAMAGED" | "LOST" | "RESTOCKING" | "CHECKED_OUT" | "DECOMMISSIONED"; name: string; location: string; item: { id: string; category: { id: string; name: string; }; }; description: string; updatedAt: string; category: string | null; imageUrl: string | null; unit: string; createdAt: string; quantity: number; subcategory: string | null; isTemplate: boolean; minimumQuantity: number; consumable: boolean; condition: "DAMAGED" | "NEW" | "USED"; }, { id: string; status: "OTHER" | "RESERVED" | "IN_STOCK" | "LOW_STOCK" | "OUT_OF_STOCK" | "IN_USE" | "MAINTENANCE" | "DAMAGED" | "LOST" | "RESTOCKING" | "CHECKED_OUT" | "DECOMMISSIONED"; name: string; location: string; item: { id: string; category: { id: string; name: string; }; }; description: string; updatedAt: string; category: string | null; imageUrl: string | null; unit: string; createdAt: string; quantity: number; subcategory: string | null; minimumQuantity: number; condition: "DAMAGED" | "NEW" | "USED"; isTemplate?: boolean | undefined; consumable?: boolean | undefined; }>], null>, z.ZodVoid>; onCancel: z.ZodFunction, z.ZodVoid>; onDelete: z.ZodOptional, z.ZodVoid>>; isEditing: z.ZodDefault; isLoading: z.ZodDefault; }, "strip", z.ZodTypeAny, { isLoading: boolean; onCancel: () => void; isEditing: boolean; onSave: (args_0: { id: string; status: "OTHER" | "RESERVED" | "IN_STOCK" | "LOW_STOCK" | "OUT_OF_STOCK" | "IN_USE" | "MAINTENANCE" | "DAMAGED" | "LOST" | "RESTOCKING" | "CHECKED_OUT" | "DECOMMISSIONED"; name: string; location: string; item: { id: string; category: { id: string; name: string; }; }; description: string; updatedAt: string; category: string | null; imageUrl: string | null; unit: string; createdAt: string; quantity: number; subcategory: string | null; minimumQuantity: number; condition: "DAMAGED" | "NEW" | "USED"; isTemplate?: boolean | undefined; consumable?: boolean | undefined; }) => void; onDelete?: ((args_0: number) => void) | undefined; itemId?: number | undefined; initialItem?: { id: string; status: "OTHER" | "RESERVED" | "IN_STOCK" | "LOW_STOCK" | "OUT_OF_STOCK" | "IN_USE" | "MAINTENANCE" | "DAMAGED" | "LOST" | "RESTOCKING" | "CHECKED_OUT" | "DECOMMISSIONED"; name: string; location: string; item: { id: string; category: { id: string; name: string; }; }; description: string; updatedAt: string; category: string | null; imageUrl: string | null; unit: string; createdAt: string; quantity: number; subcategory: string | null; isTemplate: boolean; minimumQuantity: number; consumable: boolean; condition: "DAMAGED" | "NEW" | "USED"; } | undefined; }, { onCancel: () => void; onSave: (args_0: { id: string; status: "OTHER" | "RESERVED" | "IN_STOCK" | "LOW_STOCK" | "OUT_OF_STOCK" | "IN_USE" | "MAINTENANCE" | "DAMAGED" | "LOST" | "RESTOCKING" | "CHECKED_OUT" | "DECOMMISSIONED"; name: string; location: string; item: { id: string; category: { id: string; name: string; }; }; description: string; updatedAt: string; category: string | null; imageUrl: string | null; unit: string; createdAt: string; quantity: number; subcategory: string | null; isTemplate: boolean; minimumQuantity: number; consumable: boolean; condition: "DAMAGED" | "NEW" | "USED"; }) => void; onDelete?: ((args_0: number) => void) | undefined; isLoading?: boolean | undefined; isEditing?: boolean | undefined; itemId?: number | undefined; initialItem?: { id: string; status: "OTHER" | "RESERVED" | "IN_STOCK" | "LOW_STOCK" | "OUT_OF_STOCK" | "IN_USE" | "MAINTENANCE" | "DAMAGED" | "LOST" | "RESTOCKING" | "CHECKED_OUT" | "DECOMMISSIONED"; name: string; location: string; item: { id: string; category: { id: string; name: string; }; }; description: string; updatedAt: string; category: string | null; imageUrl: string | null; unit: string; createdAt: string; quantity: number; subcategory: string | null; minimumQuantity: number; condition: "DAMAGED" | "NEW" | "USED"; isTemplate?: boolean | undefined; consumable?: boolean | undefined; } | undefined; }>; type InventoryListItemPageProps = z.infer; declare const InventoryListItemPage: React__default.FC; declare const useInventoryListItemPage: (props: InventoryListItemPageProps) => { data: { formValues: { name: string; category: string; quantity: number; minimumQuantity: number; location?: string | undefined; description?: string | undefined; imageUrl?: string | undefined; }; errors: Partial>; isSubmitting: boolean; showDeleteConfirm: boolean; isFormValid: boolean; hasChanges: boolean; categories: string[]; currentStatus: string; fileInputRef: React$1.RefObject; isEditing: boolean; isLoading: boolean; }; fns: { handleInputChange: (field: keyof InventoryItemForm, value: string | number) => void; handleSubmit: () => Promise; handleCancel: () => void; handleDelete: () => void; handleShowDeleteConfirm: () => void; handleHideDeleteConfirm: () => void; handleImageSelect: () => void; handleImageChange: (event: React.ChangeEvent) => void; }; }; declare const InventoryItemSchema$1: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; consumable: z.ZodDefault; category: z.ZodNullable; subcategory: z.ZodNullable; quantity: z.ZodNumber; unit: z.ZodString; minimumQuantity: z.ZodNumber; imageUrl: z.ZodNullable; location: z.ZodString; status: z.ZodEnum<["IN_STOCK", "LOW_STOCK", "OUT_OF_STOCK", "RESERVED", "IN_USE", "MAINTENANCE", "DAMAGED", "LOST", "RESTOCKING", "CHECKED_OUT", "DECOMMISSIONED", "OTHER"]>; condition: z.ZodEnum<["NEW", "USED", "DAMAGED"]>; item: z.ZodObject<{ id: z.ZodString; category: z.ZodObject<{ id: z.ZodString; name: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; }, { id: string; name: string; }>; }, "strip", z.ZodTypeAny, { id: string; category: { id: string; name: string; }; }, { id: string; category: { id: string; name: string; }; }>; createdAt: z.ZodString; updatedAt: z.ZodString; isTemplate: z.ZodDefault; }, "strip", z.ZodTypeAny, { id: string; status: "OTHER" | "RESERVED" | "IN_STOCK" | "LOW_STOCK" | "OUT_OF_STOCK" | "IN_USE" | "MAINTENANCE" | "DAMAGED" | "LOST" | "RESTOCKING" | "CHECKED_OUT" | "DECOMMISSIONED"; name: string; location: string; item: { id: string; category: { id: string; name: string; }; }; description: string; updatedAt: string; category: string | null; imageUrl: string | null; unit: string; createdAt: string; quantity: number; subcategory: string | null; isTemplate: boolean; minimumQuantity: number; consumable: boolean; condition: "DAMAGED" | "NEW" | "USED"; }, { id: string; status: "OTHER" | "RESERVED" | "IN_STOCK" | "LOW_STOCK" | "OUT_OF_STOCK" | "IN_USE" | "MAINTENANCE" | "DAMAGED" | "LOST" | "RESTOCKING" | "CHECKED_OUT" | "DECOMMISSIONED"; name: string; location: string; item: { id: string; category: { id: string; name: string; }; }; description: string; updatedAt: string; category: string | null; imageUrl: string | null; unit: string; createdAt: string; quantity: number; subcategory: string | null; minimumQuantity: number; condition: "DAMAGED" | "NEW" | "USED"; isTemplate?: boolean | undefined; consumable?: boolean | undefined; }>; type InventoryItem$1 = z.infer; type InventoryCreatedAtSort$1 = "createdAt_desc" | "createdAt_asc"; type InventoryStockAvailabilityStatus = "IN_STOCK" | "LOW_STOCK" | "OUT_OF_STOCK"; declare const InventoryListPagePropsSchema: z.ZodObject<{ onBack: z.ZodOptional, z.ZodVoid>>; onItemSelect: z.ZodOptional, z.ZodVoid>>; onItemEdit: z.ZodOptional, z.ZodVoid>>; onItemAdd: z.ZodOptional, z.ZodVoid>>; initialSearchTerm: z.ZodOptional; initialStatusFilter: z.ZodOptional>; initialCreatedAtSort: z.ZodOptional>; onSearchTermChange: z.ZodOptional, z.ZodVoid>>; onStatusFilterChange: z.ZodOptional], null>, z.ZodVoid>>; onCreatedAtSortChange: z.ZodOptional], null>, z.ZodVoid>>; initialItems: z.ZodOptional; category: z.ZodNullable; subcategory: z.ZodNullable; quantity: z.ZodNumber; unit: z.ZodString; minimumQuantity: z.ZodNumber; imageUrl: z.ZodNullable; location: z.ZodString; status: z.ZodEnum<["IN_STOCK", "LOW_STOCK", "OUT_OF_STOCK", "RESERVED", "IN_USE", "MAINTENANCE", "DAMAGED", "LOST", "RESTOCKING", "CHECKED_OUT", "DECOMMISSIONED", "OTHER"]>; condition: z.ZodEnum<["NEW", "USED", "DAMAGED"]>; item: z.ZodObject<{ id: z.ZodString; category: z.ZodObject<{ id: z.ZodString; name: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; }, { id: string; name: string; }>; }, "strip", z.ZodTypeAny, { id: string; category: { id: string; name: string; }; }, { id: string; category: { id: string; name: string; }; }>; createdAt: z.ZodString; updatedAt: z.ZodString; isTemplate: z.ZodDefault; }, "strip", z.ZodTypeAny, { id: string; status: "OTHER" | "RESERVED" | "IN_STOCK" | "LOW_STOCK" | "OUT_OF_STOCK" | "IN_USE" | "MAINTENANCE" | "DAMAGED" | "LOST" | "RESTOCKING" | "CHECKED_OUT" | "DECOMMISSIONED"; name: string; location: string; item: { id: string; category: { id: string; name: string; }; }; description: string; updatedAt: string; category: string | null; imageUrl: string | null; unit: string; createdAt: string; quantity: number; subcategory: string | null; isTemplate: boolean; minimumQuantity: number; consumable: boolean; condition: "DAMAGED" | "NEW" | "USED"; }, { id: string; status: "OTHER" | "RESERVED" | "IN_STOCK" | "LOW_STOCK" | "OUT_OF_STOCK" | "IN_USE" | "MAINTENANCE" | "DAMAGED" | "LOST" | "RESTOCKING" | "CHECKED_OUT" | "DECOMMISSIONED"; name: string; location: string; item: { id: string; category: { id: string; name: string; }; }; description: string; updatedAt: string; category: string | null; imageUrl: string | null; unit: string; createdAt: string; quantity: number; subcategory: string | null; minimumQuantity: number; condition: "DAMAGED" | "NEW" | "USED"; isTemplate?: boolean | undefined; consumable?: boolean | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { onBack?: (() => void) | undefined; onStatusFilterChange?: ((args_0: "all" | "IN_STOCK" | "LOW_STOCK" | "OUT_OF_STOCK") => void) | undefined; onItemSelect?: ((args_0: string) => void) | undefined; onItemEdit?: ((args_0: string) => void) | undefined; onItemAdd?: (() => void) | undefined; initialSearchTerm?: string | undefined; initialStatusFilter?: "all" | "IN_STOCK" | "LOW_STOCK" | "OUT_OF_STOCK" | undefined; initialCreatedAtSort?: "createdAt_desc" | "createdAt_asc" | undefined; onSearchTermChange?: ((args_0: string) => void) | undefined; onCreatedAtSortChange?: ((args_0: "createdAt_desc" | "createdAt_asc") => void) | undefined; initialItems?: { id: string; status: "OTHER" | "RESERVED" | "IN_STOCK" | "LOW_STOCK" | "OUT_OF_STOCK" | "IN_USE" | "MAINTENANCE" | "DAMAGED" | "LOST" | "RESTOCKING" | "CHECKED_OUT" | "DECOMMISSIONED"; name: string; location: string; item: { id: string; category: { id: string; name: string; }; }; description: string; updatedAt: string; category: string | null; imageUrl: string | null; unit: string; createdAt: string; quantity: number; subcategory: string | null; isTemplate: boolean; minimumQuantity: number; consumable: boolean; condition: "DAMAGED" | "NEW" | "USED"; }[] | undefined; }, { onBack?: (() => void) | undefined; onStatusFilterChange?: ((args_0: "all" | "IN_STOCK" | "LOW_STOCK" | "OUT_OF_STOCK") => void) | undefined; onItemSelect?: ((args_0: string) => void) | undefined; onItemEdit?: ((args_0: string) => void) | undefined; onItemAdd?: (() => void) | undefined; initialSearchTerm?: string | undefined; initialStatusFilter?: "all" | "IN_STOCK" | "LOW_STOCK" | "OUT_OF_STOCK" | undefined; initialCreatedAtSort?: "createdAt_desc" | "createdAt_asc" | undefined; onSearchTermChange?: ((args_0: string) => void) | undefined; onCreatedAtSortChange?: ((args_0: "createdAt_desc" | "createdAt_asc") => void) | undefined; initialItems?: { id: string; status: "OTHER" | "RESERVED" | "IN_STOCK" | "LOW_STOCK" | "OUT_OF_STOCK" | "IN_USE" | "MAINTENANCE" | "DAMAGED" | "LOST" | "RESTOCKING" | "CHECKED_OUT" | "DECOMMISSIONED"; name: string; location: string; item: { id: string; category: { id: string; name: string; }; }; description: string; updatedAt: string; category: string | null; imageUrl: string | null; unit: string; createdAt: string; quantity: number; subcategory: string | null; minimumQuantity: number; condition: "DAMAGED" | "NEW" | "USED"; isTemplate?: boolean | undefined; consumable?: boolean | undefined; }[] | undefined; }>; type InventoryListPageProps = z.infer; declare const InventoryListPage: React__default.FC; declare const useInventoryListPage: (props: InventoryListPageProps) => { data: { searchTerm: string; isLoading: boolean; items: { id: string; status: "OTHER" | "RESERVED" | "IN_STOCK" | "LOW_STOCK" | "OUT_OF_STOCK" | "IN_USE" | "MAINTENANCE" | "DAMAGED" | "LOST" | "RESTOCKING" | "CHECKED_OUT" | "DECOMMISSIONED"; name: string; location: string; item: { id: string; category: { id: string; name: string; }; }; description: string; updatedAt: string; category: string | null; imageUrl: string | null; unit: string; createdAt: string; quantity: number; subcategory: string | null; isTemplate: boolean; minimumQuantity: number; consumable: boolean; condition: "DAMAGED" | "NEW" | "USED"; }[]; selectedStatus: "all" | InventoryStockAvailabilityStatus; availableStatuses: readonly ["all", "IN_STOCK", "LOW_STOCK", "OUT_OF_STOCK"]; createdAtSort: InventoryCreatedAtSort$1; stockCounts: Record; hasActiveFilters: boolean; activeFilterCount: number; isFilterDrawerOpen: boolean; canAdd: boolean; }; fns: { handleSearchChange: (value: string) => void; handleStatusChange: (status: InventoryStockAvailabilityStatus | "all") => void; handleCreatedAtSortChange: (sort: InventoryCreatedAtSort$1) => void; handleItemSelect: (itemId: string) => void; handleItemEdit: (itemId: string) => void; handleAddItem: () => void; handleBack: () => void; handleClearFilters: () => void; handleToggleFilterDrawer: () => void; handleCloseFilterDrawer: () => void; }; }; declare const _default$4: React__default.NamedExoticComponent<{ item: { id: string; status: "IN_STOCK" | "LOW_STOCK" | "OUT_OF_STOCK"; name: string; location: string; description: string; category: string; imageUrl: string | null; unit: string; quantity: number; subcategory: string; isTemplate: boolean; minimumQuantity: number; consumable: boolean; condition: string | null; estimatedUnitCost?: number | null | undefined; }; isPersonalProfile: boolean; canDelete: boolean; onDelete?: ((args_0: string, ...args: unknown[]) => void) | undefined; usage?: { events: { id: string; name: string; quantity: number; nextDate?: string | undefined; }[]; activities: { id: string; name: string; quantity: number; nextDate?: string | undefined; }[]; } | undefined; onBack?: ((...args: unknown[]) => void) | undefined; onEdit?: ((args_0: string, ...args: unknown[]) => void) | undefined; movements?: { id: string; type: "ENTRY" | "EXIT" | "ADJUSTMENT"; reason: string | null; createdAt: string; createdByUserId: string | null; quantity: number; inventoryItemId: string; previousQuantity: number; resultingQuantity: number; occurredAt: string; outcomeId: string | null; }[] | undefined; lastPurchase?: { label: string; outcomeId?: string | undefined; } | undefined; pendingReceipts?: { id: string; quantity: number; }[] | undefined; onOpenActivity?: ((args_0: string, ...args: unknown[]) => void) | undefined; onOpenEvent?: ((args_0: string, ...args: unknown[]) => void) | undefined; onOpenPurchase?: ((args_0: string, ...args: unknown[]) => void) | undefined; onReceiveStock?: ((args_0: string, ...args: unknown[]) => void) | undefined; onRegisterEntry?: ((args_0: string, ...args: unknown[]) => void) | undefined; onRegisterExit?: ((args_0: string, ...args: unknown[]) => void) | undefined; }>; declare const InventoryItemSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; category: z.ZodString; subcategory: z.ZodString; consumable: z.ZodDefault; description: z.ZodString; quantity: z.ZodNumber; minimumQuantity: z.ZodNumber; unit: z.ZodString; location: z.ZodString; status: z.ZodEnum<["IN_STOCK", "LOW_STOCK", "OUT_OF_STOCK"]>; condition: z.ZodNullable; imageUrl: z.ZodNullable; isTemplate: z.ZodDefault; estimatedUnitCost: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; status: "IN_STOCK" | "LOW_STOCK" | "OUT_OF_STOCK"; name: string; location: string; description: string; category: string; imageUrl: string | null; unit: string; quantity: number; subcategory: string; isTemplate: boolean; minimumQuantity: number; consumable: boolean; condition: string | null; estimatedUnitCost?: number | null | undefined; }, { id: string; status: "IN_STOCK" | "LOW_STOCK" | "OUT_OF_STOCK"; name: string; location: string; description: string; category: string; imageUrl: string | null; unit: string; quantity: number; subcategory: string; minimumQuantity: number; condition: string | null; estimatedUnitCost?: number | null | undefined; isTemplate?: boolean | undefined; consumable?: boolean | undefined; }>; type InventoryItem = z.infer; declare const InventoryMovementSchema: z.ZodObject<{ id: z.ZodString; inventoryItemId: z.ZodString; type: z.ZodEnum<["ENTRY", "EXIT", "ADJUSTMENT"]>; quantity: z.ZodNumber; previousQuantity: z.ZodNumber; resultingQuantity: z.ZodNumber; reason: z.ZodNullable; occurredAt: z.ZodString; createdByUserId: z.ZodNullable; outcomeId: z.ZodNullable; createdAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; type: "ENTRY" | "EXIT" | "ADJUSTMENT"; reason: string | null; createdAt: string; createdByUserId: string | null; quantity: number; inventoryItemId: string; previousQuantity: number; resultingQuantity: number; occurredAt: string; outcomeId: string | null; }, { id: string; type: "ENTRY" | "EXIT" | "ADJUSTMENT"; reason: string | null; createdAt: string; createdByUserId: string | null; quantity: number; inventoryItemId: string; previousQuantity: number; resultingQuantity: number; occurredAt: string; outcomeId: string | null; }>; type InventoryMovement = z.infer; declare const InventoryMovementHistorySchema: z.ZodObject<{ page: z.ZodNumber; pageSize: z.ZodNumber; total: z.ZodNumber; items: z.ZodArray; quantity: z.ZodNumber; previousQuantity: z.ZodNumber; resultingQuantity: z.ZodNumber; reason: z.ZodNullable; occurredAt: z.ZodString; createdByUserId: z.ZodNullable; outcomeId: z.ZodNullable; createdAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; type: "ENTRY" | "EXIT" | "ADJUSTMENT"; reason: string | null; createdAt: string; createdByUserId: string | null; quantity: number; inventoryItemId: string; previousQuantity: number; resultingQuantity: number; occurredAt: string; outcomeId: string | null; }, { id: string; type: "ENTRY" | "EXIT" | "ADJUSTMENT"; reason: string | null; createdAt: string; createdByUserId: string | null; quantity: number; inventoryItemId: string; previousQuantity: number; resultingQuantity: number; occurredAt: string; outcomeId: string | null; }>, "many">; }, "strip", z.ZodTypeAny, { page: number; items: { id: string; type: "ENTRY" | "EXIT" | "ADJUSTMENT"; reason: string | null; createdAt: string; createdByUserId: string | null; quantity: number; inventoryItemId: string; previousQuantity: number; resultingQuantity: number; occurredAt: string; outcomeId: string | null; }[]; pageSize: number; total: number; }, { page: number; items: { id: string; type: "ENTRY" | "EXIT" | "ADJUSTMENT"; reason: string | null; createdAt: string; createdByUserId: string | null; quantity: number; inventoryItemId: string; previousQuantity: number; resultingQuantity: number; occurredAt: string; outcomeId: string | null; }[]; pageSize: number; total: number; }>; type InventoryMovementHistory = z.infer; declare const RegisterInventoryMovementInputSchema: z.ZodObject<{ quantity: z.ZodNumber; occurredAt: z.ZodOptional; reason: z.ZodOptional; }, "strip", z.ZodTypeAny, { quantity: number; reason?: string | undefined; occurredAt?: string | undefined; }, { quantity: number; reason?: string | undefined; occurredAt?: string | undefined; }>; type RegisterInventoryMovementInput = z.infer; declare const InventoryItemDetailPropsSchema: z.ZodObject<{ item: z.ZodObject<{ id: z.ZodString; name: z.ZodString; category: z.ZodString; subcategory: z.ZodString; consumable: z.ZodDefault; description: z.ZodString; quantity: z.ZodNumber; minimumQuantity: z.ZodNumber; unit: z.ZodString; location: z.ZodString; status: z.ZodEnum<["IN_STOCK", "LOW_STOCK", "OUT_OF_STOCK"]>; condition: z.ZodNullable; imageUrl: z.ZodNullable; isTemplate: z.ZodDefault; estimatedUnitCost: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; status: "IN_STOCK" | "LOW_STOCK" | "OUT_OF_STOCK"; name: string; location: string; description: string; category: string; imageUrl: string | null; unit: string; quantity: number; subcategory: string; isTemplate: boolean; minimumQuantity: number; consumable: boolean; condition: string | null; estimatedUnitCost?: number | null | undefined; }, { id: string; status: "IN_STOCK" | "LOW_STOCK" | "OUT_OF_STOCK"; name: string; location: string; description: string; category: string; imageUrl: string | null; unit: string; quantity: number; subcategory: string; minimumQuantity: number; condition: string | null; estimatedUnitCost?: number | null | undefined; isTemplate?: boolean | undefined; consumable?: boolean | undefined; }>; onEdit: z.ZodOptional, z.ZodVoid>>; onBack: z.ZodOptional, z.ZodVoid>>; onDelete: z.ZodOptional, z.ZodVoid>>; canDelete: z.ZodDefault; isPersonalProfile: z.ZodDefault; usage: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; name: string; quantity: number; nextDate?: string | undefined; }, { id: string; name: string; quantity: number; nextDate?: string | undefined; }>, "many">; events: z.ZodArray; }, "strip", z.ZodTypeAny, { id: string; name: string; quantity: number; nextDate?: string | undefined; }, { id: string; name: string; quantity: number; nextDate?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { events: { id: string; name: string; quantity: number; nextDate?: string | undefined; }[]; activities: { id: string; name: string; quantity: number; nextDate?: string | undefined; }[]; }, { events: { id: string; name: string; quantity: number; nextDate?: string | undefined; }[]; activities: { id: string; name: string; quantity: number; nextDate?: string | undefined; }[]; }>>; lastPurchase: z.ZodOptional; }, "strip", z.ZodTypeAny, { label: string; outcomeId?: string | undefined; }, { label: string; outcomeId?: string | undefined; }>>; pendingReceipts: z.ZodOptional, "many">>; onOpenActivity: z.ZodOptional, z.ZodVoid>>; onOpenEvent: z.ZodOptional, z.ZodVoid>>; onOpenPurchase: z.ZodOptional, z.ZodVoid>>; onReceiveStock: z.ZodOptional, z.ZodVoid>>; movements: z.ZodOptional; quantity: z.ZodNumber; previousQuantity: z.ZodNumber; resultingQuantity: z.ZodNumber; reason: z.ZodNullable; occurredAt: z.ZodString; createdByUserId: z.ZodNullable; outcomeId: z.ZodNullable; createdAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; type: "ENTRY" | "EXIT" | "ADJUSTMENT"; reason: string | null; createdAt: string; createdByUserId: string | null; quantity: number; inventoryItemId: string; previousQuantity: number; resultingQuantity: number; occurredAt: string; outcomeId: string | null; }, { id: string; type: "ENTRY" | "EXIT" | "ADJUSTMENT"; reason: string | null; createdAt: string; createdByUserId: string | null; quantity: number; inventoryItemId: string; previousQuantity: number; resultingQuantity: number; occurredAt: string; outcomeId: string | null; }>, "many">>; onRegisterEntry: z.ZodOptional, z.ZodVoid>>; onRegisterExit: z.ZodOptional, z.ZodVoid>>; }, "strip", z.ZodTypeAny, { item: { id: string; status: "IN_STOCK" | "LOW_STOCK" | "OUT_OF_STOCK"; name: string; location: string; description: string; category: string; imageUrl: string | null; unit: string; quantity: number; subcategory: string; isTemplate: boolean; minimumQuantity: number; consumable: boolean; condition: string | null; estimatedUnitCost?: number | null | undefined; }; isPersonalProfile: boolean; canDelete: boolean; onDelete?: ((args_0: string, ...args: unknown[]) => void) | undefined; usage?: { events: { id: string; name: string; quantity: number; nextDate?: string | undefined; }[]; activities: { id: string; name: string; quantity: number; nextDate?: string | undefined; }[]; } | undefined; onBack?: ((...args: unknown[]) => void) | undefined; onEdit?: ((args_0: string, ...args: unknown[]) => void) | undefined; movements?: { id: string; type: "ENTRY" | "EXIT" | "ADJUSTMENT"; reason: string | null; createdAt: string; createdByUserId: string | null; quantity: number; inventoryItemId: string; previousQuantity: number; resultingQuantity: number; occurredAt: string; outcomeId: string | null; }[] | undefined; lastPurchase?: { label: string; outcomeId?: string | undefined; } | undefined; pendingReceipts?: { id: string; quantity: number; }[] | undefined; onOpenActivity?: ((args_0: string, ...args: unknown[]) => void) | undefined; onOpenEvent?: ((args_0: string, ...args: unknown[]) => void) | undefined; onOpenPurchase?: ((args_0: string, ...args: unknown[]) => void) | undefined; onReceiveStock?: ((args_0: string, ...args: unknown[]) => void) | undefined; onRegisterEntry?: ((args_0: string, ...args: unknown[]) => void) | undefined; onRegisterExit?: ((args_0: string, ...args: unknown[]) => void) | undefined; }, { item: { id: string; status: "IN_STOCK" | "LOW_STOCK" | "OUT_OF_STOCK"; name: string; location: string; description: string; category: string; imageUrl: string | null; unit: string; quantity: number; subcategory: string; minimumQuantity: number; condition: string | null; estimatedUnitCost?: number | null | undefined; isTemplate?: boolean | undefined; consumable?: boolean | undefined; }; onDelete?: ((args_0: string, ...args: unknown[]) => void) | undefined; usage?: { events: { id: string; name: string; quantity: number; nextDate?: string | undefined; }[]; activities: { id: string; name: string; quantity: number; nextDate?: string | undefined; }[]; } | undefined; onBack?: ((...args: unknown[]) => void) | undefined; isPersonalProfile?: boolean | undefined; onEdit?: ((args_0: string, ...args: unknown[]) => void) | undefined; movements?: { id: string; type: "ENTRY" | "EXIT" | "ADJUSTMENT"; reason: string | null; createdAt: string; createdByUserId: string | null; quantity: number; inventoryItemId: string; previousQuantity: number; resultingQuantity: number; occurredAt: string; outcomeId: string | null; }[] | undefined; lastPurchase?: { label: string; outcomeId?: string | undefined; } | undefined; canDelete?: boolean | undefined; pendingReceipts?: { id: string; quantity: number; }[] | undefined; onOpenActivity?: ((args_0: string, ...args: unknown[]) => void) | undefined; onOpenEvent?: ((args_0: string, ...args: unknown[]) => void) | undefined; onOpenPurchase?: ((args_0: string, ...args: unknown[]) => void) | undefined; onReceiveStock?: ((args_0: string, ...args: unknown[]) => void) | undefined; onRegisterEntry?: ((args_0: string, ...args: unknown[]) => void) | undefined; onRegisterExit?: ((args_0: string, ...args: unknown[]) => void) | undefined; }>; type InventoryItemDetailProps = z.infer; type InventoryTab = "home" | "list" | "supply" | "categories"; type InventoryAppShellProps = { activeTab: InventoryTab; showBottomNav?: boolean; onExit?: () => void; onNavigateHome?: () => void; onNavigateList?: () => void; onNavigateSupply?: () => void; onNavigateCategories?: () => void; children: ReactNode; }; declare const InventoryAppShell: React__default.FC; declare const INVENTORY_BOTTOM_NAV_CLEARANCE: number; type InventoryBottomNavProps = { activeTab: InventoryTab; onNavigateHome?: () => void; onNavigateList?: () => void; onNavigateSupply?: () => void; onNavigateCategories?: () => void; }; declare const InventoryBottomNav: React__default.FC; type InventoryPendingReceipt = { id: string; itemId: string; name: string; imageUrl?: string | null; quantity: number; }; type InventoryUnavailableItem = { id: string; name: string; imageUrl?: string | null; status?: string | null; condition?: string | null; }; type InventoryUnavailableRow = { id: string; name: string; imageUrl?: string | null; label: string; }; type InventoryRitualSource = { id: string; toBuyQuantity: number; sources?: { activities?: Array<{ id: string; title: string; nextDate?: string; }>; events?: Array<{ id: string; name: string; nextDate?: string; }>; }; }; type InventoryRitualShortfall = { id: string; kind: "activity" | "event"; name: string; date?: string; missingItemCount: number; }; declare const selectUnavailableInventoryItems: (items: InventoryUnavailableItem[]) => InventoryUnavailableRow[]; declare const groupInventoryRitualShortfalls: (items: InventoryRitualSource[]) => InventoryRitualShortfall[]; type InventoryPanelPageProps = { summary?: SupplyPlanSummary$1 | null; isLoading?: boolean; isPersonalProfile?: boolean; pendingReceipts?: InventoryPendingReceipt[]; unavailableItems?: InventoryUnavailableRow[]; ritualShortfalls?: InventoryRitualShortfall[]; onViewSupply?: () => void; onViewMissions?: () => void; onSelectItem?: (itemId: string) => void; onSelectActivity?: (activityId: string) => void; onSelectEvent?: (eventId: string) => void; onAdd?: () => void; }; declare const InventoryPanelPage: React__default.FC; type InventoryDirectoryItem = { id: string; name: string; quantity: number; unit: string; location?: string | null; category?: string | null; status?: string | null; createdAt?: string; imageUrl?: string | null; }; type InventoryAvailabilityFilter = "all" | "IN_STOCK" | "LOW_STOCK" | "OUT_OF_STOCK"; type InventoryCreatedAtSort = "createdAt_desc" | "createdAt_asc"; declare const UNCATEGORIZED_LABEL = "Sem categoria"; declare const formatInventoryQuantity: (quantity: number, unit: string) => string; declare const inventoryRowDetail: (item: InventoryDirectoryItem) => string; declare const availabilityCounts: (items: InventoryDirectoryItem[]) => { inStock: number; lowStock: number; outOfStock: number; }; declare const filterInventoryItems: (items: InventoryDirectoryItem[], options: { search: string; status: InventoryAvailabilityFilter; sort: InventoryCreatedAtSort; }) => InventoryDirectoryItem[]; type InventoryCategoryGroup = { name: string; items: InventoryDirectoryItem[]; }; declare const groupInventoryByCategory: (items: InventoryDirectoryItem[], search: string) => InventoryCategoryGroup[]; type InventoryItemsPageProps = { items: InventoryDirectoryItem[]; isLoading?: boolean; initialSearchTerm?: string; initialStatus?: InventoryAvailabilityFilter; initialSort?: InventoryCreatedAtSort; onSearchTermChange?: (value: string) => void; onStatusChange?: (value: InventoryAvailabilityFilter) => void; onSortChange?: (value: InventoryCreatedAtSort) => void; onSelectItem: (itemId: string) => void; onAdd?: () => void; }; declare const InventoryItemsPage: React__default.FC; type InventoryCategoriesPageProps = { items: InventoryDirectoryItem[]; isLoading?: boolean; onSelectItem: (itemId: string) => void; onAdd?: () => void; }; declare const InventoryCategoriesPage: React__default.FC; declare const SupplyPlanSourceActivitySchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; quantity: z.ZodNumber; nextDate: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; quantity: number; nextDate?: string | undefined; }, { title: string; id: string; quantity: number; nextDate?: string | undefined; }>; declare const SupplyPlanSourceEventSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; quantity: z.ZodNumber; nextDate: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; name: string; quantity: number; nextDate?: string | undefined; }, { id: string; name: string; quantity: number; nextDate?: string | undefined; }>; declare const UnitCostMetaSchema: z.ZodObject<{ outcomeId: z.ZodOptional; purchaseDate: z.ZodOptional; formattedPurchaseDate: z.ZodOptional; }, "strip", z.ZodTypeAny, { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; }, { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; }>; declare const SupplyPlanItemSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; category: z.ZodString; unit: z.ZodString; consumable: z.ZodBoolean; onHand: z.ZodNumber; minimumQuantity: z.ZodNumber; committedQuantity: z.ZodNumber; reservedQuantity: z.ZodNumber; toBuyQuantity: z.ZodNumber; imageUrl: z.ZodOptional>; unitCost: z.ZodOptional; costSource: z.ZodOptional>>; unitCostMeta: z.ZodOptional; purchaseDate: z.ZodOptional; formattedPurchaseDate: z.ZodOptional; }, "strip", z.ZodTypeAny, { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; }, { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; }>>; estimatedCost: z.ZodOptional; sources: z.ZodObject<{ activities: z.ZodArray; }, "strip", z.ZodTypeAny, { title: string; id: string; quantity: number; nextDate?: string | undefined; }, { title: string; id: string; quantity: number; nextDate?: string | undefined; }>, "many">; events: z.ZodArray; }, "strip", z.ZodTypeAny, { id: string; name: string; quantity: number; nextDate?: string | undefined; }, { id: string; name: string; quantity: number; nextDate?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { events: { id: string; name: string; quantity: number; nextDate?: string | undefined; }[]; activities: { title: string; id: string; quantity: number; nextDate?: string | undefined; }[]; }, { events: { id: string; name: string; quantity: number; nextDate?: string | undefined; }[]; activities: { title: string; id: string; quantity: number; nextDate?: string | undefined; }[]; }>; }, "strip", z.ZodTypeAny, { id: string; name: string; category: string; unit: string; minimumQuantity: number; consumable: boolean; toBuyQuantity: number; onHand: number; committedQuantity: number; reservedQuantity: number; sources: { events: { id: string; name: string; quantity: number; nextDate?: string | undefined; }[]; activities: { title: string; id: string; quantity: number; nextDate?: string | undefined; }[]; }; imageUrl?: string | null | undefined; estimatedCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; unitCost?: number | undefined; unitCostMeta?: { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; } | undefined; }, { id: string; name: string; category: string; unit: string; minimumQuantity: number; consumable: boolean; toBuyQuantity: number; onHand: number; committedQuantity: number; reservedQuantity: number; sources: { events: { id: string; name: string; quantity: number; nextDate?: string | undefined; }[]; activities: { title: string; id: string; quantity: number; nextDate?: string | undefined; }[]; }; imageUrl?: string | null | undefined; estimatedCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; unitCost?: number | undefined; unitCostMeta?: { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; } | undefined; }>; declare const SupplyPlanCostsSchema: z.ZodObject<{ totalEstimatedCost: z.ZodNumber; itemsWithCostCount: z.ZodNumber; itemsWithoutCostCount: z.ZodNumber; coveragePercent: z.ZodNumber; formatted: z.ZodObject<{ totalEstimatedCost: z.ZodString; }, "strip", z.ZodTypeAny, { totalEstimatedCost: string; }, { totalEstimatedCost: string; }>; }, "strip", z.ZodTypeAny, { totalEstimatedCost: number; itemsWithCostCount: number; itemsWithoutCostCount: number; coveragePercent: number; formatted: { totalEstimatedCost: string; }; }, { totalEstimatedCost: number; itemsWithCostCount: number; itemsWithoutCostCount: number; coveragePercent: number; formatted: { totalEstimatedCost: string; }; }>; declare const SupplyPlanBlockerSchema: z.ZodObject<{ code: z.ZodEnum<["shortfall", "missing_cost"]>; message: z.ZodString; itemId: z.ZodOptional; eventId: z.ZodOptional; activityId: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: "shortfall" | "missing_cost"; message: string; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }, { code: "shortfall" | "missing_cost"; message: string; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }>; declare const SupplyPlanReadinessSchema: z.ZodObject<{ horizonDays: z.ZodNumber; summary: z.ZodString; nextUp: z.ZodOptional; id: z.ZodString; name: z.ZodString; date: z.ZodString; daysUntil: z.ZodNumber; }, "strip", z.ZodTypeAny, { id: string; type: "event" | "activity"; name: string; date: string; daysUntil: number; }, { id: string; type: "event" | "activity"; name: string; date: string; daysUntil: number; }>>; blockers: z.ZodArray; message: z.ZodString; itemId: z.ZodOptional; eventId: z.ZodOptional; activityId: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: "shortfall" | "missing_cost"; message: string; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }, { code: "shortfall" | "missing_cost"; message: string; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { summary: string; horizonDays: number; blockers: { code: "shortfall" | "missing_cost"; message: string; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }[]; nextUp?: { id: string; type: "event" | "activity"; name: string; date: string; daysUntil: number; } | undefined; }, { summary: string; horizonDays: number; blockers: { code: "shortfall" | "missing_cost"; message: string; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }[]; nextUp?: { id: string; type: "event" | "activity"; name: string; date: string; daysUntil: number; } | undefined; }>; declare const SupplyPlanMissionSchema: z.ZodObject<{ id: z.ZodString; type: z.ZodEnum<["complete_costs", "register_purchase", "edit_item_cost", "review_item", "open_event", "open_activity"]>; label: z.ZodString; itemId: z.ZodOptional; eventId: z.ZodOptional; activityId: z.ZodOptional; priority: z.ZodNumber; }, "strip", z.ZodTypeAny, { id: string; label: string; type: "complete_costs" | "register_purchase" | "edit_item_cost" | "review_item" | "open_event" | "open_activity"; priority: number; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }, { id: string; label: string; type: "complete_costs" | "register_purchase" | "edit_item_cost" | "review_item" | "open_event" | "open_activity"; priority: number; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }>; declare const SupplyPlanSchema: z.ZodObject<{ stock: z.ZodObject<{ totalItems: z.ZodNumber; totalUnits: z.ZodNumber; lowStockCount: z.ZodNumber; outOfStockCount: z.ZodNumber; }, "strip", z.ZodTypeAny, { totalItems: number; totalUnits: number; lowStockCount: number; outOfStockCount: number; }, { totalItems: number; totalUnits: number; lowStockCount: number; outOfStockCount: number; }>; items: z.ZodArray>; unitCost: z.ZodOptional; costSource: z.ZodOptional>>; unitCostMeta: z.ZodOptional; purchaseDate: z.ZodOptional; formattedPurchaseDate: z.ZodOptional; }, "strip", z.ZodTypeAny, { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; }, { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; }>>; estimatedCost: z.ZodOptional; sources: z.ZodObject<{ activities: z.ZodArray; }, "strip", z.ZodTypeAny, { title: string; id: string; quantity: number; nextDate?: string | undefined; }, { title: string; id: string; quantity: number; nextDate?: string | undefined; }>, "many">; events: z.ZodArray; }, "strip", z.ZodTypeAny, { id: string; name: string; quantity: number; nextDate?: string | undefined; }, { id: string; name: string; quantity: number; nextDate?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { events: { id: string; name: string; quantity: number; nextDate?: string | undefined; }[]; activities: { title: string; id: string; quantity: number; nextDate?: string | undefined; }[]; }, { events: { id: string; name: string; quantity: number; nextDate?: string | undefined; }[]; activities: { title: string; id: string; quantity: number; nextDate?: string | undefined; }[]; }>; }, "strip", z.ZodTypeAny, { id: string; name: string; category: string; unit: string; minimumQuantity: number; consumable: boolean; toBuyQuantity: number; onHand: number; committedQuantity: number; reservedQuantity: number; sources: { events: { id: string; name: string; quantity: number; nextDate?: string | undefined; }[]; activities: { title: string; id: string; quantity: number; nextDate?: string | undefined; }[]; }; imageUrl?: string | null | undefined; estimatedCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; unitCost?: number | undefined; unitCostMeta?: { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; } | undefined; }, { id: string; name: string; category: string; unit: string; minimumQuantity: number; consumable: boolean; toBuyQuantity: number; onHand: number; committedQuantity: number; reservedQuantity: number; sources: { events: { id: string; name: string; quantity: number; nextDate?: string | undefined; }[]; activities: { title: string; id: string; quantity: number; nextDate?: string | undefined; }[]; }; imageUrl?: string | null | undefined; estimatedCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; unitCost?: number | undefined; unitCostMeta?: { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; } | undefined; }>, "many">; demand: z.ZodObject<{ activityCount: z.ZodNumber; eventCount: z.ZodNumber; distinctItemCount: z.ZodNumber; }, "strip", z.ZodTypeAny, { activityCount: number; eventCount: number; distinctItemCount: number; }, { activityCount: number; eventCount: number; distinctItemCount: number; }>; costs: z.ZodOptional; }, "strip", z.ZodTypeAny, { totalEstimatedCost: number; itemsWithCostCount: number; itemsWithoutCostCount: number; coveragePercent: number; formatted: { totalEstimatedCost: string; }; }, { totalEstimatedCost: number; itemsWithCostCount: number; itemsWithoutCostCount: number; coveragePercent: number; formatted: { totalEstimatedCost: string; }; }>>; readiness: z.ZodObject<{ horizonDays: z.ZodNumber; summary: z.ZodString; nextUp: z.ZodOptional; id: z.ZodString; name: z.ZodString; date: z.ZodString; daysUntil: z.ZodNumber; }, "strip", z.ZodTypeAny, { id: string; type: "event" | "activity"; name: string; date: string; daysUntil: number; }, { id: string; type: "event" | "activity"; name: string; date: string; daysUntil: number; }>>; blockers: z.ZodArray; message: z.ZodString; itemId: z.ZodOptional; eventId: z.ZodOptional; activityId: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: "shortfall" | "missing_cost"; message: string; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }, { code: "shortfall" | "missing_cost"; message: string; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { summary: string; horizonDays: number; blockers: { code: "shortfall" | "missing_cost"; message: string; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }[]; nextUp?: { id: string; type: "event" | "activity"; name: string; date: string; daysUntil: number; } | undefined; }, { summary: string; horizonDays: number; blockers: { code: "shortfall" | "missing_cost"; message: string; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }[]; nextUp?: { id: string; type: "event" | "activity"; name: string; date: string; daysUntil: number; } | undefined; }>; missions: z.ZodArray; label: z.ZodString; itemId: z.ZodOptional; eventId: z.ZodOptional; activityId: z.ZodOptional; priority: z.ZodNumber; }, "strip", z.ZodTypeAny, { id: string; label: string; type: "complete_costs" | "register_purchase" | "edit_item_cost" | "review_item" | "open_event" | "open_activity"; priority: number; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }, { id: string; label: string; type: "complete_costs" | "register_purchase" | "edit_item_cost" | "review_item" | "open_event" | "open_activity"; priority: number; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { items: { id: string; name: string; category: string; unit: string; minimumQuantity: number; consumable: boolean; toBuyQuantity: number; onHand: number; committedQuantity: number; reservedQuantity: number; sources: { events: { id: string; name: string; quantity: number; nextDate?: string | undefined; }[]; activities: { title: string; id: string; quantity: number; nextDate?: string | undefined; }[]; }; imageUrl?: string | null | undefined; estimatedCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; unitCost?: number | undefined; unitCostMeta?: { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; } | undefined; }[]; stock: { totalItems: number; totalUnits: number; lowStockCount: number; outOfStockCount: number; }; demand: { activityCount: number; eventCount: number; distinctItemCount: number; }; readiness: { summary: string; horizonDays: number; blockers: { code: "shortfall" | "missing_cost"; message: string; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }[]; nextUp?: { id: string; type: "event" | "activity"; name: string; date: string; daysUntil: number; } | undefined; }; missions: { id: string; label: string; type: "complete_costs" | "register_purchase" | "edit_item_cost" | "review_item" | "open_event" | "open_activity"; priority: number; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }[]; costs?: { totalEstimatedCost: number; itemsWithCostCount: number; itemsWithoutCostCount: number; coveragePercent: number; formatted: { totalEstimatedCost: string; }; } | undefined; }, { items: { id: string; name: string; category: string; unit: string; minimumQuantity: number; consumable: boolean; toBuyQuantity: number; onHand: number; committedQuantity: number; reservedQuantity: number; sources: { events: { id: string; name: string; quantity: number; nextDate?: string | undefined; }[]; activities: { title: string; id: string; quantity: number; nextDate?: string | undefined; }[]; }; imageUrl?: string | null | undefined; estimatedCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; unitCost?: number | undefined; unitCostMeta?: { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; } | undefined; }[]; stock: { totalItems: number; totalUnits: number; lowStockCount: number; outOfStockCount: number; }; demand: { activityCount: number; eventCount: number; distinctItemCount: number; }; readiness: { summary: string; horizonDays: number; blockers: { code: "shortfall" | "missing_cost"; message: string; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }[]; nextUp?: { id: string; type: "event" | "activity"; name: string; date: string; daysUntil: number; } | undefined; }; missions: { id: string; label: string; type: "complete_costs" | "register_purchase" | "edit_item_cost" | "review_item" | "open_event" | "open_activity"; priority: number; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }[]; costs?: { totalEstimatedCost: number; itemsWithCostCount: number; itemsWithoutCostCount: number; coveragePercent: number; formatted: { totalEstimatedCost: string; }; } | undefined; }>; declare const SupplyPlanSummarySchema: z.ZodObject; items: z.ZodArray>; unitCost: z.ZodOptional; costSource: z.ZodOptional>>; unitCostMeta: z.ZodOptional; purchaseDate: z.ZodOptional; formattedPurchaseDate: z.ZodOptional; }, "strip", z.ZodTypeAny, { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; }, { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; }>>; estimatedCost: z.ZodOptional; sources: z.ZodObject<{ activities: z.ZodArray; }, "strip", z.ZodTypeAny, { title: string; id: string; quantity: number; nextDate?: string | undefined; }, { title: string; id: string; quantity: number; nextDate?: string | undefined; }>, "many">; events: z.ZodArray; }, "strip", z.ZodTypeAny, { id: string; name: string; quantity: number; nextDate?: string | undefined; }, { id: string; name: string; quantity: number; nextDate?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { events: { id: string; name: string; quantity: number; nextDate?: string | undefined; }[]; activities: { title: string; id: string; quantity: number; nextDate?: string | undefined; }[]; }, { events: { id: string; name: string; quantity: number; nextDate?: string | undefined; }[]; activities: { title: string; id: string; quantity: number; nextDate?: string | undefined; }[]; }>; }, "strip", z.ZodTypeAny, { id: string; name: string; category: string; unit: string; minimumQuantity: number; consumable: boolean; toBuyQuantity: number; onHand: number; committedQuantity: number; reservedQuantity: number; sources: { events: { id: string; name: string; quantity: number; nextDate?: string | undefined; }[]; activities: { title: string; id: string; quantity: number; nextDate?: string | undefined; }[]; }; imageUrl?: string | null | undefined; estimatedCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; unitCost?: number | undefined; unitCostMeta?: { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; } | undefined; }, { id: string; name: string; category: string; unit: string; minimumQuantity: number; consumable: boolean; toBuyQuantity: number; onHand: number; committedQuantity: number; reservedQuantity: number; sources: { events: { id: string; name: string; quantity: number; nextDate?: string | undefined; }[]; activities: { title: string; id: string; quantity: number; nextDate?: string | undefined; }[]; }; imageUrl?: string | null | undefined; estimatedCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; unitCost?: number | undefined; unitCostMeta?: { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; } | undefined; }>, "many">; demand: z.ZodObject<{ activityCount: z.ZodNumber; eventCount: z.ZodNumber; distinctItemCount: z.ZodNumber; }, "strip", z.ZodTypeAny, { activityCount: number; eventCount: number; distinctItemCount: number; }, { activityCount: number; eventCount: number; distinctItemCount: number; }>; costs: z.ZodOptional; }, "strip", z.ZodTypeAny, { totalEstimatedCost: number; itemsWithCostCount: number; itemsWithoutCostCount: number; coveragePercent: number; formatted: { totalEstimatedCost: string; }; }, { totalEstimatedCost: number; itemsWithCostCount: number; itemsWithoutCostCount: number; coveragePercent: number; formatted: { totalEstimatedCost: string; }; }>>; readiness: z.ZodObject<{ horizonDays: z.ZodNumber; summary: z.ZodString; nextUp: z.ZodOptional; id: z.ZodString; name: z.ZodString; date: z.ZodString; daysUntil: z.ZodNumber; }, "strip", z.ZodTypeAny, { id: string; type: "event" | "activity"; name: string; date: string; daysUntil: number; }, { id: string; type: "event" | "activity"; name: string; date: string; daysUntil: number; }>>; blockers: z.ZodArray; message: z.ZodString; itemId: z.ZodOptional; eventId: z.ZodOptional; activityId: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: "shortfall" | "missing_cost"; message: string; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }, { code: "shortfall" | "missing_cost"; message: string; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { summary: string; horizonDays: number; blockers: { code: "shortfall" | "missing_cost"; message: string; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }[]; nextUp?: { id: string; type: "event" | "activity"; name: string; date: string; daysUntil: number; } | undefined; }, { summary: string; horizonDays: number; blockers: { code: "shortfall" | "missing_cost"; message: string; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }[]; nextUp?: { id: string; type: "event" | "activity"; name: string; date: string; daysUntil: number; } | undefined; }>; missions: z.ZodArray; label: z.ZodString; itemId: z.ZodOptional; eventId: z.ZodOptional; activityId: z.ZodOptional; priority: z.ZodNumber; }, "strip", z.ZodTypeAny, { id: string; label: string; type: "complete_costs" | "register_purchase" | "edit_item_cost" | "review_item" | "open_event" | "open_activity"; priority: number; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }, { id: string; label: string; type: "complete_costs" | "register_purchase" | "edit_item_cost" | "review_item" | "open_event" | "open_activity"; priority: number; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }>, "many">; }, "stock" | "demand" | "costs" | "readiness" | "missions"> & { itemsToBuyCount: z.ZodNumber; topItems: z.ZodArray>; unitCost: z.ZodOptional; costSource: z.ZodOptional>>; unitCostMeta: z.ZodOptional; purchaseDate: z.ZodOptional; formattedPurchaseDate: z.ZodOptional; }, "strip", z.ZodTypeAny, { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; }, { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; }>>; estimatedCost: z.ZodOptional; sources: z.ZodObject<{ activities: z.ZodArray; }, "strip", z.ZodTypeAny, { title: string; id: string; quantity: number; nextDate?: string | undefined; }, { title: string; id: string; quantity: number; nextDate?: string | undefined; }>, "many">; events: z.ZodArray; }, "strip", z.ZodTypeAny, { id: string; name: string; quantity: number; nextDate?: string | undefined; }, { id: string; name: string; quantity: number; nextDate?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { events: { id: string; name: string; quantity: number; nextDate?: string | undefined; }[]; activities: { title: string; id: string; quantity: number; nextDate?: string | undefined; }[]; }, { events: { id: string; name: string; quantity: number; nextDate?: string | undefined; }[]; activities: { title: string; id: string; quantity: number; nextDate?: string | undefined; }[]; }>; }, "id" | "name" | "imageUrl" | "unit" | "toBuyQuantity" | "estimatedCost" | "costSource">, "strip", z.ZodTypeAny, { id: string; name: string; unit: string; toBuyQuantity: number; imageUrl?: string | null | undefined; estimatedCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; }, { id: string; name: string; unit: string; toBuyQuantity: number; imageUrl?: string | null | undefined; estimatedCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { stock: { totalItems: number; totalUnits: number; lowStockCount: number; outOfStockCount: number; }; demand: { activityCount: number; eventCount: number; distinctItemCount: number; }; itemsToBuyCount: number; topItems: { id: string; name: string; unit: string; toBuyQuantity: number; imageUrl?: string | null | undefined; estimatedCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; }[]; readiness: { summary: string; horizonDays: number; blockers: { code: "shortfall" | "missing_cost"; message: string; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }[]; nextUp?: { id: string; type: "event" | "activity"; name: string; date: string; daysUntil: number; } | undefined; }; missions: { id: string; label: string; type: "complete_costs" | "register_purchase" | "edit_item_cost" | "review_item" | "open_event" | "open_activity"; priority: number; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }[]; costs?: { totalEstimatedCost: number; itemsWithCostCount: number; itemsWithoutCostCount: number; coveragePercent: number; formatted: { totalEstimatedCost: string; }; } | undefined; }, { stock: { totalItems: number; totalUnits: number; lowStockCount: number; outOfStockCount: number; }; demand: { activityCount: number; eventCount: number; distinctItemCount: number; }; itemsToBuyCount: number; topItems: { id: string; name: string; unit: string; toBuyQuantity: number; imageUrl?: string | null | undefined; estimatedCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; }[]; readiness: { summary: string; horizonDays: number; blockers: { code: "shortfall" | "missing_cost"; message: string; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }[]; nextUp?: { id: string; type: "event" | "activity"; name: string; date: string; daysUntil: number; } | undefined; }; missions: { id: string; label: string; type: "complete_costs" | "register_purchase" | "edit_item_cost" | "review_item" | "open_event" | "open_activity"; priority: number; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }[]; costs?: { totalEstimatedCost: number; itemsWithCostCount: number; itemsWithoutCostCount: number; coveragePercent: number; formatted: { totalEstimatedCost: string; }; } | undefined; }>; declare const SupplyPlanPagePropsSchema: z.ZodObject<{ data: z.ZodOptional; items: z.ZodArray>; unitCost: z.ZodOptional; costSource: z.ZodOptional>>; unitCostMeta: z.ZodOptional; purchaseDate: z.ZodOptional; formattedPurchaseDate: z.ZodOptional; }, "strip", z.ZodTypeAny, { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; }, { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; }>>; estimatedCost: z.ZodOptional; sources: z.ZodObject<{ activities: z.ZodArray; }, "strip", z.ZodTypeAny, { title: string; id: string; quantity: number; nextDate?: string | undefined; }, { title: string; id: string; quantity: number; nextDate?: string | undefined; }>, "many">; events: z.ZodArray; }, "strip", z.ZodTypeAny, { id: string; name: string; quantity: number; nextDate?: string | undefined; }, { id: string; name: string; quantity: number; nextDate?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { events: { id: string; name: string; quantity: number; nextDate?: string | undefined; }[]; activities: { title: string; id: string; quantity: number; nextDate?: string | undefined; }[]; }, { events: { id: string; name: string; quantity: number; nextDate?: string | undefined; }[]; activities: { title: string; id: string; quantity: number; nextDate?: string | undefined; }[]; }>; }, "strip", z.ZodTypeAny, { id: string; name: string; category: string; unit: string; minimumQuantity: number; consumable: boolean; toBuyQuantity: number; onHand: number; committedQuantity: number; reservedQuantity: number; sources: { events: { id: string; name: string; quantity: number; nextDate?: string | undefined; }[]; activities: { title: string; id: string; quantity: number; nextDate?: string | undefined; }[]; }; imageUrl?: string | null | undefined; estimatedCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; unitCost?: number | undefined; unitCostMeta?: { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; } | undefined; }, { id: string; name: string; category: string; unit: string; minimumQuantity: number; consumable: boolean; toBuyQuantity: number; onHand: number; committedQuantity: number; reservedQuantity: number; sources: { events: { id: string; name: string; quantity: number; nextDate?: string | undefined; }[]; activities: { title: string; id: string; quantity: number; nextDate?: string | undefined; }[]; }; imageUrl?: string | null | undefined; estimatedCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; unitCost?: number | undefined; unitCostMeta?: { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; } | undefined; }>, "many">; demand: z.ZodObject<{ activityCount: z.ZodNumber; eventCount: z.ZodNumber; distinctItemCount: z.ZodNumber; }, "strip", z.ZodTypeAny, { activityCount: number; eventCount: number; distinctItemCount: number; }, { activityCount: number; eventCount: number; distinctItemCount: number; }>; costs: z.ZodOptional; }, "strip", z.ZodTypeAny, { totalEstimatedCost: number; itemsWithCostCount: number; itemsWithoutCostCount: number; coveragePercent: number; formatted: { totalEstimatedCost: string; }; }, { totalEstimatedCost: number; itemsWithCostCount: number; itemsWithoutCostCount: number; coveragePercent: number; formatted: { totalEstimatedCost: string; }; }>>; readiness: z.ZodObject<{ horizonDays: z.ZodNumber; summary: z.ZodString; nextUp: z.ZodOptional; id: z.ZodString; name: z.ZodString; date: z.ZodString; daysUntil: z.ZodNumber; }, "strip", z.ZodTypeAny, { id: string; type: "event" | "activity"; name: string; date: string; daysUntil: number; }, { id: string; type: "event" | "activity"; name: string; date: string; daysUntil: number; }>>; blockers: z.ZodArray; message: z.ZodString; itemId: z.ZodOptional; eventId: z.ZodOptional; activityId: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: "shortfall" | "missing_cost"; message: string; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }, { code: "shortfall" | "missing_cost"; message: string; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { summary: string; horizonDays: number; blockers: { code: "shortfall" | "missing_cost"; message: string; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }[]; nextUp?: { id: string; type: "event" | "activity"; name: string; date: string; daysUntil: number; } | undefined; }, { summary: string; horizonDays: number; blockers: { code: "shortfall" | "missing_cost"; message: string; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }[]; nextUp?: { id: string; type: "event" | "activity"; name: string; date: string; daysUntil: number; } | undefined; }>; missions: z.ZodArray; label: z.ZodString; itemId: z.ZodOptional; eventId: z.ZodOptional; activityId: z.ZodOptional; priority: z.ZodNumber; }, "strip", z.ZodTypeAny, { id: string; label: string; type: "complete_costs" | "register_purchase" | "edit_item_cost" | "review_item" | "open_event" | "open_activity"; priority: number; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }, { id: string; label: string; type: "complete_costs" | "register_purchase" | "edit_item_cost" | "review_item" | "open_event" | "open_activity"; priority: number; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { items: { id: string; name: string; category: string; unit: string; minimumQuantity: number; consumable: boolean; toBuyQuantity: number; onHand: number; committedQuantity: number; reservedQuantity: number; sources: { events: { id: string; name: string; quantity: number; nextDate?: string | undefined; }[]; activities: { title: string; id: string; quantity: number; nextDate?: string | undefined; }[]; }; imageUrl?: string | null | undefined; estimatedCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; unitCost?: number | undefined; unitCostMeta?: { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; } | undefined; }[]; stock: { totalItems: number; totalUnits: number; lowStockCount: number; outOfStockCount: number; }; demand: { activityCount: number; eventCount: number; distinctItemCount: number; }; readiness: { summary: string; horizonDays: number; blockers: { code: "shortfall" | "missing_cost"; message: string; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }[]; nextUp?: { id: string; type: "event" | "activity"; name: string; date: string; daysUntil: number; } | undefined; }; missions: { id: string; label: string; type: "complete_costs" | "register_purchase" | "edit_item_cost" | "review_item" | "open_event" | "open_activity"; priority: number; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }[]; costs?: { totalEstimatedCost: number; itemsWithCostCount: number; itemsWithoutCostCount: number; coveragePercent: number; formatted: { totalEstimatedCost: string; }; } | undefined; }, { items: { id: string; name: string; category: string; unit: string; minimumQuantity: number; consumable: boolean; toBuyQuantity: number; onHand: number; committedQuantity: number; reservedQuantity: number; sources: { events: { id: string; name: string; quantity: number; nextDate?: string | undefined; }[]; activities: { title: string; id: string; quantity: number; nextDate?: string | undefined; }[]; }; imageUrl?: string | null | undefined; estimatedCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; unitCost?: number | undefined; unitCostMeta?: { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; } | undefined; }[]; stock: { totalItems: number; totalUnits: number; lowStockCount: number; outOfStockCount: number; }; demand: { activityCount: number; eventCount: number; distinctItemCount: number; }; readiness: { summary: string; horizonDays: number; blockers: { code: "shortfall" | "missing_cost"; message: string; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }[]; nextUp?: { id: string; type: "event" | "activity"; name: string; date: string; daysUntil: number; } | undefined; }; missions: { id: string; label: string; type: "complete_costs" | "register_purchase" | "edit_item_cost" | "review_item" | "open_event" | "open_activity"; priority: number; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }[]; costs?: { totalEstimatedCost: number; itemsWithCostCount: number; itemsWithoutCostCount: number; coveragePercent: number; formatted: { totalEstimatedCost: string; }; } | undefined; }>>>; isLoading: z.ZodOptional; embedded: z.ZodOptional; isPersonalProfile: z.ZodOptional; canManageCosts: z.ZodOptional; canRegisterOutgoing: z.ZodOptional; focusSection: z.ZodOptional>; onBack: z.ZodOptional, z.ZodVoid>>; onItemSelect: z.ZodOptional, z.ZodVoid>>; onActivitySelect: z.ZodOptional, z.ZodVoid>>; onEventSelect: z.ZodOptional, z.ZodVoid>>; onMissionAction: z.ZodOptional; label: z.ZodString; itemId: z.ZodOptional; eventId: z.ZodOptional; activityId: z.ZodOptional; priority: z.ZodNumber; }, "strip", z.ZodTypeAny, { id: string; label: string; type: "complete_costs" | "register_purchase" | "edit_item_cost" | "review_item" | "open_event" | "open_activity"; priority: number; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }, { id: string; label: string; type: "complete_costs" | "register_purchase" | "edit_item_cost" | "review_item" | "open_event" | "open_activity"; priority: number; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }>], null>, z.ZodVoid>>; }, "strip", z.ZodTypeAny, { data?: { items: { id: string; name: string; category: string; unit: string; minimumQuantity: number; consumable: boolean; toBuyQuantity: number; onHand: number; committedQuantity: number; reservedQuantity: number; sources: { events: { id: string; name: string; quantity: number; nextDate?: string | undefined; }[]; activities: { title: string; id: string; quantity: number; nextDate?: string | undefined; }[]; }; imageUrl?: string | null | undefined; estimatedCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; unitCost?: number | undefined; unitCostMeta?: { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; } | undefined; }[]; stock: { totalItems: number; totalUnits: number; lowStockCount: number; outOfStockCount: number; }; demand: { activityCount: number; eventCount: number; distinctItemCount: number; }; readiness: { summary: string; horizonDays: number; blockers: { code: "shortfall" | "missing_cost"; message: string; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }[]; nextUp?: { id: string; type: "event" | "activity"; name: string; date: string; daysUntil: number; } | undefined; }; missions: { id: string; label: string; type: "complete_costs" | "register_purchase" | "edit_item_cost" | "review_item" | "open_event" | "open_activity"; priority: number; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }[]; costs?: { totalEstimatedCost: number; itemsWithCostCount: number; itemsWithoutCostCount: number; coveragePercent: number; formatted: { totalEstimatedCost: string; }; } | undefined; } | null | undefined; onBack?: (() => void) | undefined; isPersonalProfile?: boolean | undefined; isLoading?: boolean | undefined; embedded?: boolean | undefined; onActivitySelect?: ((args_0: string) => void) | undefined; onEventSelect?: ((args_0: string) => void) | undefined; onItemSelect?: ((args_0: string) => void) | undefined; canManageCosts?: boolean | undefined; canRegisterOutgoing?: boolean | undefined; focusSection?: "items" | "costs" | "missions" | undefined; onMissionAction?: ((args_0: { id: string; label: string; type: "complete_costs" | "register_purchase" | "edit_item_cost" | "review_item" | "open_event" | "open_activity"; priority: number; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }) => void) | undefined; }, { data?: { items: { id: string; name: string; category: string; unit: string; minimumQuantity: number; consumable: boolean; toBuyQuantity: number; onHand: number; committedQuantity: number; reservedQuantity: number; sources: { events: { id: string; name: string; quantity: number; nextDate?: string | undefined; }[]; activities: { title: string; id: string; quantity: number; nextDate?: string | undefined; }[]; }; imageUrl?: string | null | undefined; estimatedCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; unitCost?: number | undefined; unitCostMeta?: { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; } | undefined; }[]; stock: { totalItems: number; totalUnits: number; lowStockCount: number; outOfStockCount: number; }; demand: { activityCount: number; eventCount: number; distinctItemCount: number; }; readiness: { summary: string; horizonDays: number; blockers: { code: "shortfall" | "missing_cost"; message: string; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }[]; nextUp?: { id: string; type: "event" | "activity"; name: string; date: string; daysUntil: number; } | undefined; }; missions: { id: string; label: string; type: "complete_costs" | "register_purchase" | "edit_item_cost" | "review_item" | "open_event" | "open_activity"; priority: number; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }[]; costs?: { totalEstimatedCost: number; itemsWithCostCount: number; itemsWithoutCostCount: number; coveragePercent: number; formatted: { totalEstimatedCost: string; }; } | undefined; } | null | undefined; onBack?: (() => void) | undefined; isPersonalProfile?: boolean | undefined; isLoading?: boolean | undefined; embedded?: boolean | undefined; onActivitySelect?: ((args_0: string) => void) | undefined; onEventSelect?: ((args_0: string) => void) | undefined; onItemSelect?: ((args_0: string) => void) | undefined; canManageCosts?: boolean | undefined; canRegisterOutgoing?: boolean | undefined; focusSection?: "items" | "costs" | "missions" | undefined; onMissionAction?: ((args_0: { id: string; label: string; type: "complete_costs" | "register_purchase" | "edit_item_cost" | "review_item" | "open_event" | "open_activity"; priority: number; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }) => void) | undefined; }>; type SupplyPlanSourceActivity = z.infer; type SupplyPlanSourceEvent = z.infer; type SupplyPlanItem = z.infer; type SupplyPlanCosts = z.infer; type SupplyPlanBlocker = z.infer; type SupplyPlanReadiness = z.infer; type SupplyPlanMission = z.infer; type SupplyPlan = z.infer; type SupplyPlanSummary = z.infer; type SupplyPlanPageProps = z.infer; type InventorySupplyPageProps = Omit & { onAdd?: () => void; }; declare const InventorySupplyPage: React__default.FC; type InventoryChromeValue = { embedded: boolean; }; declare const useInventoryChrome: () => InventoryChromeValue; declare const SupplyPlanPage: React__default.FC; declare const useSupplyPlanPage: (props: SupplyPlanPageProps) => { data: { plan: { items: { id: string; name: string; category: string; unit: string; minimumQuantity: number; consumable: boolean; toBuyQuantity: number; onHand: number; committedQuantity: number; reservedQuantity: number; sources: { events: { id: string; name: string; quantity: number; nextDate?: string | undefined; }[]; activities: { title: string; id: string; quantity: number; nextDate?: string | undefined; }[]; }; imageUrl?: string | null | undefined; estimatedCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; unitCost?: number | undefined; unitCostMeta?: { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; } | undefined; }[]; stock: { totalItems: number; totalUnits: number; lowStockCount: number; outOfStockCount: number; }; demand: { activityCount: number; eventCount: number; distinctItemCount: number; }; readiness: { summary: string; horizonDays: number; blockers: { code: "shortfall" | "missing_cost"; message: string; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }[]; nextUp?: { id: string; type: "event" | "activity"; name: string; date: string; daysUntil: number; } | undefined; }; missions: { id: string; label: string; type: "complete_costs" | "register_purchase" | "edit_item_cost" | "review_item" | "open_event" | "open_activity"; priority: number; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }[]; costs?: { totalEstimatedCost: number; itemsWithCostCount: number; itemsWithoutCostCount: number; coveragePercent: number; formatted: { totalEstimatedCost: string; }; } | undefined; } | null | undefined; isLoading: boolean; isPersonalProfile: boolean; itemsToBuy: { id: string; name: string; category: string; unit: string; minimumQuantity: number; consumable: boolean; toBuyQuantity: number; onHand: number; committedQuantity: number; reservedQuantity: number; sources: { events: { id: string; name: string; quantity: number; nextDate?: string | undefined; }[]; activities: { title: string; id: string; quantity: number; nextDate?: string | undefined; }[]; }; imageUrl?: string | null | undefined; estimatedCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; unitCost?: number | undefined; unitCostMeta?: { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; } | undefined; }[]; consumableItems: { id: string; name: string; category: string; unit: string; minimumQuantity: number; consumable: boolean; toBuyQuantity: number; onHand: number; committedQuantity: number; reservedQuantity: number; sources: { events: { id: string; name: string; quantity: number; nextDate?: string | undefined; }[]; activities: { title: string; id: string; quantity: number; nextDate?: string | undefined; }[]; }; imageUrl?: string | null | undefined; estimatedCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; unitCost?: number | undefined; unitCostMeta?: { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; } | undefined; }[]; nonConsumableItems: { id: string; name: string; category: string; unit: string; minimumQuantity: number; consumable: boolean; toBuyQuantity: number; onHand: number; committedQuantity: number; reservedQuantity: number; sources: { events: { id: string; name: string; quantity: number; nextDate?: string | undefined; }[]; activities: { title: string; id: string; quantity: number; nextDate?: string | undefined; }[]; }; imageUrl?: string | null | undefined; estimatedCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; unitCost?: number | undefined; unitCostMeta?: { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; } | undefined; }[]; hasCosts: boolean; isEmpty: boolean; stock: { totalItems: number; totalUnits: number; lowStockCount: number; outOfStockCount: number; } | undefined; demand: { activityCount: number; eventCount: number; distinctItemCount: number; } | undefined; costs: { totalEstimatedCost: number; itemsWithCostCount: number; itemsWithoutCostCount: number; coveragePercent: number; formatted: { totalEstimatedCost: string; }; } | undefined; readiness: { summary: string; horizonDays: number; blockers: { code: "shortfall" | "missing_cost"; message: string; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }[]; nextUp?: { id: string; type: "event" | "activity"; name: string; date: string; daysUntil: number; } | undefined; } | undefined; missions: { id: string; label: string; type: "complete_costs" | "register_purchase" | "edit_item_cost" | "review_item" | "open_event" | "open_activity"; priority: number; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }[]; hiddenFinanceMissionCount: number; canManageCosts: boolean; canRegisterOutgoing: boolean; }; fns: { handleBack: () => void | undefined; handleItemSelect: (itemId: string) => void | undefined; handleActivitySelect: (activityId: string) => void | undefined; handleEventSelect: (eventId: string) => void | undefined; handleMissionAction: (mission: NonNullable<{ items: { id: string; name: string; category: string; unit: string; minimumQuantity: number; consumable: boolean; toBuyQuantity: number; onHand: number; committedQuantity: number; reservedQuantity: number; sources: { events: { id: string; name: string; quantity: number; nextDate?: string | undefined; }[]; activities: { title: string; id: string; quantity: number; nextDate?: string | undefined; }[]; }; imageUrl?: string | null | undefined; estimatedCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; unitCost?: number | undefined; unitCostMeta?: { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; } | undefined; }[]; stock: { totalItems: number; totalUnits: number; lowStockCount: number; outOfStockCount: number; }; demand: { activityCount: number; eventCount: number; distinctItemCount: number; }; readiness: { summary: string; horizonDays: number; blockers: { code: "shortfall" | "missing_cost"; message: string; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }[]; nextUp?: { id: string; type: "event" | "activity"; name: string; date: string; daysUntil: number; } | undefined; }; missions: { id: string; label: string; type: "complete_costs" | "register_purchase" | "edit_item_cost" | "review_item" | "open_event" | "open_activity"; priority: number; eventId?: string | undefined; activityId?: string | undefined; itemId?: string | undefined; }[]; costs?: { totalEstimatedCost: number; itemsWithCostCount: number; itemsWithoutCostCount: number; coveragePercent: number; formatted: { totalEstimatedCost: string; }; } | undefined; } | null | undefined>["missions"][0]) => void | undefined; handleEditItemCost: (itemId: string) => void; }; }; type FilterSupplyPlanMissionsOptions = { canManageCosts?: boolean; canRegisterOutgoing?: boolean; }; type FilteredSupplyPlanMissions = { visible: SupplyPlanMission[]; hiddenFinanceMissionCount: number; }; declare function filterSupplyPlanMissions(missions: SupplyPlanMission[], options?: FilterSupplyPlanMissionsOptions): FilteredSupplyPlanMissions; declare function buildItemReasonText(item: SupplyPlanItem): string; declare const mockSupplyPlanWithCosts: SupplyPlan; declare const mockSupplyPlanWithoutCosts: SupplyPlan; declare const mockSupplyPlanEmpty: SupplyPlan; /** Active demand but every item has sufficient stock (toBuyQuantity = 0). */ declare const mockSupplyPlanSufficientWithDemand: SupplyPlan; declare enum MediumStatus { WAITING_APPROVAL = "WAITING_APPROVAL", ACTIVE = "ACTIVE", INACTIVE = "INACTIVE", SUSPENDED = "SUSPENDED", TRANSFERRED = "TRANSFERRED", DECEASED = "DECEASED", RETIRED = "RETIRED", ON_LEAVE = "ON_LEAVE", EXPELLED = "EXPELLED", INITIATING = "INITIATING", VISITOR = "VISITOR" } declare const MediumPagePropsSchema: z.ZodObject<{ isLoading: z.ZodOptional; isAdmin: z.ZodDefault; isPersonalProfile: z.ZodDefault; medium: z.ZodOptional; status: z.ZodOptional>; rank: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional; level: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; name: string; description?: string | undefined; level?: number | undefined; }, { id: string; name: string; description?: string | undefined; level?: number | undefined; }>; }, "strip", z.ZodTypeAny, { rank: { id: string; name: string; description?: string | undefined; level?: number | undefined; }; status?: MediumStatus | undefined; initiationDate?: string | undefined; }, { rank: { id: string; name: string; description?: string | undefined; level?: number | undefined; }; status?: MediumStatus | undefined; initiationDate?: string | undefined; }>>; ranks: z.ZodArray; level: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; name: string; description?: string | undefined; level?: number | undefined; }, { id: string; name: string; description?: string | undefined; level?: number | undefined; }>, "many">; onBack: z.ZodOptional, z.ZodVoid>>; onSave: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: MediumStatus; rankId: string; initiationDate: string; }, { status: MediumStatus; rankId: string; initiationDate: string; }>], null>, z.ZodVoid>>; }, "strip", z.ZodTypeAny, { isAdmin: boolean; isPersonalProfile: boolean; ranks: { id: string; name: string; description?: string | undefined; level?: number | undefined; }[]; medium?: { rank: { id: string; name: string; description?: string | undefined; level?: number | undefined; }; status?: MediumStatus | undefined; initiationDate?: string | undefined; } | undefined; onBack?: (() => void) | undefined; isLoading?: boolean | undefined; onSave?: ((args_0: { status: MediumStatus; rankId: string; initiationDate: string; }) => void) | undefined; }, { ranks: { id: string; name: string; description?: string | undefined; level?: number | undefined; }[]; medium?: { rank: { id: string; name: string; description?: string | undefined; level?: number | undefined; }; status?: MediumStatus | undefined; initiationDate?: string | undefined; } | undefined; isAdmin?: boolean | undefined; onBack?: (() => void) | undefined; isPersonalProfile?: boolean | undefined; isLoading?: boolean | undefined; onSave?: ((args_0: { status: MediumStatus; rankId: string; initiationDate: string; }) => void) | undefined; }>; type MediumPageProps = z.infer; declare const MediumPage: React__default.FC; declare const MediumHubSectionIdSchema: z.ZodEnum<["dados", "spiritual-profile"]>; declare const MediumHubPagePropsSchema: z.ZodObject<{ onBack: z.ZodFunction, z.ZodVoid>; onNavigate: z.ZodOptional], null>, z.ZodVoid>>; canViewDados: z.ZodDefault>; canViewSpiritualProfile: z.ZodDefault>; dadosSummary: z.ZodOptional; spiritualSummary: z.ZodOptional; isLoading: z.ZodDefault>; }, "strip", z.ZodTypeAny, { onBack: () => void; isLoading: boolean; canViewDados: boolean; canViewSpiritualProfile: boolean; onNavigate?: ((args_0: "dados" | "spiritual-profile") => void) | undefined; dadosSummary?: string | undefined; spiritualSummary?: string | undefined; }, { onBack: () => void; onNavigate?: ((args_0: "dados" | "spiritual-profile") => void) | undefined; isLoading?: boolean | undefined; canViewDados?: boolean | undefined; canViewSpiritualProfile?: boolean | undefined; dadosSummary?: string | undefined; spiritualSummary?: string | undefined; }>; type MediumHubSectionId = z.infer; type MediumHubPageProps = z.infer; declare const MediumHubPage: React__default.FC; declare function useMediumHubPage(props: MediumHubPageProps): { data: { sections: { id: MediumHubSectionId; label: string; summary: string; }[]; isLoading: boolean; }; fns: { handleBack: () => void; handleNavigate: (sectionId: MediumHubSectionId) => void; }; }; type InviteUsageMode = "single_use" | "multi_until_expiry"; interface ExpiryPreset { label: string; hours: number; } interface InviteGenerateOptions { ttlHours: number; usageMode: InviteUsageMode; } interface QRCodeData { id: string; terreiroId: string; terreiroName: string; inviteCode: string; expiresAt: Date; createdAt: Date; usageMode?: InviteUsageMode; maxUses?: number; currentUses?: number; isActive?: boolean; } interface ShareOptions { whatsapp?: boolean; telegram?: boolean; email?: boolean; sms?: boolean; copy?: boolean; native?: boolean; } interface AddMediumByQRCodePageProps { qrCodeData?: QRCodeData; shareUrl?: string; isLoading?: boolean; isGenerating?: boolean; terreiroName?: string; terreiroAvatar?: string; terreiroDescription?: string; qrCodeSize?: number; qrCodeColor?: string; qrCodeBgColor?: string; logoUrl?: string; shareOptions?: ShareOptions; shareMessage?: string; onGenerateCode?: (options: InviteGenerateOptions) => void; onRegenerateCode?: (options: InviteGenerateOptions) => void; onCopyLink?: (url: string) => void; onShare?: (platform: SharePlatform, url: string) => void; onBack?: () => void; onViewRequests?: () => void; onSettings?: () => void; autoRefresh?: boolean; showExpiryTime?: boolean; showUsageCount?: boolean; enableNotifications?: boolean; expiryPresets?: ExpiryPreset[]; defaultTtlHours?: number; defaultUsageMode?: InviteUsageMode; } type SharePlatform = "whatsapp" | "telegram" | "email" | "sms" | "copy" | "native"; declare const AddMediumByQRCodePage: React__default.FunctionComponent; type AddressCepLookup = (cep: string) => Promise<{ street: string; neighborhood: string; city: string; state: string; complement?: string; } | null>; declare const AddressPagePropsSchema: z.ZodObject<{ addressId: z.ZodOptional; initialAddress: z.ZodOptional>; neighborhood: z.ZodString; city: z.ZodString; state: z.ZodEnum<["AC", "AL", "AP", "AM", "BA", "CE", "DF", "ES", "GO", "MA", "MT", "MS", "MG", "PA", "PB", "PR", "PE", "PI", "RJ", "RN", "RS", "RO", "RR", "SC", "SP", "SE", "TO"]>; country: z.ZodOptional; reference: z.ZodOptional>; }, "strip", z.ZodTypeAny, { number: string; state: "AC" | "AL" | "AP" | "AM" | "BA" | "CE" | "DF" | "ES" | "GO" | "MA" | "MT" | "MS" | "MG" | "PA" | "PB" | "PR" | "PE" | "PI" | "RJ" | "RN" | "RS" | "RO" | "RR" | "SC" | "SP" | "SE" | "TO"; street: string; neighborhood: string; city: string; zipCode: string; country?: string | undefined; complement?: string | null | undefined; reference?: string | null | undefined; }, { number: string; state: "AC" | "AL" | "AP" | "AM" | "BA" | "CE" | "DF" | "ES" | "GO" | "MA" | "MT" | "MS" | "MG" | "PA" | "PB" | "PR" | "PE" | "PI" | "RJ" | "RN" | "RS" | "RO" | "RR" | "SC" | "SP" | "SE" | "TO"; street: string; neighborhood: string; city: string; zipCode: string; country?: string | undefined; complement?: string | null | undefined; reference?: string | null | undefined; }>>; onBack: z.ZodFunction, z.ZodVoid>; onSave: z.ZodOptional>; neighborhood: z.ZodString; city: z.ZodString; state: z.ZodEnum<["AC", "AL", "AP", "AM", "BA", "CE", "DF", "ES", "GO", "MA", "MT", "MS", "MG", "PA", "PB", "PR", "PE", "PI", "RJ", "RN", "RS", "RO", "RR", "SC", "SP", "SE", "TO"]>; country: z.ZodOptional; reference: z.ZodOptional>; }, "strip", z.ZodTypeAny, { number: string; state: "AC" | "AL" | "AP" | "AM" | "BA" | "CE" | "DF" | "ES" | "GO" | "MA" | "MT" | "MS" | "MG" | "PA" | "PB" | "PR" | "PE" | "PI" | "RJ" | "RN" | "RS" | "RO" | "RR" | "SC" | "SP" | "SE" | "TO"; street: string; neighborhood: string; city: string; zipCode: string; country?: string | undefined; complement?: string | null | undefined; reference?: string | null | undefined; }, { number: string; state: "AC" | "AL" | "AP" | "AM" | "BA" | "CE" | "DF" | "ES" | "GO" | "MA" | "MT" | "MS" | "MG" | "PA" | "PB" | "PR" | "PE" | "PI" | "RJ" | "RN" | "RS" | "RO" | "RR" | "SC" | "SP" | "SE" | "TO"; street: string; neighborhood: string; city: string; zipCode: string; country?: string | undefined; complement?: string | null | undefined; reference?: string | null | undefined; }>], null>, z.ZodVoid>>; onAddressLoad: z.ZodOptional>; neighborhood: z.ZodString; city: z.ZodString; state: z.ZodEnum<["AC", "AL", "AP", "AM", "BA", "CE", "DF", "ES", "GO", "MA", "MT", "MS", "MG", "PA", "PB", "PR", "PE", "PI", "RJ", "RN", "RS", "RO", "RR", "SC", "SP", "SE", "TO"]>; country: z.ZodOptional; reference: z.ZodOptional>; }, "strip", z.ZodTypeAny, { number: string; state: "AC" | "AL" | "AP" | "AM" | "BA" | "CE" | "DF" | "ES" | "GO" | "MA" | "MT" | "MS" | "MG" | "PA" | "PB" | "PR" | "PE" | "PI" | "RJ" | "RN" | "RS" | "RO" | "RR" | "SC" | "SP" | "SE" | "TO"; street: string; neighborhood: string; city: string; zipCode: string; country?: string | undefined; complement?: string | null | undefined; reference?: string | null | undefined; }, { number: string; state: "AC" | "AL" | "AP" | "AM" | "BA" | "CE" | "DF" | "ES" | "GO" | "MA" | "MT" | "MS" | "MG" | "PA" | "PB" | "PR" | "PE" | "PI" | "RJ" | "RN" | "RS" | "RO" | "RR" | "SC" | "SP" | "SE" | "TO"; street: string; neighborhood: string; city: string; zipCode: string; country?: string | undefined; complement?: string | null | undefined; reference?: string | null | undefined; }>], null>, z.ZodVoid>>; onCepLookup: z.ZodOptional; bairro: z.ZodString; localidade: z.ZodString; uf: z.ZodString; erro: z.ZodOptional; }, "strip", z.ZodTypeAny, { cep: string; logradouro: string; bairro: string; localidade: string; uf: string; complemento?: string | undefined; erro?: boolean | undefined; }, { cep: string; logradouro: string; bairro: string; localidade: string; uf: string; complemento?: string | undefined; erro?: boolean | undefined; }>], null>, z.ZodVoid>>; /** Resolves a CEP and auto-fills street, neighborhood, city and state on blur. */ cepLookup: z.ZodOptional>; isLoading: z.ZodOptional; error: z.ZodOptional; enableCepLookup: z.ZodOptional; enableGoogleAddress: z.ZodOptional; googleMapsApiKey: z.ZodOptional; googleCountryCode: z.ZodOptional; googleLanguage: z.ZodOptional; }, "strip", z.ZodTypeAny, { onBack: () => void; error?: string | undefined; isLoading?: boolean | undefined; addressId?: string | undefined; initialAddress?: { number: string; state: "AC" | "AL" | "AP" | "AM" | "BA" | "CE" | "DF" | "ES" | "GO" | "MA" | "MT" | "MS" | "MG" | "PA" | "PB" | "PR" | "PE" | "PI" | "RJ" | "RN" | "RS" | "RO" | "RR" | "SC" | "SP" | "SE" | "TO"; street: string; neighborhood: string; city: string; zipCode: string; country?: string | undefined; complement?: string | null | undefined; reference?: string | null | undefined; } | undefined; onSave?: ((args_0: { number: string; state: "AC" | "AL" | "AP" | "AM" | "BA" | "CE" | "DF" | "ES" | "GO" | "MA" | "MT" | "MS" | "MG" | "PA" | "PB" | "PR" | "PE" | "PI" | "RJ" | "RN" | "RS" | "RO" | "RR" | "SC" | "SP" | "SE" | "TO"; street: string; neighborhood: string; city: string; zipCode: string; country?: string | undefined; complement?: string | null | undefined; reference?: string | null | undefined; }) => void) | undefined; onAddressLoad?: ((args_0: { number: string; state: "AC" | "AL" | "AP" | "AM" | "BA" | "CE" | "DF" | "ES" | "GO" | "MA" | "MT" | "MS" | "MG" | "PA" | "PB" | "PR" | "PE" | "PI" | "RJ" | "RN" | "RS" | "RO" | "RR" | "SC" | "SP" | "SE" | "TO"; street: string; neighborhood: string; city: string; zipCode: string; country?: string | undefined; complement?: string | null | undefined; reference?: string | null | undefined; }) => void) | undefined; onCepLookup?: ((args_0: string, args_1: { cep: string; logradouro: string; bairro: string; localidade: string; uf: string; complemento?: string | undefined; erro?: boolean | undefined; }) => void) | undefined; cepLookup?: AddressCepLookup | undefined; enableCepLookup?: boolean | undefined; enableGoogleAddress?: boolean | undefined; googleMapsApiKey?: string | undefined; googleCountryCode?: string | undefined; googleLanguage?: string | undefined; }, { onBack: () => void; error?: string | undefined; isLoading?: boolean | undefined; addressId?: string | undefined; initialAddress?: { number: string; state: "AC" | "AL" | "AP" | "AM" | "BA" | "CE" | "DF" | "ES" | "GO" | "MA" | "MT" | "MS" | "MG" | "PA" | "PB" | "PR" | "PE" | "PI" | "RJ" | "RN" | "RS" | "RO" | "RR" | "SC" | "SP" | "SE" | "TO"; street: string; neighborhood: string; city: string; zipCode: string; country?: string | undefined; complement?: string | null | undefined; reference?: string | null | undefined; } | undefined; onSave?: ((args_0: { number: string; state: "AC" | "AL" | "AP" | "AM" | "BA" | "CE" | "DF" | "ES" | "GO" | "MA" | "MT" | "MS" | "MG" | "PA" | "PB" | "PR" | "PE" | "PI" | "RJ" | "RN" | "RS" | "RO" | "RR" | "SC" | "SP" | "SE" | "TO"; street: string; neighborhood: string; city: string; zipCode: string; country?: string | undefined; complement?: string | null | undefined; reference?: string | null | undefined; }) => void) | undefined; onAddressLoad?: ((args_0: { number: string; state: "AC" | "AL" | "AP" | "AM" | "BA" | "CE" | "DF" | "ES" | "GO" | "MA" | "MT" | "MS" | "MG" | "PA" | "PB" | "PR" | "PE" | "PI" | "RJ" | "RN" | "RS" | "RO" | "RR" | "SC" | "SP" | "SE" | "TO"; street: string; neighborhood: string; city: string; zipCode: string; country?: string | undefined; complement?: string | null | undefined; reference?: string | null | undefined; }) => void) | undefined; onCepLookup?: ((args_0: string, args_1: { cep: string; logradouro: string; bairro: string; localidade: string; uf: string; complemento?: string | undefined; erro?: boolean | undefined; }) => void) | undefined; cepLookup?: AddressCepLookup | undefined; enableCepLookup?: boolean | undefined; enableGoogleAddress?: boolean | undefined; googleMapsApiKey?: string | undefined; googleCountryCode?: string | undefined; googleLanguage?: string | undefined; }>; type AddressPageProps = z.infer; declare const AddressPage: React__default.FunctionComponent; declare const ProfileDetailsPagePropsSchema: z.ZodObject<{ profile: z.ZodObject<{ firstName: z.ZodString; lastName: z.ZodString; birthDate: z.ZodOptional; avatarUrl: z.ZodString; created_at: z.ZodOptional; updated_at: z.ZodOptional; user: z.ZodOptional>; }, "strip", z.ZodTypeAny, { email: string; created_at?: string | null | undefined; }, { email: string; created_at?: string | null | undefined; }>>; address: z.ZodOptional; neighborhood: z.ZodString; city: z.ZodString; state: z.ZodString; zipCode: z.ZodString; country: z.ZodString; }, "strip", z.ZodTypeAny, { number: string; country: string; state: string; street: string; neighborhood: string; city: string; zipCode: string; complement?: string | undefined; }, { number: string; country: string; state: string; street: string; neighborhood: string; city: string; zipCode: string; complement?: string | undefined; }>>; contacts: z.ZodOptional; phone: z.ZodString; contact_person: z.ZodOptional>; }, "strip", z.ZodTypeAny, { phone: string; id?: string | undefined; contact_person?: string | null | undefined; }, { phone: string; id?: string | undefined; contact_person?: string | null | undefined; }>, "many">>; status: z.ZodOptional>; hierarchy: z.ZodOptional; medium: z.ZodOptional; initiation_date: z.ZodOptional; status: z.ZodOptional>; rank: z.ZodOptional>; role: z.ZodOptional>; /** The terreiro ID associated with this medium profile. If not present, it's a personal profile */ terreiroId: z.ZodOptional>; }, "strip", z.ZodTypeAny, { role?: { id: string; name: string; } | undefined; status?: "ACTIVE" | "WAITING_APPROVAL" | "INACTIVE" | "SUSPENDED" | "TRANSFERRED" | "DECEASED" | "RETIRED" | "ON_LEAVE" | "EXPELLED" | "INITIATING" | "VISITOR" | "REJECTED" | undefined; rank?: { id: string; name: string; level: number; } | undefined; terreiroId?: string | null | undefined; initiationDate?: string | undefined; initiation_date?: string | undefined; }, { role?: { id: string; name: string; } | undefined; status?: "ACTIVE" | "WAITING_APPROVAL" | "INACTIVE" | "SUSPENDED" | "TRANSFERRED" | "DECEASED" | "RETIRED" | "ON_LEAVE" | "EXPELLED" | "INITIATING" | "VISITOR" | "REJECTED" | undefined; rank?: { id: string; name: string; level: number; } | undefined; terreiroId?: string | null | undefined; initiationDate?: string | undefined; initiation_date?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { firstName: string; lastName: string; avatarUrl: string; address?: { number: string; country: string; state: string; street: string; neighborhood: string; city: string; zipCode: string; complement?: string | undefined; } | undefined; status?: "active" | "inactive" | undefined; medium?: { role?: { id: string; name: string; } | undefined; status?: "ACTIVE" | "WAITING_APPROVAL" | "INACTIVE" | "SUSPENDED" | "TRANSFERRED" | "DECEASED" | "RETIRED" | "ON_LEAVE" | "EXPELLED" | "INITIATING" | "VISITOR" | "REJECTED" | undefined; rank?: { id: string; name: string; level: number; } | undefined; terreiroId?: string | null | undefined; initiationDate?: string | undefined; initiation_date?: string | undefined; } | undefined; birthDate?: string | undefined; contacts?: { phone: string; id?: string | undefined; contact_person?: string | null | undefined; }[] | undefined; user?: { email: string; created_at?: string | null | undefined; } | undefined; created_at?: string | undefined; updated_at?: string | undefined; hierarchy?: string | undefined; }, { firstName: string; lastName: string; avatarUrl: string; address?: { number: string; country: string; state: string; street: string; neighborhood: string; city: string; zipCode: string; complement?: string | undefined; } | undefined; status?: "active" | "inactive" | undefined; medium?: { role?: { id: string; name: string; } | undefined; status?: "ACTIVE" | "WAITING_APPROVAL" | "INACTIVE" | "SUSPENDED" | "TRANSFERRED" | "DECEASED" | "RETIRED" | "ON_LEAVE" | "EXPELLED" | "INITIATING" | "VISITOR" | "REJECTED" | undefined; rank?: { id: string; name: string; level: number; } | undefined; terreiroId?: string | null | undefined; initiationDate?: string | undefined; initiation_date?: string | undefined; } | undefined; birthDate?: string | undefined; contacts?: { phone: string; id?: string | undefined; contact_person?: string | null | undefined; }[] | undefined; user?: { email: string; created_at?: string | null | undefined; } | undefined; created_at?: string | undefined; updated_at?: string | undefined; hierarchy?: string | undefined; }>; onBack: z.ZodFunction, z.ZodVoid>; onEditAvatar: z.ZodFunction], null>, z.ZodVoid>; /** When set, the avatar button calls this instead of opening the built-in image picker. */ onEditAvatarRequest: z.ZodOptional, z.ZodVoid>>; onNavigate: z.ZodOptional, z.ZodVoid>>; isAdmin: z.ZodOptional; isPersonalProfile: z.ZodOptional; handleRequestAccessAgain: z.ZodOptional, z.ZodVoid>>; mediumStatus: z.ZodOptional; /** Whether to show the Medium section in the profile list. Defaults to true */ showMediumSection: z.ZodOptional; /** Whether to show the Biometria (passkeys) entry under Credenciais. Defaults to false */ showPasskeysSection: z.ZodOptional; /** Badge tier for verification badge display */ badgeTier: z.ZodOptional>; /** Profile completeness data for progress display */ completenessData: z.ZodOptional; sections: z.ZodObject<{ profile: z.ZodObject<{ complete: z.ZodBoolean; missing: z.ZodArray; percentage: z.ZodNumber; }, "strip", z.ZodTypeAny, { complete: boolean; percentage: number; missing: string[]; }, { complete: boolean; percentage: number; missing: string[]; }>; medium: z.ZodObject<{ complete: z.ZodBoolean; missing: z.ZodArray; percentage: z.ZodNumber; }, "strip", z.ZodTypeAny, { complete: boolean; percentage: number; missing: string[]; }, { complete: boolean; percentage: number; missing: string[]; }>; contact: z.ZodObject<{ complete: z.ZodBoolean; missing: z.ZodArray; percentage: z.ZodNumber; }, "strip", z.ZodTypeAny, { complete: boolean; percentage: number; missing: string[]; }, { complete: boolean; percentage: number; missing: string[]; }>; address: z.ZodObject<{ complete: z.ZodBoolean; missing: z.ZodArray; percentage: z.ZodNumber; }, "strip", z.ZodTypeAny, { complete: boolean; percentage: number; missing: string[]; }, { complete: boolean; percentage: number; missing: string[]; }>; avatar: z.ZodObject<{ complete: z.ZodBoolean; missing: z.ZodArray; percentage: z.ZodNumber; }, "strip", z.ZodTypeAny, { complete: boolean; percentage: number; missing: string[]; }, { complete: boolean; percentage: number; missing: string[]; }>; }, "strip", z.ZodTypeAny, { address: { complete: boolean; percentage: number; missing: string[]; }; medium: { complete: boolean; percentage: number; missing: string[]; }; avatar: { complete: boolean; percentage: number; missing: string[]; }; profile: { complete: boolean; percentage: number; missing: string[]; }; contact: { complete: boolean; percentage: number; missing: string[]; }; }, { address: { complete: boolean; percentage: number; missing: string[]; }; medium: { complete: boolean; percentage: number; missing: string[]; }; avatar: { complete: boolean; percentage: number; missing: string[]; }; profile: { complete: boolean; percentage: number; missing: string[]; }; contact: { complete: boolean; percentage: number; missing: string[]; }; }>; nextActions: z.ZodArray; }, "strip", z.ZodTypeAny, { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: { address: { complete: boolean; percentage: number; missing: string[]; }; medium: { complete: boolean; percentage: number; missing: string[]; }; avatar: { complete: boolean; percentage: number; missing: string[]; }; profile: { complete: boolean; percentage: number; missing: string[]; }; contact: { complete: boolean; percentage: number; missing: string[]; }; }; nextActions: string[]; }, { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: { address: { complete: boolean; percentage: number; missing: string[]; }; medium: { complete: boolean; percentage: number; missing: string[]; }; avatar: { complete: boolean; percentage: number; missing: string[]; }; profile: { complete: boolean; percentage: number; missing: string[]; }; contact: { complete: boolean; percentage: number; missing: string[]; }; }; nextActions: string[]; }>>; /** Callback when user clicks to complete profile */ onCompleteProfile: z.ZodOptional, z.ZodUnknown>>; /** Whether completeness data is loading */ isCompletenessLoading: z.ZodOptional; }, "strip", z.ZodTypeAny, { onBack: () => void; profile: { firstName: string; lastName: string; avatarUrl: string; address?: { number: string; country: string; state: string; street: string; neighborhood: string; city: string; zipCode: string; complement?: string | undefined; } | undefined; status?: "active" | "inactive" | undefined; medium?: { role?: { id: string; name: string; } | undefined; status?: "ACTIVE" | "WAITING_APPROVAL" | "INACTIVE" | "SUSPENDED" | "TRANSFERRED" | "DECEASED" | "RETIRED" | "ON_LEAVE" | "EXPELLED" | "INITIATING" | "VISITOR" | "REJECTED" | undefined; rank?: { id: string; name: string; level: number; } | undefined; terreiroId?: string | null | undefined; initiationDate?: string | undefined; initiation_date?: string | undefined; } | undefined; birthDate?: string | undefined; contacts?: { phone: string; id?: string | undefined; contact_person?: string | null | undefined; }[] | undefined; user?: { email: string; created_at?: string | null | undefined; } | undefined; created_at?: string | undefined; updated_at?: string | undefined; hierarchy?: string | undefined; }; onEditAvatar: (args_0: File) => void; isAdmin?: boolean | undefined; onNavigate?: ((args_0: string) => void) | undefined; isPersonalProfile?: boolean | undefined; badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined; onCompleteProfile?: ((...args: unknown[]) => unknown) | undefined; mediumStatus?: string | undefined; onEditAvatarRequest?: (() => void) | undefined; handleRequestAccessAgain?: (() => void) | undefined; showMediumSection?: boolean | undefined; showPasskeysSection?: boolean | undefined; completenessData?: { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: { address: { complete: boolean; percentage: number; missing: string[]; }; medium: { complete: boolean; percentage: number; missing: string[]; }; avatar: { complete: boolean; percentage: number; missing: string[]; }; profile: { complete: boolean; percentage: number; missing: string[]; }; contact: { complete: boolean; percentage: number; missing: string[]; }; }; nextActions: string[]; } | undefined; isCompletenessLoading?: boolean | undefined; }, { onBack: () => void; profile: { firstName: string; lastName: string; avatarUrl: string; address?: { number: string; country: string; state: string; street: string; neighborhood: string; city: string; zipCode: string; complement?: string | undefined; } | undefined; status?: "active" | "inactive" | undefined; medium?: { role?: { id: string; name: string; } | undefined; status?: "ACTIVE" | "WAITING_APPROVAL" | "INACTIVE" | "SUSPENDED" | "TRANSFERRED" | "DECEASED" | "RETIRED" | "ON_LEAVE" | "EXPELLED" | "INITIATING" | "VISITOR" | "REJECTED" | undefined; rank?: { id: string; name: string; level: number; } | undefined; terreiroId?: string | null | undefined; initiationDate?: string | undefined; initiation_date?: string | undefined; } | undefined; birthDate?: string | undefined; contacts?: { phone: string; id?: string | undefined; contact_person?: string | null | undefined; }[] | undefined; user?: { email: string; created_at?: string | null | undefined; } | undefined; created_at?: string | undefined; updated_at?: string | undefined; hierarchy?: string | undefined; }; onEditAvatar: (args_0: File) => void; isAdmin?: boolean | undefined; onNavigate?: ((args_0: string) => void) | undefined; isPersonalProfile?: boolean | undefined; badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined; onCompleteProfile?: ((...args: unknown[]) => unknown) | undefined; mediumStatus?: string | undefined; onEditAvatarRequest?: (() => void) | undefined; handleRequestAccessAgain?: (() => void) | undefined; showMediumSection?: boolean | undefined; showPasskeysSection?: boolean | undefined; completenessData?: { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: { address: { complete: boolean; percentage: number; missing: string[]; }; medium: { complete: boolean; percentage: number; missing: string[]; }; avatar: { complete: boolean; percentage: number; missing: string[]; }; profile: { complete: boolean; percentage: number; missing: string[]; }; contact: { complete: boolean; percentage: number; missing: string[]; }; }; nextActions: string[]; } | undefined; isCompletenessLoading?: boolean | undefined; }>; type ProfileDetailsPageProps = z.infer; declare const ProfileDetailsPage: React__default.FunctionComponent; declare const SpiritualDevelopmentStageSchema: z.ZodEnum<["initial_contact", "developing", "confirmed", "active_work"]>; declare const SpiritualVisibilitySchema: z.ZodEnum<["only_me", "leaders", "terreiro"]>; declare const SpiritualProfileScopeSchema: z.ZodEnum<["terreiro", "personal"]>; declare const SpiritualDevelopmentStageLabelSchema: z.ZodEnum<["Contato inicial", "Em desenvolvimento", "Confirmado", "Trabalho ativo"]>; declare const SpiritualVisibilityLabelSchema: z.ZodEnum<["Somente eu", "Lideranças", "Todo terreiro"]>; declare const SpiritualLineSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; }, { id: string; name: string; }>; declare const SpiritualProfileItemSchema: z.ZodObject<{ id: z.ZodString; type: z.ZodEnum<["line", "entity"]>; line: z.ZodString; /** Stored value or its display label (e.g. "Lideranças"). */ visibility: z.ZodUnion<[z.ZodEnum<["only_me", "leaders", "terreiro"]>, z.ZodEnum<["Somente eu", "Lideranças", "Todo terreiro"]>]>; /** Stored value or its display label (e.g. "Contato inicial"). */ developmentStage: z.ZodNullable, z.ZodEnum<["Contato inicial", "Em desenvolvimento", "Confirmado", "Trabalho ativo"]>]>>; notes: z.ZodOptional>; name: z.ZodOptional; createdAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; visibility: "terreiro" | "only_me" | "leaders" | "Somente eu" | "Lideranças" | "Todo terreiro"; line: string; type: "line" | "entity"; createdAt: string; developmentStage: "Confirmado" | "confirmed" | "initial_contact" | "developing" | "active_work" | "Contato inicial" | "Em desenvolvimento" | "Trabalho ativo" | null; name?: string | undefined; notes?: string | null | undefined; }, { id: string; visibility: "terreiro" | "only_me" | "leaders" | "Somente eu" | "Lideranças" | "Todo terreiro"; line: string; type: "line" | "entity"; createdAt: string; developmentStage: "Confirmado" | "confirmed" | "initial_contact" | "developing" | "active_work" | "Contato inicial" | "Em desenvolvimento" | "Trabalho ativo" | null; name?: string | undefined; notes?: string | null | undefined; }>; declare const SpiritualAnalyticsSummarySchema: z.ZodObject<{ totalMediums: z.ZodNumber; totalEntities: z.ZodNumber; topLines: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { topLines: { line: string; count: number; }[]; totalMediums: number; totalEntities: number; }, { topLines: { line: string; count: number; }[]; totalMediums: number; totalEntities: number; }>; declare const AddSpiritualProfileInputSchema: z.ZodObject<{ lineId: z.ZodOptional; entityId: z.ZodOptional; entityName: z.ZodOptional; developmentStage: z.ZodEnum<["initial_contact", "developing", "confirmed", "active_work"]>; visibility: z.ZodEnum<["only_me", "leaders", "terreiro"]>; notes: z.ZodOptional; }, "strip", z.ZodTypeAny, { visibility: "terreiro" | "only_me" | "leaders"; developmentStage: "confirmed" | "initial_contact" | "developing" | "active_work"; entityId?: string | undefined; lineId?: string | undefined; notes?: string | undefined; entityName?: string | undefined; }, { visibility: "terreiro" | "only_me" | "leaders"; developmentStage: "confirmed" | "initial_contact" | "developing" | "active_work"; entityId?: string | undefined; lineId?: string | undefined; notes?: string | undefined; entityName?: string | undefined; }>; /** Payload for editing an existing record; `notes: null` clears the notes. */ declare const EditSpiritualProfileInputSchema: z.ZodObject<{ developmentStage: z.ZodOptional>; visibility: z.ZodEnum<["only_me", "leaders", "terreiro"]>; notes: z.ZodNullable; }, "strip", z.ZodTypeAny, { visibility: "terreiro" | "only_me" | "leaders"; notes: string | null; developmentStage?: "confirmed" | "initial_contact" | "developing" | "active_work" | undefined; }, { visibility: "terreiro" | "only_me" | "leaders"; notes: string | null; developmentStage?: "confirmed" | "initial_contact" | "developing" | "active_work" | undefined; }>; declare const SpiritualProfilePagePropsSchema: z.ZodObject<{ lines: z.ZodArray, "many">; entities: z.ZodDefault; terreiroId: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; line: string; name: string; lineId: string; isCustom: boolean; side: "left" | "right" | "neutral"; terreiroId?: string | null | undefined; }, { id: string; line: string; name: string; lineId: string; isCustom: boolean; side: "left" | "right" | "neutral"; terreiroId?: string | null | undefined; }>, "many">>; items: z.ZodArray; line: z.ZodString; /** Stored value or its display label (e.g. "Lideranças"). */ visibility: z.ZodUnion<[z.ZodEnum<["only_me", "leaders", "terreiro"]>, z.ZodEnum<["Somente eu", "Lideranças", "Todo terreiro"]>]>; /** Stored value or its display label (e.g. "Contato inicial"). */ developmentStage: z.ZodNullable, z.ZodEnum<["Contato inicial", "Em desenvolvimento", "Confirmado", "Trabalho ativo"]>]>>; notes: z.ZodOptional>; name: z.ZodOptional; createdAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; visibility: "terreiro" | "only_me" | "leaders" | "Somente eu" | "Lideranças" | "Todo terreiro"; line: string; type: "line" | "entity"; createdAt: string; developmentStage: "Confirmado" | "confirmed" | "initial_contact" | "developing" | "active_work" | "Contato inicial" | "Em desenvolvimento" | "Trabalho ativo" | null; name?: string | undefined; notes?: string | null | undefined; }, { id: string; visibility: "terreiro" | "only_me" | "leaders" | "Somente eu" | "Lideranças" | "Todo terreiro"; line: string; type: "line" | "entity"; createdAt: string; developmentStage: "Confirmado" | "confirmed" | "initial_contact" | "developing" | "active_work" | "Contato inicial" | "Em desenvolvimento" | "Trabalho ativo" | null; name?: string | undefined; notes?: string | null | undefined; }>, "many">; analytics: z.ZodOptional, "many">; }, "strip", z.ZodTypeAny, { topLines: { line: string; count: number; }[]; totalMediums: number; totalEntities: number; }, { topLines: { line: string; count: number; }[]; totalMediums: number; totalEntities: number; }>>; isLoading: z.ZodOptional; error: z.ZodOptional>; onRetry: z.ZodOptional, z.ZodVoid>>; onAdd: z.ZodFunction; entityId: z.ZodOptional; entityName: z.ZodOptional; developmentStage: z.ZodEnum<["initial_contact", "developing", "confirmed", "active_work"]>; visibility: z.ZodEnum<["only_me", "leaders", "terreiro"]>; notes: z.ZodOptional; }, "strip", z.ZodTypeAny, { visibility: "terreiro" | "only_me" | "leaders"; developmentStage: "confirmed" | "initial_contact" | "developing" | "active_work"; entityId?: string | undefined; lineId?: string | undefined; notes?: string | undefined; entityName?: string | undefined; }, { visibility: "terreiro" | "only_me" | "leaders"; developmentStage: "confirmed" | "initial_contact" | "developing" | "active_work"; entityId?: string | undefined; lineId?: string | undefined; notes?: string | undefined; entityName?: string | undefined; }>], z.ZodUnknown>, z.ZodPromise>; onRemove: z.ZodFunction, z.ZodPromise>; /** When provided, each record shows an "Editar" action that opens an edit dialog. */ onEdit: z.ZodOptional>; visibility: z.ZodEnum<["only_me", "leaders", "terreiro"]>; notes: z.ZodNullable; }, "strip", z.ZodTypeAny, { visibility: "terreiro" | "only_me" | "leaders"; notes: string | null; developmentStage?: "confirmed" | "initial_contact" | "developing" | "active_work" | undefined; }, { visibility: "terreiro" | "only_me" | "leaders"; notes: string | null; developmentStage?: "confirmed" | "initial_contact" | "developing" | "active_work" | undefined; }>], z.ZodUnknown>, z.ZodPromise>>; onBack: z.ZodOptional, z.ZodVoid>>; onAddClick: z.ZodOptional, z.ZodVoid>>; canViewAnalytics: z.ZodOptional; canAdd: z.ZodDefault>; hideAddForm: z.ZodDefault>; hideAddFab: z.ZodDefault>; /** Terreiro-linked medium (default) vs personal account without terreiro. */ profileScope: z.ZodDefault>>; }, "strip", z.ZodTypeAny, { items: { id: string; visibility: "terreiro" | "only_me" | "leaders" | "Somente eu" | "Lideranças" | "Todo terreiro"; line: string; type: "line" | "entity"; createdAt: string; developmentStage: "Confirmado" | "confirmed" | "initial_contact" | "developing" | "active_work" | "Contato inicial" | "Em desenvolvimento" | "Trabalho ativo" | null; name?: string | undefined; notes?: string | null | undefined; }[]; onAdd: (args_0: { visibility: "terreiro" | "only_me" | "leaders"; developmentStage: "confirmed" | "initial_contact" | "developing" | "active_work"; entityId?: string | undefined; lineId?: string | undefined; notes?: string | undefined; entityName?: string | undefined; }, ...args: unknown[]) => Promise; canAdd: boolean; hideAddFab: boolean; lines: { id: string; name: string; }[]; entities: { id: string; line: string; name: string; lineId: string; isCustom: boolean; side: "left" | "right" | "neutral"; terreiroId?: string | null | undefined; }[]; onRemove: (args_0: string, ...args: unknown[]) => Promise; hideAddForm: boolean; profileScope: "terreiro" | "personal"; error?: string | null | undefined; onBack?: ((...args: unknown[]) => void) | undefined; onRetry?: ((...args: unknown[]) => void) | undefined; isLoading?: boolean | undefined; onEdit?: ((args_0: string, args_1: { visibility: "terreiro" | "only_me" | "leaders"; notes: string | null; developmentStage?: "confirmed" | "initial_contact" | "developing" | "active_work" | undefined; }, ...args: unknown[]) => Promise) | undefined; analytics?: { topLines: { line: string; count: number; }[]; totalMediums: number; totalEntities: number; } | undefined; onAddClick?: ((...args: unknown[]) => void) | undefined; canViewAnalytics?: boolean | undefined; }, { items: { id: string; visibility: "terreiro" | "only_me" | "leaders" | "Somente eu" | "Lideranças" | "Todo terreiro"; line: string; type: "line" | "entity"; createdAt: string; developmentStage: "Confirmado" | "confirmed" | "initial_contact" | "developing" | "active_work" | "Contato inicial" | "Em desenvolvimento" | "Trabalho ativo" | null; name?: string | undefined; notes?: string | null | undefined; }[]; onAdd: (args_0: { visibility: "terreiro" | "only_me" | "leaders"; developmentStage: "confirmed" | "initial_contact" | "developing" | "active_work"; entityId?: string | undefined; lineId?: string | undefined; notes?: string | undefined; entityName?: string | undefined; }, ...args: unknown[]) => Promise; lines: { id: string; name: string; }[]; onRemove: (args_0: string, ...args: unknown[]) => Promise; error?: string | null | undefined; onBack?: ((...args: unknown[]) => void) | undefined; onRetry?: ((...args: unknown[]) => void) | undefined; isLoading?: boolean | undefined; canAdd?: boolean | undefined; onEdit?: ((args_0: string, args_1: { visibility: "terreiro" | "only_me" | "leaders"; notes: string | null; developmentStage?: "confirmed" | "initial_contact" | "developing" | "active_work" | undefined; }, ...args: unknown[]) => Promise) | undefined; hideAddFab?: boolean | undefined; entities?: { id: string; line: string; name: string; lineId: string; isCustom: boolean; side: "left" | "right" | "neutral"; terreiroId?: string | null | undefined; }[] | undefined; analytics?: { topLines: { line: string; count: number; }[]; totalMediums: number; totalEntities: number; } | undefined; onAddClick?: ((...args: unknown[]) => void) | undefined; canViewAnalytics?: boolean | undefined; hideAddForm?: boolean | undefined; profileScope?: "terreiro" | "personal" | undefined; }>; type SpiritualDevelopmentStage = z.infer; type SpiritualVisibility = z.infer; type SpiritualProfileScope = z.infer; type SpiritualDevelopmentStageLabel = z.infer; type SpiritualVisibilityLabel = z.infer; type SpiritualLine = z.infer; type SpiritualProfileItem = z.infer; type SpiritualAnalyticsSummary = z.infer; type AddSpiritualProfileInput = z.infer; type EditSpiritualProfileInput = z.infer; type SpiritualProfilePageProps = z.infer; declare const SpiritualProfilePage: React__default.FC; declare const useSpiritualProfilePage: (props: SpiritualProfilePageProps) => { data: { lines: { id: string; name: string; }[]; sortedItems: { id: string; visibility: "terreiro" | "only_me" | "leaders" | "Somente eu" | "Lideranças" | "Todo terreiro"; line: string; type: "line" | "entity"; createdAt: string; developmentStage: "Confirmado" | "confirmed" | "initial_contact" | "developing" | "active_work" | "Contato inicial" | "Em desenvolvimento" | "Trabalho ativo" | null; name?: string | undefined; notes?: string | null | undefined; }[]; analytics: { topLines: { line: string; count: number; }[]; totalMediums: number; totalEntities: number; } | undefined; isLoading: boolean; error: string | null; canViewAnalytics: boolean; canAdd: boolean; hideAddForm: boolean; hideAddFab: boolean; profileScope: "terreiro" | "personal"; visibilityOptions: readonly { value: SpiritualVisibility; label: SpiritualVisibilityLabel; }[]; isEmpty: boolean; showEmptyCta: boolean; lineId: string; entityId: string; entitySearch: string; visibleEntities: { id: string; line: string; name: string; lineId: string; isCustom: boolean; side: "left" | "right" | "neutral"; terreiroId?: string | null | undefined; }[]; filteredEntities: { id: string; line: string; name: string; lineId: string; isCustom: boolean; side: "left" | "right" | "neutral"; terreiroId?: string | null | undefined; }[]; entityName: string; developmentStage: "confirmed" | "initial_contact" | "developing" | "active_work"; visibility: "terreiro" | "only_me" | "leaders"; notes: string; isSaving: boolean; isRemovingId: string | null; canEdit: boolean; editingItem: { id: string; visibility: "terreiro" | "only_me" | "leaders" | "Somente eu" | "Lideranças" | "Todo terreiro"; line: string; type: "line" | "entity"; createdAt: string; developmentStage: "Confirmado" | "confirmed" | "initial_contact" | "developing" | "active_work" | "Contato inicial" | "Em desenvolvimento" | "Trabalho ativo" | null; name?: string | undefined; notes?: string | null | undefined; } | null; editDevelopmentStage: "" | "confirmed" | "initial_contact" | "developing" | "active_work"; editVisibility: "terreiro" | "only_me" | "leaders"; editNotes: string; isUpdating: boolean; }; fns: { setLineId: React$1.Dispatch>; setEntityId: React$1.Dispatch>; setEntitySearch: React$1.Dispatch>; setEntityName: React$1.Dispatch>; setDevelopmentStage: React$1.Dispatch>; setVisibility: React$1.Dispatch>; setNotes: React$1.Dispatch>; handleAdd: () => Promise; handleRemove: (id: string) => Promise; openEdit: (item: SpiritualProfileItem) => void; closeEdit: () => void; setEditDevelopmentStage: React$1.Dispatch>; setEditVisibility: React$1.Dispatch>; setEditNotes: React$1.Dispatch>; handleEditSubmit: () => Promise; handleRetry: () => void | undefined; handleAddClick: () => void | undefined; handleBack: () => void | undefined; }; }; /** Default load error copy for consumers (e.g. ilovemacumba-app). */ declare const SPIRITUAL_PROFILE_LOAD_ERROR = "N\u00E3o foi poss\u00EDvel carregar o perfil espiritual."; declare const getVisibilityOptionsForScope: (profileScope?: SpiritualProfileScope) => readonly { value: SpiritualVisibility; label: SpiritualVisibilityLabel; }[]; declare const MediumListPagePropsSchema: z.ZodObject<{ mediums: z.ZodArray; user: z.ZodObject<{ id: z.ZodString; email: z.ZodString; profile: z.ZodObject<{ firstName: z.ZodString; lastName: z.ZodString; avatarUrl: z.ZodNullable; /** Optional badge tier for profile verification */ badgeTier: z.ZodOptional>; }, "strip", z.ZodTypeAny, { firstName: string; lastName: string; avatarUrl: string | null; badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined; }, { firstName: string; lastName: string; avatarUrl: string | null; badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined; }>; }, "strip", z.ZodTypeAny, { id: string; email: string; profile: { firstName: string; lastName: string; avatarUrl: string | null; badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined; }; }, { id: string; email: string; profile: { firstName: string; lastName: string; avatarUrl: string | null; badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined; }; }>; status: z.ZodEnum<["WAITING_APPROVAL", "NOT_APPROVED", "ACTIVE", "INACTIVE", "SUSPENDED", "TRANSFERRED", "DECEASED", "RETIRED", "ON_LEAVE", "EXPELLED", "INITIATING", "VISITOR"]>; profileCompletion: z.ZodOptional; }, "strip", z.ZodTypeAny, { percent: number | null; }, { percent: number | null; }>>; initiationDate: z.ZodNullable; ranks: z.ZodArray, "many">; roles: z.ZodArray, "many">; createdBy: z.ZodNullable; updatedBy: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; status: "ACTIVE" | "WAITING_APPROVAL" | "NOT_APPROVED" | "INACTIVE" | "SUSPENDED" | "TRANSFERRED" | "DECEASED" | "RETIRED" | "ON_LEAVE" | "EXPELLED" | "INITIATING" | "VISITOR"; updatedAt: string; ranks: { id: string; name: string; }[]; roles: { id: string; name: string; }[]; initiationDate: string | null; user: { id: string; email: string; profile: { firstName: string; lastName: string; avatarUrl: string | null; badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined; }; }; createdAt: string; terreiro?: any; profileCompletion?: { percent: number | null; } | undefined; createdBy?: any; updatedBy?: any; }, { id: string; status: "ACTIVE" | "WAITING_APPROVAL" | "NOT_APPROVED" | "INACTIVE" | "SUSPENDED" | "TRANSFERRED" | "DECEASED" | "RETIRED" | "ON_LEAVE" | "EXPELLED" | "INITIATING" | "VISITOR"; updatedAt: string; ranks: { id: string; name: string; }[]; roles: { id: string; name: string; }[]; initiationDate: string | null; user: { id: string; email: string; profile: { firstName: string; lastName: string; avatarUrl: string | null; badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined; }; }; createdAt: string; terreiro?: any; profileCompletion?: { percent: number | null; } | undefined; createdBy?: any; updatedBy?: any; }>, "many">; isLoading: z.ZodOptional; onBack: z.ZodFunction, z.ZodVoid>; onAddMedium: z.ZodOptional, z.ZodVoid>>; onSelectMedium: z.ZodFunction, z.ZodVoid>; /** Initial status tab filter */ initialStatusTab: z.ZodOptional>; /** Initial sort option */ initialSortOption: z.ZodOptional>; /** Whether to show search bar */ showSearch: z.ZodOptional; /** Whether to show status tabs */ showStatusTabs: z.ZodOptional; /** Whether to show sort options */ showSort: z.ZodOptional; }, "strip", z.ZodTypeAny, { mediums: { id: string; status: "ACTIVE" | "WAITING_APPROVAL" | "NOT_APPROVED" | "INACTIVE" | "SUSPENDED" | "TRANSFERRED" | "DECEASED" | "RETIRED" | "ON_LEAVE" | "EXPELLED" | "INITIATING" | "VISITOR"; updatedAt: string; ranks: { id: string; name: string; }[]; roles: { id: string; name: string; }[]; initiationDate: string | null; user: { id: string; email: string; profile: { firstName: string; lastName: string; avatarUrl: string | null; badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined; }; }; createdAt: string; terreiro?: any; profileCompletion?: { percent: number | null; } | undefined; createdBy?: any; updatedBy?: any; }[]; onBack: () => void; onSelectMedium: (args_0: string) => void; isLoading?: boolean | undefined; showSearch?: boolean | undefined; onAddMedium?: (() => void) | undefined; initialStatusTab?: "ACTIVE" | "WAITING_APPROVAL" | "INACTIVE" | "OTHER" | "ALL" | undefined; initialSortOption?: "NAME_ASC" | "NAME_DESC" | "RECENT" | "INITIATION_DATE" | undefined; showStatusTabs?: boolean | undefined; showSort?: boolean | undefined; }, { mediums: { id: string; status: "ACTIVE" | "WAITING_APPROVAL" | "NOT_APPROVED" | "INACTIVE" | "SUSPENDED" | "TRANSFERRED" | "DECEASED" | "RETIRED" | "ON_LEAVE" | "EXPELLED" | "INITIATING" | "VISITOR"; updatedAt: string; ranks: { id: string; name: string; }[]; roles: { id: string; name: string; }[]; initiationDate: string | null; user: { id: string; email: string; profile: { firstName: string; lastName: string; avatarUrl: string | null; badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined; }; }; createdAt: string; terreiro?: any; profileCompletion?: { percent: number | null; } | undefined; createdBy?: any; updatedBy?: any; }[]; onBack: () => void; onSelectMedium: (args_0: string) => void; isLoading?: boolean | undefined; showSearch?: boolean | undefined; onAddMedium?: (() => void) | undefined; initialStatusTab?: "ACTIVE" | "WAITING_APPROVAL" | "INACTIVE" | "OTHER" | "ALL" | undefined; initialSortOption?: "NAME_ASC" | "NAME_DESC" | "RECENT" | "INITIATION_DATE" | undefined; showStatusTabs?: boolean | undefined; showSort?: boolean | undefined; }>; type MediumListPageProps = z.infer; declare const MediumListPage: React__default.FC; declare const MediumProfilePagePropsSchema: z.ZodObject<{ profile: z.ZodOptional; avatarUrl: z.ZodOptional; guardianName: z.ZodOptional>; guardianPhone: z.ZodOptional>; guardianRelationship: z.ZodOptional>; RG: z.ZodOptional; CPF: z.ZodOptional; documentType: z.ZodEnum<["RG", "CPF"]>; document: z.ZodString; marital_status: z.ZodOptional>; education_level: z.ZodOptional>; profession: z.ZodOptional; }, "strip", z.ZodTypeAny, { document: string; firstName: string; lastName: string; documentType: "CPF" | "RG"; avatarUrl?: string | undefined; birthDate?: string | undefined; guardianName?: string | null | undefined; guardianPhone?: string | null | undefined; guardianRelationship?: string | null | undefined; CPF?: string | undefined; RG?: string | undefined; marital_status?: "single" | "married" | "divorced" | "widowed" | "separated" | undefined; education_level?: "elementary" | "highschool" | "college" | "postgrad" | "master" | "doctorate" | undefined; profession?: string | undefined; }, { document: string; firstName: string; lastName: string; documentType: "CPF" | "RG"; avatarUrl?: string | undefined; birthDate?: string | undefined; guardianName?: string | null | undefined; guardianPhone?: string | null | undefined; guardianRelationship?: string | null | undefined; CPF?: string | undefined; RG?: string | undefined; marital_status?: "single" | "married" | "divorced" | "widowed" | "separated" | undefined; education_level?: "elementary" | "highschool" | "college" | "postgrad" | "master" | "doctorate" | undefined; profession?: string | undefined; }>>; onBack: z.ZodFunction, z.ZodVoid>; onSave: z.ZodOptional; avatarUrl: z.ZodOptional; guardianName: z.ZodOptional>; guardianPhone: z.ZodOptional>; guardianRelationship: z.ZodOptional>; RG: z.ZodOptional; CPF: z.ZodOptional; documentType: z.ZodEnum<["RG", "CPF"]>; document: z.ZodString; marital_status: z.ZodOptional>; education_level: z.ZodOptional>; profession: z.ZodOptional; }, "strip", z.ZodTypeAny, { document: string; firstName: string; lastName: string; documentType: "CPF" | "RG"; avatarUrl?: string | undefined; birthDate?: string | undefined; guardianName?: string | null | undefined; guardianPhone?: string | null | undefined; guardianRelationship?: string | null | undefined; CPF?: string | undefined; RG?: string | undefined; marital_status?: "single" | "married" | "divorced" | "widowed" | "separated" | undefined; education_level?: "elementary" | "highschool" | "college" | "postgrad" | "master" | "doctorate" | undefined; profession?: string | undefined; }, { document: string; firstName: string; lastName: string; documentType: "CPF" | "RG"; avatarUrl?: string | undefined; birthDate?: string | undefined; guardianName?: string | null | undefined; guardianPhone?: string | null | undefined; guardianRelationship?: string | null | undefined; CPF?: string | undefined; RG?: string | undefined; marital_status?: "single" | "married" | "divorced" | "widowed" | "separated" | undefined; education_level?: "elementary" | "highschool" | "college" | "postgrad" | "master" | "doctorate" | undefined; profession?: string | undefined; }>], null>, z.ZodVoid>>; onProfileLoad: z.ZodOptional; avatarUrl: z.ZodOptional; guardianName: z.ZodOptional>; guardianPhone: z.ZodOptional>; guardianRelationship: z.ZodOptional>; RG: z.ZodOptional; CPF: z.ZodOptional; documentType: z.ZodEnum<["RG", "CPF"]>; document: z.ZodString; marital_status: z.ZodOptional>; education_level: z.ZodOptional>; profession: z.ZodOptional; }, "strip", z.ZodTypeAny, { document: string; firstName: string; lastName: string; documentType: "CPF" | "RG"; avatarUrl?: string | undefined; birthDate?: string | undefined; guardianName?: string | null | undefined; guardianPhone?: string | null | undefined; guardianRelationship?: string | null | undefined; CPF?: string | undefined; RG?: string | undefined; marital_status?: "single" | "married" | "divorced" | "widowed" | "separated" | undefined; education_level?: "elementary" | "highschool" | "college" | "postgrad" | "master" | "doctorate" | undefined; profession?: string | undefined; }, { document: string; firstName: string; lastName: string; documentType: "CPF" | "RG"; avatarUrl?: string | undefined; birthDate?: string | undefined; guardianName?: string | null | undefined; guardianPhone?: string | null | undefined; guardianRelationship?: string | null | undefined; CPF?: string | undefined; RG?: string | undefined; marital_status?: "single" | "married" | "divorced" | "widowed" | "separated" | undefined; education_level?: "elementary" | "highschool" | "college" | "postgrad" | "master" | "doctorate" | undefined; profession?: string | undefined; }>], null>, z.ZodVoid>>; canExportHistory: z.ZodOptional; isExportingHistory: z.ZodOptional; onExportHistory: z.ZodOptional, z.ZodVoid>>; isLoading: z.ZodOptional; error: z.ZodOptional; }, "strip", z.ZodTypeAny, { onBack: () => void; error?: string | undefined; profile?: { document: string; firstName: string; lastName: string; documentType: "CPF" | "RG"; avatarUrl?: string | undefined; birthDate?: string | undefined; guardianName?: string | null | undefined; guardianPhone?: string | null | undefined; guardianRelationship?: string | null | undefined; CPF?: string | undefined; RG?: string | undefined; marital_status?: "single" | "married" | "divorced" | "widowed" | "separated" | undefined; education_level?: "elementary" | "highschool" | "college" | "postgrad" | "master" | "doctorate" | undefined; profession?: string | undefined; } | undefined; canExportHistory?: boolean | undefined; isExportingHistory?: boolean | undefined; onExportHistory?: (() => void) | undefined; isLoading?: boolean | undefined; onSave?: ((args_0: { document: string; firstName: string; lastName: string; documentType: "CPF" | "RG"; avatarUrl?: string | undefined; birthDate?: string | undefined; guardianName?: string | null | undefined; guardianPhone?: string | null | undefined; guardianRelationship?: string | null | undefined; CPF?: string | undefined; RG?: string | undefined; marital_status?: "single" | "married" | "divorced" | "widowed" | "separated" | undefined; education_level?: "elementary" | "highschool" | "college" | "postgrad" | "master" | "doctorate" | undefined; profession?: string | undefined; }) => void) | undefined; onProfileLoad?: ((args_0: { document: string; firstName: string; lastName: string; documentType: "CPF" | "RG"; avatarUrl?: string | undefined; birthDate?: string | undefined; guardianName?: string | null | undefined; guardianPhone?: string | null | undefined; guardianRelationship?: string | null | undefined; CPF?: string | undefined; RG?: string | undefined; marital_status?: "single" | "married" | "divorced" | "widowed" | "separated" | undefined; education_level?: "elementary" | "highschool" | "college" | "postgrad" | "master" | "doctorate" | undefined; profession?: string | undefined; }) => void) | undefined; }, { onBack: () => void; error?: string | undefined; profile?: { document: string; firstName: string; lastName: string; documentType: "CPF" | "RG"; avatarUrl?: string | undefined; birthDate?: string | undefined; guardianName?: string | null | undefined; guardianPhone?: string | null | undefined; guardianRelationship?: string | null | undefined; CPF?: string | undefined; RG?: string | undefined; marital_status?: "single" | "married" | "divorced" | "widowed" | "separated" | undefined; education_level?: "elementary" | "highschool" | "college" | "postgrad" | "master" | "doctorate" | undefined; profession?: string | undefined; } | undefined; canExportHistory?: boolean | undefined; isExportingHistory?: boolean | undefined; onExportHistory?: (() => void) | undefined; isLoading?: boolean | undefined; onSave?: ((args_0: { document: string; firstName: string; lastName: string; documentType: "CPF" | "RG"; avatarUrl?: string | undefined; birthDate?: string | undefined; guardianName?: string | null | undefined; guardianPhone?: string | null | undefined; guardianRelationship?: string | null | undefined; CPF?: string | undefined; RG?: string | undefined; marital_status?: "single" | "married" | "divorced" | "widowed" | "separated" | undefined; education_level?: "elementary" | "highschool" | "college" | "postgrad" | "master" | "doctorate" | undefined; profession?: string | undefined; }) => void) | undefined; onProfileLoad?: ((args_0: { document: string; firstName: string; lastName: string; documentType: "CPF" | "RG"; avatarUrl?: string | undefined; birthDate?: string | undefined; guardianName?: string | null | undefined; guardianPhone?: string | null | undefined; guardianRelationship?: string | null | undefined; CPF?: string | undefined; RG?: string | undefined; marital_status?: "single" | "married" | "divorced" | "widowed" | "separated" | undefined; education_level?: "elementary" | "highschool" | "college" | "postgrad" | "master" | "doctorate" | undefined; profession?: string | undefined; }) => void) | undefined; }>; type MediumProfilePageProps = z.infer; declare const MediumProfilePage: React__default.FunctionComponent; /** * Main schema for MediumProfileView. * Uses extracted schemas for maintainability and readability. */ declare const MediumProfileViewSchema: z.ZodObject<{ id: z.ZodString; userId: z.ZodString; terreiroId: z.ZodString; canViewGuardianData: z.ZodOptional; initiationDate: z.ZodNullable; status: z.ZodEnum<["WAITING_APPROVAL", "ACTIVE", "INACTIVE", "SUSPENDED", "TRANSFERRED", "DECEASED", "RETIRED", "ON_LEAVE", "EXPELLED", "INITIATING", "VISITOR"]>; user: z.ZodObject<{ id: z.ZodString; email: z.ZodString; contacts: z.ZodArray; }, "strip", z.ZodTypeAny, { id: string; phone: string; contactPerson: string | null; }, { id: string; phone: string; contactPerson: string | null; }>, "many">; profile: z.ZodObject<{ id: z.ZodString; firstName: z.ZodString; lastName: z.ZodString; birthDate: z.ZodNullable; guardianName: z.ZodOptional>; guardianPhone: z.ZodOptional>; guardianRelationship: z.ZodOptional>; avatarUrl: z.ZodNullable; address: z.ZodObject<{ id: z.ZodString; street: z.ZodString; number: z.ZodString; complement: z.ZodString; neighborhood: z.ZodString; city: z.ZodString; state: z.ZodString; zipCode: z.ZodString; country: z.ZodString; }, "strip", z.ZodTypeAny, { number: string; id: string; country: string; state: string; street: string; complement: string; neighborhood: string; city: string; zipCode: string; }, { number: string; id: string; country: string; state: string; street: string; complement: string; neighborhood: string; city: string; zipCode: string; }>; }, "strip", z.ZodTypeAny, { id: string; address: { number: string; id: string; country: string; state: string; street: string; complement: string; neighborhood: string; city: string; zipCode: string; }; firstName: string; lastName: string; avatarUrl: string | null; birthDate: string | null; guardianName?: string | null | undefined; guardianPhone?: string | null | undefined; guardianRelationship?: string | null | undefined; }, { id: string; address: { number: string; id: string; country: string; state: string; street: string; complement: string; neighborhood: string; city: string; zipCode: string; }; firstName: string; lastName: string; avatarUrl: string | null; birthDate: string | null; guardianName?: string | null | undefined; guardianPhone?: string | null | undefined; guardianRelationship?: string | null | undefined; }>; }, "strip", z.ZodTypeAny, { id: string; email: string; contacts: { id: string; phone: string; contactPerson: string | null; }[]; profile: { id: string; address: { number: string; id: string; country: string; state: string; street: string; complement: string; neighborhood: string; city: string; zipCode: string; }; firstName: string; lastName: string; avatarUrl: string | null; birthDate: string | null; guardianName?: string | null | undefined; guardianPhone?: string | null | undefined; guardianRelationship?: string | null | undefined; }; }, { id: string; email: string; contacts: { id: string; phone: string; contactPerson: string | null; }[]; profile: { id: string; address: { number: string; id: string; country: string; state: string; street: string; complement: string; neighborhood: string; city: string; zipCode: string; }; firstName: string; lastName: string; avatarUrl: string | null; birthDate: string | null; guardianName?: string | null | undefined; guardianPhone?: string | null | undefined; guardianRelationship?: string | null | undefined; }; }>; ranks: z.ZodArray; }, "strip", z.ZodTypeAny, { id: string; date: string; mediumId: string; rankId: string; rank: { id: string; name: string; description: string; level: number; }; }, { id: string; date: string; mediumId: string; rankId: string; rank: { id: string; name: string; description: string; level: number; }; }>, "many">; roles: z.ZodArray; role: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; description: string; }, { id: string; name: string; description: string; }>; }, "strip", z.ZodTypeAny, { id: string; role: { id: string; name: string; description: string; }; startDate: string; endDate: string | null; mediumId: string; roleId: string; }, { id: string; role: { id: string; name: string; description: string; }; startDate: string; endDate: string | null; mediumId: string; roleId: string; }>, "many">; }, "strip", z.ZodTypeAny, { id: string; status: "ACTIVE" | "WAITING_APPROVAL" | "INACTIVE" | "SUSPENDED" | "TRANSFERRED" | "DECEASED" | "RETIRED" | "ON_LEAVE" | "EXPELLED" | "INITIATING" | "VISITOR"; ranks: { id: string; date: string; mediumId: string; rankId: string; rank: { id: string; name: string; description: string; level: number; }; }[]; roles: { id: string; role: { id: string; name: string; description: string; }; startDate: string; endDate: string | null; mediumId: string; roleId: string; }[]; userId: string; terreiroId: string; initiationDate: string | null; user: { id: string; email: string; contacts: { id: string; phone: string; contactPerson: string | null; }[]; profile: { id: string; address: { number: string; id: string; country: string; state: string; street: string; complement: string; neighborhood: string; city: string; zipCode: string; }; firstName: string; lastName: string; avatarUrl: string | null; birthDate: string | null; guardianName?: string | null | undefined; guardianPhone?: string | null | undefined; guardianRelationship?: string | null | undefined; }; }; canViewGuardianData?: boolean | undefined; }, { id: string; status: "ACTIVE" | "WAITING_APPROVAL" | "INACTIVE" | "SUSPENDED" | "TRANSFERRED" | "DECEASED" | "RETIRED" | "ON_LEAVE" | "EXPELLED" | "INITIATING" | "VISITOR"; ranks: { id: string; date: string; mediumId: string; rankId: string; rank: { id: string; name: string; description: string; level: number; }; }[]; roles: { id: string; role: { id: string; name: string; description: string; }; startDate: string; endDate: string | null; mediumId: string; roleId: string; }[]; userId: string; terreiroId: string; initiationDate: string | null; user: { id: string; email: string; contacts: { id: string; phone: string; contactPerson: string | null; }[]; profile: { id: string; address: { number: string; id: string; country: string; state: string; street: string; complement: string; neighborhood: string; city: string; zipCode: string; }; firstName: string; lastName: string; avatarUrl: string | null; birthDate: string | null; guardianName?: string | null | undefined; guardianPhone?: string | null | undefined; guardianRelationship?: string | null | undefined; }; }; canViewGuardianData?: boolean | undefined; }>; declare const PendingApprovalRequestSchema: z.ZodObject<{ hasPendingRequest: z.ZodBoolean; request: z.ZodNullable; status: z.ZodEnum<["PENDING", "APPROVED", "REJECTED", "CANCELLED"]>; description: z.ZodOptional; consentSummary: z.ZodOptional; acknowledgedFee: z.ZodOptional; requiresPrivacyPolicy: z.ZodOptional; requiresMonthlyFeeAcknowledgement: z.ZodOptional; feeAmountSnapshot: z.ZodOptional; feeDueDaySnapshot: z.ZodOptional; }, "strip", z.ZodTypeAny, { acceptedPrivacyPolicy?: boolean | undefined; acknowledgedFee?: boolean | undefined; requiresPrivacyPolicy?: boolean | undefined; requiresMonthlyFeeAcknowledgement?: boolean | undefined; feeAmountSnapshot?: number | undefined; feeDueDaySnapshot?: number | undefined; }, { acceptedPrivacyPolicy?: boolean | undefined; acknowledgedFee?: boolean | undefined; requiresPrivacyPolicy?: boolean | undefined; requiresMonthlyFeeAcknowledgement?: boolean | undefined; feeAmountSnapshot?: number | undefined; feeDueDaySnapshot?: number | undefined; }>>; }, "strip", z.ZodTypeAny, { id: string; type: "MEDIUM_APPROVAL" | "ROLE_CHANGE" | "RANK_CHANGE" | "STATUS_CHANGE"; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED"; description?: string | undefined; consentSummary?: { acceptedPrivacyPolicy?: boolean | undefined; acknowledgedFee?: boolean | undefined; requiresPrivacyPolicy?: boolean | undefined; requiresMonthlyFeeAcknowledgement?: boolean | undefined; feeAmountSnapshot?: number | undefined; feeDueDaySnapshot?: number | undefined; } | undefined; }, { id: string; type: "MEDIUM_APPROVAL" | "ROLE_CHANGE" | "RANK_CHANGE" | "STATUS_CHANGE"; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED"; description?: string | undefined; consentSummary?: { acceptedPrivacyPolicy?: boolean | undefined; acknowledgedFee?: boolean | undefined; requiresPrivacyPolicy?: boolean | undefined; requiresMonthlyFeeAcknowledgement?: boolean | undefined; feeAmountSnapshot?: number | undefined; feeDueDaySnapshot?: number | undefined; } | undefined; }>>; profileCompletion: z.ZodOptional; totalRequired: z.ZodNumber; completedRequired: z.ZodNumber; missingFields: z.ZodArray; missingSections: z.ZodArray; }, "strip", z.ZodTypeAny, { percent: number | null; totalRequired: number; completedRequired: number; missingFields: string[]; missingSections: string[]; }, { percent: number | null; totalRequired: number; completedRequired: number; missingFields: string[]; missingSections: string[]; }>>; }, "strip", z.ZodTypeAny, { hasPendingRequest: boolean; request: { id: string; type: "MEDIUM_APPROVAL" | "ROLE_CHANGE" | "RANK_CHANGE" | "STATUS_CHANGE"; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED"; description?: string | undefined; consentSummary?: { acceptedPrivacyPolicy?: boolean | undefined; acknowledgedFee?: boolean | undefined; requiresPrivacyPolicy?: boolean | undefined; requiresMonthlyFeeAcknowledgement?: boolean | undefined; feeAmountSnapshot?: number | undefined; feeDueDaySnapshot?: number | undefined; } | undefined; } | null; profileCompletion?: { percent: number | null; totalRequired: number; completedRequired: number; missingFields: string[]; missingSections: string[]; } | undefined; }, { hasPendingRequest: boolean; request: { id: string; type: "MEDIUM_APPROVAL" | "ROLE_CHANGE" | "RANK_CHANGE" | "STATUS_CHANGE"; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED"; description?: string | undefined; consentSummary?: { acceptedPrivacyPolicy?: boolean | undefined; acknowledgedFee?: boolean | undefined; requiresPrivacyPolicy?: boolean | undefined; requiresMonthlyFeeAcknowledgement?: boolean | undefined; feeAmountSnapshot?: number | undefined; feeDueDaySnapshot?: number | undefined; } | undefined; } | null; profileCompletion?: { percent: number | null; totalRequired: number; completedRequired: number; missingFields: string[]; missingSections: string[]; } | undefined; }>; type PendingApprovalRequest = z.infer; declare const RequestHistoryItemSchema: z.ZodObject<{ id: z.ZodString; type: z.ZodEnum<["MEDIUM_APPROVAL", "ROLE_CHANGE", "RANK_CHANGE", "STATUS_CHANGE"]>; status: z.ZodEnum<["PENDING", "APPROVED", "REJECTED", "CANCELLED"]>; description: z.ZodOptional; reviewNotes: z.ZodOptional; reviewDate: z.ZodOptional; createdAt: z.ZodString; updatedAt: z.ZodString; metadata: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; type: "MEDIUM_APPROVAL" | "ROLE_CHANGE" | "RANK_CHANGE" | "STATUS_CHANGE"; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED"; updatedAt: string; createdAt: string; metadata?: any; description?: string | undefined; reviewNotes?: string | undefined; reviewDate?: string | undefined; }, { id: string; type: "MEDIUM_APPROVAL" | "ROLE_CHANGE" | "RANK_CHANGE" | "STATUS_CHANGE"; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED"; updatedAt: string; createdAt: string; metadata?: any; description?: string | undefined; reviewNotes?: string | undefined; reviewDate?: string | undefined; }>; type RequestHistoryItem = z.infer; type UpdateRequestStatusType = "ACCEPT" | "REJECT" | undefined; /** * Schema for available roles passed to the role management card. */ declare const AvailableRoleSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; name: string; description?: string | null | undefined; }, { id: string; name: string; description?: string | null | undefined; }>; declare const AvailableRankSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; name: string; description?: string | null | undefined; }, { id: string; name: string; description?: string | null | undefined; }>; type AvailableRole = z.infer; type AvailableRank = z.infer; interface MediumProfileViewPageProps { medium: MediumProfileView; isAdmin: boolean; /** Whether the user is viewing from a personal (non-terreiro) profile */ isPersonalProfile?: boolean; /** Badge tier for profile verification display */ badgeTier?: BadgeTier$2; pendingApprovalRequest?: PendingApprovalRequest; isPendingApprovalSuccess: boolean; isPendingApprovalLoading: boolean; isUpdatingRequestStatus?: boolean; updateRequestStatusType?: UpdateRequestStatusType; updateRequestStatusError?: string | null; onBack: () => void; onReject?: (requestId: string, notes: string) => void; onAccept?: (requestId: string) => void; /** Whether the current user can manage approval requests */ canManageRequests?: boolean; requestHistory?: RequestHistoryItem[]; isLoadingRequestHistory?: boolean; requestHistoryError?: string | null; /** Whether the current user can manage this medium's roles */ canManageRoles?: boolean; /** Whether the current user can manage this medium's graduation */ canManageRanks?: boolean; /** Whether this is the current user's own profile (blocks self-assignment) */ isSelf?: boolean; /** All available roles in the terreiro (for the multi-select dropdown) */ availableRoles?: AvailableRole[]; /** All available graduations for the medium edit dropdown */ availableRanks?: AvailableRank[]; /** Callback when roles are saved */ onSaveRoles?: (roleIds: string[]) => void; /** Callback when the selected graduation is saved */ onSaveRank?: (rankId: string | null) => void; /** Whether role save is in progress */ isSavingRoles?: boolean; /** Whether rank save is in progress */ isSavingRank?: boolean; /** Error message from role save attempt */ saveRolesError?: string | null; /** Error message from rank save attempt */ saveRankError?: string | null; /** Whether export history action should be shown */ canExportHistory?: boolean; /** Whether export request is currently in progress */ isExportingHistory?: boolean; /** Callback to export medium history as XML */ onExportHistory?: () => void; } type MediumProfileView = z.infer; declare const _default$3: React$1.NamedExoticComponent; declare const AddressInfoSchema: z.ZodObject<{ street: z.ZodString; number: z.ZodString; complement: z.ZodOptional; neighborhood: z.ZodString; city: z.ZodString; state: z.ZodString; zipCode: z.ZodString; }, "strip", z.ZodTypeAny, { number: string; state: string; street: string; neighborhood: string; city: string; zipCode: string; complement?: string | undefined; }, { number: string; state: string; street: string; neighborhood: string; city: string; zipCode: string; complement?: string | undefined; }>; declare const PasswordInfoSchemaWithConfirmation: z.ZodEffects, { password: string; confirmPassword: string; }, { password: string; confirmPassword: string; }>; declare const PersonalInfoSchema: z.ZodEffects; document: z.ZodString; phone: z.ZodString; contact: z.ZodString; guardianName: z.ZodOptional; guardianPhone: z.ZodOptional; guardianRelationship: z.ZodOptional; rankId: z.ZodString; roleId: z.ZodString; }, "strip", z.ZodTypeAny, { email: string; document: string; firstName: string; lastName: string; phone: string; birthDate: string; rankId: string; roleId: string; documentType: "CPF" | "RG"; contact: string; guardianName?: string | undefined; guardianPhone?: string | undefined; guardianRelationship?: string | undefined; }, { email: string; document: string; firstName: string; lastName: string; phone: string; birthDate: string; rankId: string; roleId: string; documentType: string; contact: string; guardianName?: string | undefined; guardianPhone?: string | undefined; guardianRelationship?: string | undefined; }>, { email: string; document: string; firstName: string; lastName: string; phone: string; birthDate: string; rankId: string; roleId: string; documentType: "CPF" | "RG"; contact: string; guardianName?: string | undefined; guardianPhone?: string | undefined; guardianRelationship?: string | undefined; }, { email: string; document: string; firstName: string; lastName: string; phone: string; birthDate: string; rankId: string; roleId: string; documentType: string; contact: string; guardianName?: string | undefined; guardianPhone?: string | undefined; guardianRelationship?: string | undefined; }>; declare const MediumRegistrationBaseSchema: z.ZodObject<{ firstName: z.ZodString; lastName: z.ZodString; email: z.ZodString; birthDate: z.ZodString; document: z.ZodString; phone: z.ZodString; contact: z.ZodString; guardianName: z.ZodOptional; guardianPhone: z.ZodOptional; guardianRelationship: z.ZodOptional; rankId: z.ZodString; roleId: z.ZodString; } & { documentType: z.ZodEnum<["RG", "CPF", ""]>; initiationDate: z.ZodEffects; } & { street: z.ZodString; number: z.ZodString; complement: z.ZodOptional; neighborhood: z.ZodString; city: z.ZodString; state: z.ZodString; zipCode: z.ZodString; } & { password: z.ZodString; confirmPassword: z.ZodString; }, "strip", z.ZodTypeAny, { number: string; email: string; password: string; document: string; state: string; firstName: string; lastName: string; street: string; neighborhood: string; city: string; zipCode: string; phone: string; birthDate: string; rankId: string; roleId: string; initiationDate: string; documentType: "" | "CPF" | "RG"; contact: string; confirmPassword: string; complement?: string | undefined; guardianName?: string | undefined; guardianPhone?: string | undefined; guardianRelationship?: string | undefined; }, { number: string; email: string; password: string; document: string; state: string; firstName: string; lastName: string; street: string; neighborhood: string; city: string; zipCode: string; phone: string; birthDate: string; rankId: string; roleId: string; initiationDate: string; documentType: "" | "CPF" | "RG"; contact: string; confirmPassword: string; complement?: string | undefined; guardianName?: string | undefined; guardianPhone?: string | undefined; guardianRelationship?: string | undefined; }>; declare const RankOptionSchema$1: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; description: string; }, { id: string; name: string; description: string; }>; type RankOption$1 = z.infer; declare const RoleOptionSchema$1: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; name: string; description?: string | null | undefined; }, { id: string; name: string; description?: string | null | undefined; }>; type RoleOption$1 = z.infer; declare const QuickPersonalInfoSchema: z.ZodEffects; guardianPhone: z.ZodOptional; guardianRelationship: z.ZodOptional; }, "strip", z.ZodTypeAny, { email: string; firstName: string; lastName: string; phone: string; birthDate: string; guardianName?: string | undefined; guardianPhone?: string | undefined; guardianRelationship?: string | undefined; }, { email: string; firstName: string; lastName: string; phone: string; birthDate: string; guardianName?: string | undefined; guardianPhone?: string | undefined; guardianRelationship?: string | undefined; }>, { email: string; firstName: string; lastName: string; phone: string; birthDate: string; guardianName?: string | undefined; guardianPhone?: string | undefined; guardianRelationship?: string | undefined; }, { email: string; firstName: string; lastName: string; phone: string; birthDate: string; guardianName?: string | undefined; guardianPhone?: string | undefined; guardianRelationship?: string | undefined; }>; declare const QuickMediumOnboardingFormStateSchema: z.ZodObject<{ firstName: z.ZodDefault; lastName: z.ZodDefault; email: z.ZodDefault; birthDate: z.ZodDefault; phone: z.ZodDefault; guardianName: z.ZodDefault; guardianPhone: z.ZodDefault; guardianRelationship: z.ZodDefault; password: z.ZodDefault; confirmPassword: z.ZodDefault; documentType: z.ZodDefault; document: z.ZodDefault; contact: z.ZodDefault; street: z.ZodDefault; number: z.ZodDefault; complement: z.ZodDefault; city: z.ZodDefault; state: z.ZodDefault; neighborhood: z.ZodDefault; zipCode: z.ZodDefault; rankId: z.ZodDefault; roleId: z.ZodDefault; initiationDate: z.ZodOptional; }, "strip", z.ZodTypeAny, { number: string; email: string; password: string; document: string; state: string; firstName: string; lastName: string; street: string; complement: string; neighborhood: string; city: string; zipCode: string; phone: string; birthDate: string; guardianName: string; guardianPhone: string; guardianRelationship: string; rankId: string; roleId: string; documentType: string; contact: string; confirmPassword: string; initiationDate?: string | undefined; }, { number?: string | undefined; email?: string | undefined; password?: string | undefined; document?: string | undefined; state?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; zipCode?: string | undefined; phone?: string | undefined; birthDate?: string | undefined; guardianName?: string | undefined; guardianPhone?: string | undefined; guardianRelationship?: string | undefined; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; documentType?: string | undefined; contact?: string | undefined; confirmPassword?: string | undefined; }>; declare const OnboardingMediumPagePropsSchema: z.ZodObject<{ initialData: z.ZodObject<{ firstName: z.ZodString; lastName: z.ZodString; email: z.ZodString; birthDate: z.ZodString; document: z.ZodString; phone: z.ZodString; contact: z.ZodString; guardianName: z.ZodOptional; guardianPhone: z.ZodOptional; guardianRelationship: z.ZodOptional; rankId: z.ZodString; roleId: z.ZodString; } & { documentType: z.ZodEnum<["RG", "CPF", ""]>; initiationDate: z.ZodEffects; } & { street: z.ZodString; number: z.ZodString; complement: z.ZodOptional; neighborhood: z.ZodString; city: z.ZodString; state: z.ZodString; zipCode: z.ZodString; } & { password: z.ZodString; confirmPassword: z.ZodString; }, "strip", z.ZodTypeAny, { number: string; email: string; password: string; document: string; state: string; firstName: string; lastName: string; street: string; neighborhood: string; city: string; zipCode: string; phone: string; birthDate: string; rankId: string; roleId: string; initiationDate: string; documentType: "" | "CPF" | "RG"; contact: string; confirmPassword: string; complement?: string | undefined; guardianName?: string | undefined; guardianPhone?: string | undefined; guardianRelationship?: string | undefined; }, { number: string; email: string; password: string; document: string; state: string; firstName: string; lastName: string; street: string; neighborhood: string; city: string; zipCode: string; phone: string; birthDate: string; rankId: string; roleId: string; initiationDate: string; documentType: "" | "CPF" | "RG"; contact: string; confirmPassword: string; complement?: string | undefined; guardianName?: string | undefined; guardianPhone?: string | undefined; guardianRelationship?: string | undefined; }>; ranks: z.ZodDefault, "many">>; roles: z.ZodDefault>; }, "strip", z.ZodTypeAny, { id: string; name: string; description?: string | null | undefined; }, { id: string; name: string; description?: string | null | undefined; }>, "many">>; onComplete: z.ZodFunction; guardianPhone: z.ZodOptional; guardianRelationship: z.ZodOptional; rankId: z.ZodString; roleId: z.ZodString; } & { documentType: z.ZodEnum<["RG", "CPF", ""]>; initiationDate: z.ZodEffects; } & { street: z.ZodString; number: z.ZodString; complement: z.ZodOptional; neighborhood: z.ZodString; city: z.ZodString; state: z.ZodString; zipCode: z.ZodString; } & { password: z.ZodString; confirmPassword: z.ZodString; }, "strip", z.ZodTypeAny, { number: string; email: string; password: string; document: string; state: string; firstName: string; lastName: string; street: string; neighborhood: string; city: string; zipCode: string; phone: string; birthDate: string; rankId: string; roleId: string; initiationDate: string; documentType: "" | "CPF" | "RG"; contact: string; confirmPassword: string; complement?: string | undefined; guardianName?: string | undefined; guardianPhone?: string | undefined; guardianRelationship?: string | undefined; }, { number: string; email: string; password: string; document: string; state: string; firstName: string; lastName: string; street: string; neighborhood: string; city: string; zipCode: string; phone: string; birthDate: string; rankId: string; roleId: string; initiationDate: string; documentType: "" | "CPF" | "RG"; contact: string; confirmPassword: string; complement?: string | undefined; guardianName?: string | undefined; guardianPhone?: string | undefined; guardianRelationship?: string | undefined; }>, { number: string; email: string; password: string; document: string; state: string; firstName: string; lastName: string; street: string; neighborhood: string; city: string; zipCode: string; phone: string; birthDate: string; rankId: string; roleId: string; initiationDate: string; documentType: "" | "CPF" | "RG"; contact: string; confirmPassword: string; complement?: string | undefined; guardianName?: string | undefined; guardianPhone?: string | undefined; guardianRelationship?: string | undefined; }, { number: string; email: string; password: string; document: string; state: string; firstName: string; lastName: string; street: string; neighborhood: string; city: string; zipCode: string; phone: string; birthDate: string; rankId: string; roleId: string; initiationDate: string; documentType: "" | "CPF" | "RG"; contact: string; confirmPassword: string; complement?: string | undefined; guardianName?: string | undefined; guardianPhone?: string | undefined; guardianRelationship?: string | undefined; }>], null>, z.ZodVoid>; onCancel: z.ZodOptional, z.ZodVoid>>; onStepChange: z.ZodOptional, z.ZodVoid>>; onFinishAutoRedirect: z.ZodOptional; guardianPhone: z.ZodOptional; guardianRelationship: z.ZodOptional; rankId: z.ZodString; roleId: z.ZodString; } & { documentType: z.ZodEnum<["RG", "CPF", ""]>; initiationDate: z.ZodEffects; } & { street: z.ZodString; number: z.ZodString; complement: z.ZodOptional; neighborhood: z.ZodString; city: z.ZodString; state: z.ZodString; zipCode: z.ZodString; } & { password: z.ZodString; confirmPassword: z.ZodString; }, "strip", z.ZodTypeAny, { number: string; email: string; password: string; document: string; state: string; firstName: string; lastName: string; street: string; neighborhood: string; city: string; zipCode: string; phone: string; birthDate: string; rankId: string; roleId: string; initiationDate: string; documentType: "" | "CPF" | "RG"; contact: string; confirmPassword: string; complement?: string | undefined; guardianName?: string | undefined; guardianPhone?: string | undefined; guardianRelationship?: string | undefined; }, { number: string; email: string; password: string; document: string; state: string; firstName: string; lastName: string; street: string; neighborhood: string; city: string; zipCode: string; phone: string; birthDate: string; rankId: string; roleId: string; initiationDate: string; documentType: "" | "CPF" | "RG"; contact: string; confirmPassword: string; complement?: string | undefined; guardianName?: string | undefined; guardianPhone?: string | undefined; guardianRelationship?: string | undefined; }>, { number: string; email: string; password: string; document: string; state: string; firstName: string; lastName: string; street: string; neighborhood: string; city: string; zipCode: string; phone: string; birthDate: string; rankId: string; roleId: string; initiationDate: string; documentType: "" | "CPF" | "RG"; contact: string; confirmPassword: string; complement?: string | undefined; guardianName?: string | undefined; guardianPhone?: string | undefined; guardianRelationship?: string | undefined; }, { number: string; email: string; password: string; document: string; state: string; firstName: string; lastName: string; street: string; neighborhood: string; city: string; zipCode: string; phone: string; birthDate: string; rankId: string; roleId: string; initiationDate: string; documentType: "" | "CPF" | "RG"; contact: string; confirmPassword: string; complement?: string | undefined; guardianName?: string | undefined; guardianPhone?: string | undefined; guardianRelationship?: string | undefined; }>], null>, z.ZodVoid>>; enableGoogleAddress: z.ZodOptional; isLoading: z.ZodOptional; error: z.ZodOptional; mode: z.ZodDefault>>; isSocialAuth: z.ZodDefault>; }, "strip", z.ZodTypeAny, { mode: "complete" | "quick"; ranks: { id: string; name: string; description: string; }[]; roles: { id: string; name: string; description?: string | null | undefined; }[]; onComplete: (args_0: { number: string; email: string; password: string; document: string; state: string; firstName: string; lastName: string; street: string; neighborhood: string; city: string; zipCode: string; phone: string; birthDate: string; rankId: string; roleId: string; initiationDate: string; documentType: "" | "CPF" | "RG"; contact: string; confirmPassword: string; complement?: string | undefined; guardianName?: string | undefined; guardianPhone?: string | undefined; guardianRelationship?: string | undefined; }) => void; initialData: { number: string; email: string; password: string; document: string; state: string; firstName: string; lastName: string; street: string; neighborhood: string; city: string; zipCode: string; phone: string; birthDate: string; rankId: string; roleId: string; initiationDate: string; documentType: "" | "CPF" | "RG"; contact: string; confirmPassword: string; complement?: string | undefined; guardianName?: string | undefined; guardianPhone?: string | undefined; guardianRelationship?: string | undefined; }; isSocialAuth: boolean; error?: string | undefined; isLoading?: boolean | undefined; onCancel?: (() => void) | undefined; enableGoogleAddress?: boolean | undefined; onStepChange?: ((args_0: number) => void) | undefined; onFinishAutoRedirect?: ((args_0: { number: string; email: string; password: string; document: string; state: string; firstName: string; lastName: string; street: string; neighborhood: string; city: string; zipCode: string; phone: string; birthDate: string; rankId: string; roleId: string; initiationDate: string; documentType: "" | "CPF" | "RG"; contact: string; confirmPassword: string; complement?: string | undefined; guardianName?: string | undefined; guardianPhone?: string | undefined; guardianRelationship?: string | undefined; }) => void) | undefined; }, { onComplete: (args_0: { number: string; email: string; password: string; document: string; state: string; firstName: string; lastName: string; street: string; neighborhood: string; city: string; zipCode: string; phone: string; birthDate: string; rankId: string; roleId: string; initiationDate: string; documentType: "" | "CPF" | "RG"; contact: string; confirmPassword: string; complement?: string | undefined; guardianName?: string | undefined; guardianPhone?: string | undefined; guardianRelationship?: string | undefined; }) => void; initialData: { number: string; email: string; password: string; document: string; state: string; firstName: string; lastName: string; street: string; neighborhood: string; city: string; zipCode: string; phone: string; birthDate: string; rankId: string; roleId: string; initiationDate: string; documentType: "" | "CPF" | "RG"; contact: string; confirmPassword: string; complement?: string | undefined; guardianName?: string | undefined; guardianPhone?: string | undefined; guardianRelationship?: string | undefined; }; mode?: "complete" | "quick" | undefined; error?: string | undefined; ranks?: { id: string; name: string; description: string; }[] | undefined; roles?: { id: string; name: string; description?: string | null | undefined; }[] | undefined; isLoading?: boolean | undefined; onCancel?: (() => void) | undefined; enableGoogleAddress?: boolean | undefined; onStepChange?: ((args_0: number) => void) | undefined; onFinishAutoRedirect?: ((args_0: { number: string; email: string; password: string; document: string; state: string; firstName: string; lastName: string; street: string; neighborhood: string; city: string; zipCode: string; phone: string; birthDate: string; rankId: string; roleId: string; initiationDate: string; documentType: "" | "CPF" | "RG"; contact: string; confirmPassword: string; complement?: string | undefined; guardianName?: string | undefined; guardianPhone?: string | undefined; guardianRelationship?: string | undefined; }) => void) | undefined; isSocialAuth?: boolean | undefined; }>; declare const MediumOnboardingValidationErrorsSchema: z.ZodRecord; declare const AddressSuggestionSchema: z.ZodObject<{ description: z.ZodString; placeId: z.ZodString; structured: z.ZodOptional>; }, "strip", z.ZodTypeAny, { description: string; placeId: string; structured?: { number: string; state: string; street: string; neighborhood: string; city: string; zipCode: string; } | undefined; }, { description: string; placeId: string; structured?: { number: string; state: string; street: string; neighborhood: string; city: string; zipCode: string; } | undefined; }>; type MediumOnboardingFormState = z.infer; type OnboardingMediumPageProps = z.infer; type MediumOnboardingValidationErrors = z.infer; type AddressSuggestion = z.infer; type QuickPersonalInfo = z.infer; type QuickMediumOnboardingFormState = z.infer; type OnboardingMode = "quick" | "complete"; declare const OnboardingMediumPage: React__default.FC; declare const useOnboardingMedium: (props: OnboardingMediumPageProps) => { data: { steps: ({ id: string; label: string; title: string; description: string; component: React__default.FunctionComponent<{ formState: MediumOnboardingFormState; validationErrors: MediumOnboardingValidationErrors; onChange: (e: FieldEvent) => void; ranks?: RankOption$1[]; roles?: RoleOption$1[]; }>; } | { id: string; label: string; title: string; description: string; component: React__default.FC<{ formState: MediumOnboardingFormState; validationErrors: MediumOnboardingValidationErrors; onChange: (e: React__default.ChangeEvent) => void; addressSuggestions: AddressSuggestion[]; enableGoogleAddress: boolean; handleAddressSearch: (searchTerm: string) => void; handleAddressSelect: (suggestion: AddressSuggestion) => void; }>; } | { id: string; label: string; title: string; description: string; component: React__default.FunctionComponent<{ formState: MediumOnboardingFormState; ranks: RankOption$1[]; roles: RoleOption$1[]; }>; })[]; formState: { number: string; email: string; password: string; document: string; state: string; firstName: string; lastName: string; street: string; neighborhood: string; city: string; zipCode: string; phone: string; birthDate: string; rankId: string; roleId: string; initiationDate: string; documentType: "" | "CPF" | "RG"; contact: string; confirmPassword: string; complement?: string | undefined; guardianName?: string | undefined; guardianPhone?: string | undefined; guardianRelationship?: string | undefined; }; isLoading: boolean; error: string | undefined; completionMessages: readonly ["Um minuto, estamos configurando o seu perfil...", "Criando sua conta de médium...", "Configurando suas preferências...", "Finalizando seu cadastro...", "Tudo pronto!"]; }; fns: { getStepValidation: (stepId: string) => z.ZodEffects, { password: string; confirmPassword: string; }, { password: string; confirmPassword: string; }> | z.ZodEffects; guardianPhone: z.ZodOptional; guardianRelationship: z.ZodOptional; }, "strip", z.ZodTypeAny, { email: string; firstName: string; lastName: string; phone: string; birthDate: string; guardianName?: string | undefined; guardianPhone?: string | undefined; guardianRelationship?: string | undefined; }, { email: string; firstName: string; lastName: string; phone: string; birthDate: string; guardianName?: string | undefined; guardianPhone?: string | undefined; guardianRelationship?: string | undefined; }>, { email: string; firstName: string; lastName: string; phone: string; birthDate: string; guardianName?: string | undefined; guardianPhone?: string | undefined; guardianRelationship?: string | undefined; }, { email: string; firstName: string; lastName: string; phone: string; birthDate: string; guardianName?: string | undefined; guardianPhone?: string | undefined; guardianRelationship?: string | undefined; }> | z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; handleComplete: (formData: MediumOnboardingFormState) => Promise; handleCancel: () => void; onStepChange: (newStep: number) => void; }; }; declare const _default$2: React__default.NamedExoticComponent<{ mode: "complete" | "quick"; onComplete: (args_0: { email: string; password: string; terreiroName: string; religionId: string; firstName: string; lastName: string; phone: string; confirmPassword: string; monthlyFee: string; dueDay: string; paymentMethod: string; receivingAccount: string; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; isMedium?: boolean | undefined; hasBankAccount?: boolean | undefined; leader?: boolean | undefined; bankOptionId?: string | undefined; }) => Promise; isSocialAuth: boolean; bankOptions: { id: string; name: string; }[]; error?: { code: string; message: string; fields: string; } | undefined; ranks?: { id: string; name: string; description: string; level: number; }[] | undefined; roles?: { id: string; name: string; updatedAt: string; createdAt: string; description?: string | null | undefined; }[] | undefined; isLoading?: boolean | undefined; onCancel?: (() => void) | undefined; initialData?: { email?: string | undefined; password?: string | undefined; terreiroName?: string | undefined; religionId?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; phone?: string | undefined; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; confirmPassword?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; monthlyFee?: string | undefined; dueDay?: string | undefined; paymentMethod?: string | undefined; receivingAccount?: string | undefined; isMedium?: boolean | undefined; hasBankAccount?: boolean | undefined; leader?: boolean | undefined; bankOptionId?: string | undefined; } | undefined; onStepChange?: ((args_0: number) => void) | undefined; onFinishAutoRedirect?: ((args_0: { email: string; password: string; terreiroName: string; religionId: string; firstName: string; lastName: string; phone: string; confirmPassword: string; monthlyFee: string; dueDay: string; paymentMethod: string; receivingAccount: string; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; isMedium?: boolean | undefined; hasBankAccount?: boolean | undefined; leader?: boolean | undefined; bankOptionId?: string | undefined; }) => void) | undefined; religions?: { id: string; name: string; description: string; updatedAt: string; createdAt: string; matriz: string; characteristics: string; founder: string | null; mainNations: string | null; examples: string | null; origin?: string | null | undefined; }[] | undefined; onReligionSelect?: ((args_0: string) => void) | undefined; }>; declare const ONBOARDING_TERREIRO_STEPS: readonly [{ readonly id: "personal"; readonly label: "Terreiro"; readonly step: 1; }, { readonly id: "password"; readonly label: "Senha"; readonly step: 2; }, { readonly id: "financial"; readonly label: "Conta"; readonly step: 3; }, { readonly id: "subscription"; readonly label: "Mensalidade"; readonly step: 4; }]; declare const TERREIRO_ONBOARDING_FIELDS_BY_STEP: { readonly personal: readonly ["firstName", "lastName", "terreiroName", "email", "foundationDate", "phone", "religionId", "rankId", "roleId", "isMedium"]; readonly password: readonly ["password", "confirmPassword"]; readonly financial: readonly ["hasBankAccount", "bankName", "agency", "account", "pixKeyType", "pixKey", "currentBalance"]; readonly subscription: readonly ["monthlyFee", "dueDay", "paymentMethod", "receivingAccount"]; }; declare const BANK_OPTIONS: readonly ["Banco do Brasil", "Caixa Econômica Federal", "Itaú", "Bradesco", "Santander", "Sicoob", "Sicredi", "Outro"]; declare const PIX_KEY_TYPE_OPTIONS: readonly [{ readonly value: "PHONE"; readonly label: "Telefone"; }, { readonly value: "CPF"; readonly label: "CPF"; }, { readonly value: "CNPJ"; readonly label: "CNPJ"; }, { readonly value: "EMAIL"; readonly label: "Email"; }, { readonly value: "RANDOM"; readonly label: "Chave aleatória"; }]; declare const PAYMENT_METHOD_OPTIONS: readonly ["Dinheiro", "Pix", "Cheque", "Transferência", "Cartão crédito", "Cartão débito", "Boleto"]; declare const TERREIRO_COMPLETION_MESSAGES: readonly ["Um minuto, estamos configurando o perfil do terreiro...", "Configurando conta financeira e sistema de pagamentos...", "Configurando sistema de mensalidades...", "Finalizando cadastro do terreiro...", "Tudo pronto!"]; declare const TerreiroPersonalInfoSchema: z.ZodObject<{ firstName: z.ZodString; lastName: z.ZodString; terreiroName: z.ZodString; email: z.ZodString; foundationDate: z.ZodEffects; initiationDate: z.ZodEffects; phone: z.ZodEffects; roleId: z.ZodString; rankId: z.ZodString; }, "strip", z.ZodTypeAny, { email: string; terreiroName: string; firstName: string; lastName: string; phone: string; rankId: string; roleId: string; initiationDate: string; foundationDate: string; }, { email: string; terreiroName: string; firstName: string; lastName: string; phone: string; rankId: string; roleId: string; initiationDate: string; foundationDate: string; }>; declare const TerreiroFinancialInfoSchema: z.ZodObject<{ bankName: z.ZodOptional; agency: z.ZodOptional; account: z.ZodOptional; pixKeyType: z.ZodOptional; pixKey: z.ZodOptional; initialBalance: z.ZodOptional; }, "strip", z.ZodTypeAny, { bankName?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; }, { bankName?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; }>; declare const TerreiroSubscriptionInfoSchema: z.ZodObject<{ monthlyFee: z.ZodEffects; dueDay: z.ZodEffects; paymentMethod: z.ZodString; receivingAccount: z.ZodString; }, "strip", z.ZodTypeAny, { monthlyFee: string; dueDay: string; paymentMethod: string; receivingAccount: string; }, { monthlyFee: string; dueDay: string; paymentMethod: string; receivingAccount: string; }>; declare const TerreiroOnboardingFormStateSchema: z.ZodObject<{ firstName: z.ZodString; lastName: z.ZodString; email: z.ZodString; phone: z.ZodString; terreiroName: z.ZodString; foundationDate: z.ZodOptional; initiationDate: z.ZodOptional; leader: z.ZodOptional; religionId: z.ZodString; rankId: z.ZodOptional; roleId: z.ZodOptional; isMedium: z.ZodOptional; password: z.ZodString; confirmPassword: z.ZodString; hasBankAccount: z.ZodOptional; bankOptionId: z.ZodOptional; agency: z.ZodOptional; account: z.ZodOptional; pixKeyType: z.ZodOptional; pixKey: z.ZodOptional; initialBalance: z.ZodOptional; monthlyFee: z.ZodString; dueDay: z.ZodString; paymentMethod: z.ZodString; receivingAccount: z.ZodString; }, "strip", z.ZodTypeAny, { email: string; password: string; terreiroName: string; religionId: string; firstName: string; lastName: string; phone: string; confirmPassword: string; monthlyFee: string; dueDay: string; paymentMethod: string; receivingAccount: string; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; isMedium?: boolean | undefined; hasBankAccount?: boolean | undefined; leader?: boolean | undefined; bankOptionId?: string | undefined; }, { email: string; password: string; terreiroName: string; religionId: string; firstName: string; lastName: string; phone: string; confirmPassword: string; monthlyFee: string; dueDay: string; paymentMethod: string; receivingAccount: string; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; isMedium?: boolean | undefined; hasBankAccount?: boolean | undefined; leader?: boolean | undefined; bankOptionId?: string | undefined; }>; declare const TerreiroRegistrationSchema: z.ZodEffects; initiationDate: z.ZodOptional; leader: z.ZodOptional; religionId: z.ZodString; rankId: z.ZodOptional; roleId: z.ZodOptional; isMedium: z.ZodOptional; password: z.ZodString; confirmPassword: z.ZodString; hasBankAccount: z.ZodOptional; bankOptionId: z.ZodOptional; agency: z.ZodOptional; account: z.ZodOptional; pixKeyType: z.ZodOptional; pixKey: z.ZodOptional; initialBalance: z.ZodOptional; monthlyFee: z.ZodString; dueDay: z.ZodString; paymentMethod: z.ZodString; receivingAccount: z.ZodString; }, "strip", z.ZodTypeAny, { email: string; password: string; terreiroName: string; religionId: string; firstName: string; lastName: string; phone: string; confirmPassword: string; monthlyFee: string; dueDay: string; paymentMethod: string; receivingAccount: string; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; isMedium?: boolean | undefined; hasBankAccount?: boolean | undefined; leader?: boolean | undefined; bankOptionId?: string | undefined; }, { email: string; password: string; terreiroName: string; religionId: string; firstName: string; lastName: string; phone: string; confirmPassword: string; monthlyFee: string; dueDay: string; paymentMethod: string; receivingAccount: string; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; isMedium?: boolean | undefined; hasBankAccount?: boolean | undefined; leader?: boolean | undefined; bankOptionId?: string | undefined; }>, { email: string; password: string; terreiroName: string; religionId: string; firstName: string; lastName: string; phone: string; confirmPassword: string; monthlyFee: string; dueDay: string; paymentMethod: string; receivingAccount: string; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; isMedium?: boolean | undefined; hasBankAccount?: boolean | undefined; leader?: boolean | undefined; bankOptionId?: string | undefined; }, { email: string; password: string; terreiroName: string; religionId: string; firstName: string; lastName: string; phone: string; confirmPassword: string; monthlyFee: string; dueDay: string; paymentMethod: string; receivingAccount: string; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; isMedium?: boolean | undefined; hasBankAccount?: boolean | undefined; leader?: boolean | undefined; bankOptionId?: string | undefined; }>; declare const TerreiroRegistrationWithoutPasswordSchema: z.ZodEffects; initiationDate: z.ZodOptional; leader: z.ZodOptional; religionId: z.ZodString; rankId: z.ZodOptional; roleId: z.ZodOptional; isMedium: z.ZodOptional; password: z.ZodString; confirmPassword: z.ZodString; hasBankAccount: z.ZodOptional; bankOptionId: z.ZodOptional; agency: z.ZodOptional; account: z.ZodOptional; pixKeyType: z.ZodOptional; pixKey: z.ZodOptional; initialBalance: z.ZodOptional; monthlyFee: z.ZodString; dueDay: z.ZodString; paymentMethod: z.ZodString; receivingAccount: z.ZodString; }, "password" | "confirmPassword"> & { password: z.ZodOptional; confirmPassword: z.ZodOptional; }, "strip", z.ZodTypeAny, { email: string; terreiroName: string; religionId: string; firstName: string; lastName: string; phone: string; monthlyFee: string; dueDay: string; paymentMethod: string; receivingAccount: string; password?: string | undefined; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; confirmPassword?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; isMedium?: boolean | undefined; hasBankAccount?: boolean | undefined; leader?: boolean | undefined; bankOptionId?: string | undefined; }, { email: string; terreiroName: string; religionId: string; firstName: string; lastName: string; phone: string; monthlyFee: string; dueDay: string; paymentMethod: string; receivingAccount: string; password?: string | undefined; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; confirmPassword?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; isMedium?: boolean | undefined; hasBankAccount?: boolean | undefined; leader?: boolean | undefined; bankOptionId?: string | undefined; }>, { email: string; terreiroName: string; religionId: string; firstName: string; lastName: string; phone: string; monthlyFee: string; dueDay: string; paymentMethod: string; receivingAccount: string; password?: string | undefined; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; confirmPassword?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; isMedium?: boolean | undefined; hasBankAccount?: boolean | undefined; leader?: boolean | undefined; bankOptionId?: string | undefined; }, { email: string; terreiroName: string; religionId: string; firstName: string; lastName: string; phone: string; monthlyFee: string; dueDay: string; paymentMethod: string; receivingAccount: string; password?: string | undefined; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; confirmPassword?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; isMedium?: boolean | undefined; hasBankAccount?: boolean | undefined; leader?: boolean | undefined; bankOptionId?: string | undefined; }>; declare const TerreiroStepValidationSchemas: { readonly personal: z.ZodObject<{ firstName: z.ZodString; lastName: z.ZodString; terreiroName: z.ZodString; email: z.ZodString; foundationDate: z.ZodEffects; initiationDate: z.ZodEffects; phone: z.ZodEffects; roleId: z.ZodString; rankId: z.ZodString; }, "strip", z.ZodTypeAny, { email: string; terreiroName: string; firstName: string; lastName: string; phone: string; rankId: string; roleId: string; initiationDate: string; foundationDate: string; }, { email: string; terreiroName: string; firstName: string; lastName: string; phone: string; rankId: string; roleId: string; initiationDate: string; foundationDate: string; }>; readonly password: z.ZodEffects, { password: string; confirmPassword: string; }, { password: string; confirmPassword: string; }>; readonly financial: z.ZodObject<{ bankName: z.ZodOptional; agency: z.ZodOptional; account: z.ZodOptional; pixKeyType: z.ZodOptional; pixKey: z.ZodOptional; initialBalance: z.ZodOptional; }, "strip", z.ZodTypeAny, { bankName?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; }, { bankName?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; }>; readonly subscription: z.ZodObject<{ monthlyFee: z.ZodEffects; dueDay: z.ZodEffects; paymentMethod: z.ZodString; receivingAccount: z.ZodString; }, "strip", z.ZodTypeAny, { monthlyFee: string; dueDay: string; paymentMethod: string; receivingAccount: string; }, { monthlyFee: string; dueDay: string; paymentMethod: string; receivingAccount: string; }>; readonly review: z.ZodEffects; initiationDate: z.ZodOptional; leader: z.ZodOptional; religionId: z.ZodString; rankId: z.ZodOptional; roleId: z.ZodOptional; isMedium: z.ZodOptional; password: z.ZodString; confirmPassword: z.ZodString; hasBankAccount: z.ZodOptional; bankOptionId: z.ZodOptional; agency: z.ZodOptional; account: z.ZodOptional; pixKeyType: z.ZodOptional; pixKey: z.ZodOptional; initialBalance: z.ZodOptional; monthlyFee: z.ZodString; dueDay: z.ZodString; paymentMethod: z.ZodString; receivingAccount: z.ZodString; }, "strip", z.ZodTypeAny, { email: string; password: string; terreiroName: string; religionId: string; firstName: string; lastName: string; phone: string; confirmPassword: string; monthlyFee: string; dueDay: string; paymentMethod: string; receivingAccount: string; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; isMedium?: boolean | undefined; hasBankAccount?: boolean | undefined; leader?: boolean | undefined; bankOptionId?: string | undefined; }, { email: string; password: string; terreiroName: string; religionId: string; firstName: string; lastName: string; phone: string; confirmPassword: string; monthlyFee: string; dueDay: string; paymentMethod: string; receivingAccount: string; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; isMedium?: boolean | undefined; hasBankAccount?: boolean | undefined; leader?: boolean | undefined; bankOptionId?: string | undefined; }>, { email: string; password: string; terreiroName: string; religionId: string; firstName: string; lastName: string; phone: string; confirmPassword: string; monthlyFee: string; dueDay: string; paymentMethod: string; receivingAccount: string; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; isMedium?: boolean | undefined; hasBankAccount?: boolean | undefined; leader?: boolean | undefined; bankOptionId?: string | undefined; }, { email: string; password: string; terreiroName: string; religionId: string; firstName: string; lastName: string; phone: string; confirmPassword: string; monthlyFee: string; dueDay: string; paymentMethod: string; receivingAccount: string; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; isMedium?: boolean | undefined; hasBankAccount?: boolean | undefined; leader?: boolean | undefined; bankOptionId?: string | undefined; }>; }; declare const ReligionOptionSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; origin: z.ZodOptional>; matriz: z.ZodString; characteristics: z.ZodString; mainNations: z.ZodNullable; founder: z.ZodNullable; examples: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; description: string; updatedAt: string; createdAt: string; matriz: string; characteristics: string; founder: string | null; mainNations: string | null; examples: string | null; origin?: string | null | undefined; }, { id: string; name: string; description: string; updatedAt: string; createdAt: string; matriz: string; characteristics: string; founder: string | null; mainNations: string | null; examples: string | null; origin?: string | null | undefined; }>; type ReligionOption = z.infer; declare const RoleOptionSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; updatedAt: string; createdAt: string; description?: string | null | undefined; }, { id: string; name: string; updatedAt: string; createdAt: string; description?: string | null | undefined; }>; type RoleOption = z.infer; declare const RankOptionSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; level: z.ZodNumber; description: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; description: string; level: number; }, { id: string; name: string; description: string; level: number; }>; type RankOption = z.infer; declare const OnboardingTerreiroPagePropsSchema: z.ZodObject<{ initialData: z.ZodOptional; lastName: z.ZodOptional; email: z.ZodOptional; phone: z.ZodOptional; terreiroName: z.ZodOptional; leader: z.ZodOptional>; religionId: z.ZodOptional; password: z.ZodOptional; confirmPassword: z.ZodOptional; hasBankAccount: z.ZodOptional>; bankOptionId: z.ZodOptional>; agency: z.ZodOptional>; account: z.ZodOptional>; pixKeyType: z.ZodOptional>; pixKey: z.ZodOptional>; initialBalance: z.ZodOptional>; monthlyFee: z.ZodOptional; dueDay: z.ZodOptional; paymentMethod: z.ZodOptional; receivingAccount: z.ZodOptional; } & { roleId: z.ZodOptional; rankId: z.ZodOptional; foundationDate: z.ZodOptional; initiationDate: z.ZodOptional; isMedium: z.ZodOptional; }, "strip", z.ZodTypeAny, { email?: string | undefined; password?: string | undefined; terreiroName?: string | undefined; religionId?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; phone?: string | undefined; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; confirmPassword?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; monthlyFee?: string | undefined; dueDay?: string | undefined; paymentMethod?: string | undefined; receivingAccount?: string | undefined; isMedium?: boolean | undefined; hasBankAccount?: boolean | undefined; leader?: boolean | undefined; bankOptionId?: string | undefined; }, { email?: string | undefined; password?: string | undefined; terreiroName?: string | undefined; religionId?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; phone?: string | undefined; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; confirmPassword?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; monthlyFee?: string | undefined; dueDay?: string | undefined; paymentMethod?: string | undefined; receivingAccount?: string | undefined; isMedium?: boolean | undefined; hasBankAccount?: boolean | undefined; leader?: boolean | undefined; bankOptionId?: string | undefined; }>>; onComplete: z.ZodFunction; initiationDate: z.ZodOptional; leader: z.ZodOptional; religionId: z.ZodString; rankId: z.ZodOptional; roleId: z.ZodOptional; isMedium: z.ZodOptional; password: z.ZodString; confirmPassword: z.ZodString; hasBankAccount: z.ZodOptional; bankOptionId: z.ZodOptional; agency: z.ZodOptional; account: z.ZodOptional; pixKeyType: z.ZodOptional; pixKey: z.ZodOptional; initialBalance: z.ZodOptional; monthlyFee: z.ZodString; dueDay: z.ZodString; paymentMethod: z.ZodString; receivingAccount: z.ZodString; }, "strip", z.ZodTypeAny, { email: string; password: string; terreiroName: string; religionId: string; firstName: string; lastName: string; phone: string; confirmPassword: string; monthlyFee: string; dueDay: string; paymentMethod: string; receivingAccount: string; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; isMedium?: boolean | undefined; hasBankAccount?: boolean | undefined; leader?: boolean | undefined; bankOptionId?: string | undefined; }, { email: string; password: string; terreiroName: string; religionId: string; firstName: string; lastName: string; phone: string; confirmPassword: string; monthlyFee: string; dueDay: string; paymentMethod: string; receivingAccount: string; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; isMedium?: boolean | undefined; hasBankAccount?: boolean | undefined; leader?: boolean | undefined; bankOptionId?: string | undefined; }>, { email: string; password: string; terreiroName: string; religionId: string; firstName: string; lastName: string; phone: string; confirmPassword: string; monthlyFee: string; dueDay: string; paymentMethod: string; receivingAccount: string; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; isMedium?: boolean | undefined; hasBankAccount?: boolean | undefined; leader?: boolean | undefined; bankOptionId?: string | undefined; }, { email: string; password: string; terreiroName: string; religionId: string; firstName: string; lastName: string; phone: string; confirmPassword: string; monthlyFee: string; dueDay: string; paymentMethod: string; receivingAccount: string; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; isMedium?: boolean | undefined; hasBankAccount?: boolean | undefined; leader?: boolean | undefined; bankOptionId?: string | undefined; }>], null>, z.ZodPromise>; bankOptions: z.ZodDefault, "many">>; ranks: z.ZodOptional, "many">>; religions: z.ZodOptional>; matriz: z.ZodString; characteristics: z.ZodString; mainNations: z.ZodNullable; founder: z.ZodNullable; examples: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; description: string; updatedAt: string; createdAt: string; matriz: string; characteristics: string; founder: string | null; mainNations: string | null; examples: string | null; origin?: string | null | undefined; }, { id: string; name: string; description: string; updatedAt: string; createdAt: string; matriz: string; characteristics: string; founder: string | null; mainNations: string | null; examples: string | null; origin?: string | null | undefined; }>, "many">>; roles: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; updatedAt: string; createdAt: string; description?: string | null | undefined; }, { id: string; name: string; updatedAt: string; createdAt: string; description?: string | null | undefined; }>, "many">>; onCancel: z.ZodOptional, z.ZodVoid>>; onStepChange: z.ZodOptional, z.ZodVoid>>; onFinishAutoRedirect: z.ZodOptional; initiationDate: z.ZodOptional; leader: z.ZodOptional; religionId: z.ZodString; rankId: z.ZodOptional; roleId: z.ZodOptional; isMedium: z.ZodOptional; password: z.ZodString; confirmPassword: z.ZodString; hasBankAccount: z.ZodOptional; bankOptionId: z.ZodOptional; agency: z.ZodOptional; account: z.ZodOptional; pixKeyType: z.ZodOptional; pixKey: z.ZodOptional; initialBalance: z.ZodOptional; monthlyFee: z.ZodString; dueDay: z.ZodString; paymentMethod: z.ZodString; receivingAccount: z.ZodString; }, "strip", z.ZodTypeAny, { email: string; password: string; terreiroName: string; religionId: string; firstName: string; lastName: string; phone: string; confirmPassword: string; monthlyFee: string; dueDay: string; paymentMethod: string; receivingAccount: string; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; isMedium?: boolean | undefined; hasBankAccount?: boolean | undefined; leader?: boolean | undefined; bankOptionId?: string | undefined; }, { email: string; password: string; terreiroName: string; religionId: string; firstName: string; lastName: string; phone: string; confirmPassword: string; monthlyFee: string; dueDay: string; paymentMethod: string; receivingAccount: string; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; isMedium?: boolean | undefined; hasBankAccount?: boolean | undefined; leader?: boolean | undefined; bankOptionId?: string | undefined; }>, { email: string; password: string; terreiroName: string; religionId: string; firstName: string; lastName: string; phone: string; confirmPassword: string; monthlyFee: string; dueDay: string; paymentMethod: string; receivingAccount: string; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; isMedium?: boolean | undefined; hasBankAccount?: boolean | undefined; leader?: boolean | undefined; bankOptionId?: string | undefined; }, { email: string; password: string; terreiroName: string; religionId: string; firstName: string; lastName: string; phone: string; confirmPassword: string; monthlyFee: string; dueDay: string; paymentMethod: string; receivingAccount: string; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; isMedium?: boolean | undefined; hasBankAccount?: boolean | undefined; leader?: boolean | undefined; bankOptionId?: string | undefined; }>], null>, z.ZodVoid>>; onReligionSelect: z.ZodOptional, z.ZodVoid>>; isLoading: z.ZodOptional; error: z.ZodOptional>; mode: z.ZodDefault>>; isSocialAuth: z.ZodDefault>; }, "strip", z.ZodTypeAny, { mode: "complete" | "quick"; onComplete: (args_0: { email: string; password: string; terreiroName: string; religionId: string; firstName: string; lastName: string; phone: string; confirmPassword: string; monthlyFee: string; dueDay: string; paymentMethod: string; receivingAccount: string; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; isMedium?: boolean | undefined; hasBankAccount?: boolean | undefined; leader?: boolean | undefined; bankOptionId?: string | undefined; }) => Promise; isSocialAuth: boolean; bankOptions: { id: string; name: string; }[]; error?: { code: string; message: string; fields: string; } | undefined; ranks?: { id: string; name: string; description: string; level: number; }[] | undefined; roles?: { id: string; name: string; updatedAt: string; createdAt: string; description?: string | null | undefined; }[] | undefined; isLoading?: boolean | undefined; onCancel?: (() => void) | undefined; initialData?: { email?: string | undefined; password?: string | undefined; terreiroName?: string | undefined; religionId?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; phone?: string | undefined; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; confirmPassword?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; monthlyFee?: string | undefined; dueDay?: string | undefined; paymentMethod?: string | undefined; receivingAccount?: string | undefined; isMedium?: boolean | undefined; hasBankAccount?: boolean | undefined; leader?: boolean | undefined; bankOptionId?: string | undefined; } | undefined; onStepChange?: ((args_0: number) => void) | undefined; onFinishAutoRedirect?: ((args_0: { email: string; password: string; terreiroName: string; religionId: string; firstName: string; lastName: string; phone: string; confirmPassword: string; monthlyFee: string; dueDay: string; paymentMethod: string; receivingAccount: string; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; isMedium?: boolean | undefined; hasBankAccount?: boolean | undefined; leader?: boolean | undefined; bankOptionId?: string | undefined; }) => void) | undefined; religions?: { id: string; name: string; description: string; updatedAt: string; createdAt: string; matriz: string; characteristics: string; founder: string | null; mainNations: string | null; examples: string | null; origin?: string | null | undefined; }[] | undefined; onReligionSelect?: ((args_0: string) => void) | undefined; }, { onComplete: (args_0: { email: string; password: string; terreiroName: string; religionId: string; firstName: string; lastName: string; phone: string; confirmPassword: string; monthlyFee: string; dueDay: string; paymentMethod: string; receivingAccount: string; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; isMedium?: boolean | undefined; hasBankAccount?: boolean | undefined; leader?: boolean | undefined; bankOptionId?: string | undefined; }) => Promise; mode?: "complete" | "quick" | undefined; error?: { code: string; message: string; fields: string; } | undefined; ranks?: { id: string; name: string; description: string; level: number; }[] | undefined; roles?: { id: string; name: string; updatedAt: string; createdAt: string; description?: string | null | undefined; }[] | undefined; isLoading?: boolean | undefined; onCancel?: (() => void) | undefined; initialData?: { email?: string | undefined; password?: string | undefined; terreiroName?: string | undefined; religionId?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; phone?: string | undefined; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; confirmPassword?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; monthlyFee?: string | undefined; dueDay?: string | undefined; paymentMethod?: string | undefined; receivingAccount?: string | undefined; isMedium?: boolean | undefined; hasBankAccount?: boolean | undefined; leader?: boolean | undefined; bankOptionId?: string | undefined; } | undefined; onStepChange?: ((args_0: number) => void) | undefined; onFinishAutoRedirect?: ((args_0: { email: string; password: string; terreiroName: string; religionId: string; firstName: string; lastName: string; phone: string; confirmPassword: string; monthlyFee: string; dueDay: string; paymentMethod: string; receivingAccount: string; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; isMedium?: boolean | undefined; hasBankAccount?: boolean | undefined; leader?: boolean | undefined; bankOptionId?: string | undefined; }) => void) | undefined; isSocialAuth?: boolean | undefined; bankOptions?: { id: string; name: string; }[] | undefined; religions?: { id: string; name: string; description: string; updatedAt: string; createdAt: string; matriz: string; characteristics: string; founder: string | null; mainNations: string | null; examples: string | null; origin?: string | null | undefined; }[] | undefined; onReligionSelect?: ((args_0: string) => void) | undefined; }>; declare const TerreiroOnboardingValidationErrorsSchema: z.ZodRecord; declare const TerreiroOnboardingApiErrorSchema: z.ZodObject<{ message: z.ZodString; code: z.ZodOptional; fields: z.ZodOptional; }, "strip", z.ZodTypeAny, { message: string; code?: string | undefined; fields?: string | undefined; }, { message: string; code?: string | undefined; fields?: string | undefined; }>; declare const AccountOptionSchema: z.ZodObject<{ value: z.ZodString; label: z.ZodString; }, "strip", z.ZodTypeAny, { label: string; value: string; }, { label: string; value: string; }>; type TerreiroOnboardingStep = "personal" | "password" | "financial" | "subscription" | "review"; type TerreiroOnboardingFormState = z.infer; type TerreiroRegistration = z.infer; type OnboardingTerreiroPageProps = z.infer; type TerreiroOnboardingValidationErrors = z.infer; type TerreiroOnboardingApiError = z.infer; type AccountOption = z.infer; type CompletionStatus = "idle" | "loading" | "completed"; type PixKeyType = "PHONE" | "CPF" | "CNPJ" | "EMAIL" | "RANDOM"; declare const validatePhone: (phone: string) => string; declare const validateCurrency: (value: string) => string; declare const validateDueDay: (day: string) => string; declare const validatePassword: (password: string) => string; declare const validatePasswordConfirmation: (password: string, confirmPassword: string) => string; declare const formatPhone: (value: string) => string; declare const formatCurrency: (value: string) => string; declare const QUICK_ONBOARDING_TERREIRO_STEPS: readonly [{ readonly id: "personal"; readonly label: "Terreiro"; readonly step: 1; }, { readonly id: "password"; readonly label: "Senha"; readonly step: 2; }]; declare const QUICK_TERREIRO_ONBOARDING_FIELDS_BY_STEP: { readonly personal: readonly ["firstName", "lastName", "terreiroName", "email", "phone", "religionId"]; readonly password: readonly ["password", "confirmPassword"]; }; declare const QuickTerreiroPersonalInfoSchema: z.ZodObject<{ firstName: z.ZodString; lastName: z.ZodString; terreiroName: z.ZodString; email: z.ZodString; phone: z.ZodEffects; religionId: z.ZodString; }, "strip", z.ZodTypeAny, { email: string; terreiroName: string; religionId: string; firstName: string; lastName: string; phone: string; }, { email: string; terreiroName: string; religionId: string; firstName: string; lastName: string; phone: string; }>; declare const QuickTerreiroOnboardingFormStateSchema: z.ZodObject<{ firstName: z.ZodDefault; lastName: z.ZodDefault; terreiroName: z.ZodDefault; email: z.ZodDefault; phone: z.ZodDefault; religionId: z.ZodDefault; password: z.ZodDefault; confirmPassword: z.ZodDefault; foundationDate: z.ZodDefault>; initiationDate: z.ZodDefault>; leader: z.ZodDefault>; isMedium: z.ZodDefault>; rankId: z.ZodDefault>; roleId: z.ZodDefault>; hasBankAccount: z.ZodDefault>; bankOptionId: z.ZodDefault>; agency: z.ZodDefault>; account: z.ZodDefault>; pixKeyType: z.ZodDefault>; pixKey: z.ZodDefault>; initialBalance: z.ZodDefault>; monthlyFee: z.ZodDefault>; dueDay: z.ZodDefault>; paymentMethod: z.ZodDefault>; receivingAccount: z.ZodDefault>; }, "strip", z.ZodTypeAny, { email: string; password: string; terreiroName: string; religionId: string; firstName: string; lastName: string; phone: string; rankId: string; roleId: string; initiationDate: string; foundationDate: string; confirmPassword: string; agency: string; account: string; pixKeyType: string; pixKey: string; initialBalance: string; monthlyFee: string; dueDay: string; paymentMethod: string; receivingAccount: string; isMedium: boolean; hasBankAccount: boolean; leader: boolean; bankOptionId: string; }, { email?: string | undefined; password?: string | undefined; terreiroName?: string | undefined; religionId?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; phone?: string | undefined; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; confirmPassword?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; monthlyFee?: string | undefined; dueDay?: string | undefined; paymentMethod?: string | undefined; receivingAccount?: string | undefined; isMedium?: boolean | undefined; hasBankAccount?: boolean | undefined; leader?: boolean | undefined; bankOptionId?: string | undefined; }>; declare const QuickTerreiroStepValidationSchemas: { readonly personal: z.ZodObject<{ firstName: z.ZodString; lastName: z.ZodString; terreiroName: z.ZodString; email: z.ZodString; phone: z.ZodEffects; religionId: z.ZodString; }, "strip", z.ZodTypeAny, { email: string; terreiroName: string; religionId: string; firstName: string; lastName: string; phone: string; }, { email: string; terreiroName: string; religionId: string; firstName: string; lastName: string; phone: string; }>; readonly password: z.ZodEffects, { password: string; confirmPassword: string; }, { password: string; confirmPassword: string; }>; }; type TerreiroOnboardingMode = "quick" | "complete"; type QuickTerreiroPersonalInfo = z.infer; type QuickTerreiroOnboardingFormState = z.infer; declare const useOnboardingTerreiro: (props: OnboardingTerreiroPageProps) => { data: { currentStep: number; currentStepInfo: { step: number; id: "personal"; label: "Terreiro"; } | { step: number; id: "password"; label: "Senha"; } | { step: number; id: "financial"; label: "Conta"; } | { step: number; id: "subscription"; label: "Mensalidade"; } | { step: number; id: "personal"; label: "Terreiro"; } | { step: number; id: "password"; label: "Senha"; } | undefined; totalSteps: number; progress: number; formState: { email: string; password: string; terreiroName: string; religionId: string; firstName: string; lastName: string; phone: string; confirmPassword: string; monthlyFee: string; dueDay: string; paymentMethod: string; receivingAccount: string; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; isMedium?: boolean | undefined; hasBankAccount?: boolean | undefined; leader?: boolean | undefined; bankOptionId?: string | undefined; }; validationErrors: Record; isLoading: boolean; error: { message: string; } | null; externalError: { code: string; message: string; fields: string; } | undefined; canProceedToNextStep: boolean; accountOptions: { label: string; value: string; }[]; completionStatus: CompletionStatus; currentCompletionMessage: "Tudo pronto!" | "Um minuto, estamos configurando o perfil do terreiro..." | "Configurando conta financeira e sistema de pagamentos..." | "Configurando sistema de mensalidades..." | "Finalizando cadastro do terreiro..."; completedPayload: { email: string; password: string; terreiroName: string; religionId: string; firstName: string; lastName: string; phone: string; confirmPassword: string; monthlyFee: string; dueDay: string; paymentMethod: string; receivingAccount: string; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; isMedium?: boolean | undefined; hasBankAccount?: boolean | undefined; leader?: boolean | undefined; bankOptionId?: string | undefined; } | null; showPassword: { password: boolean; confirmPassword: boolean; }; onFinishAutoRedirect: ((args_0: { email: string; password: string; terreiroName: string; religionId: string; firstName: string; lastName: string; phone: string; confirmPassword: string; monthlyFee: string; dueDay: string; paymentMethod: string; receivingAccount: string; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; agency?: string | undefined; account?: string | undefined; pixKeyType?: string | undefined; pixKey?: string | undefined; initialBalance?: string | undefined; isMedium?: boolean | undefined; hasBankAccount?: boolean | undefined; leader?: boolean | undefined; bankOptionId?: string | undefined; }) => void) | undefined; ranks: { id: string; name: string; description: string; level: number; }[]; mode: TerreiroOnboardingMode; isQuickMode: boolean; isSocialAuth: boolean; steps: ({ step: number; id: "personal"; label: "Terreiro"; } | { step: number; id: "password"; label: "Senha"; } | { step: number; id: "financial"; label: "Conta"; } | { step: number; id: "subscription"; label: "Mensalidade"; } | { step: number; id: "personal"; label: "Terreiro"; } | { step: number; id: "password"; label: "Senha"; })[]; } | { currentStep: number; currentStepInfo: { readonly id: "personal"; readonly label: "Terreiro"; readonly step: 1; }; totalSteps: number; progress: number; formState: {}; validationErrors: {}; isLoading: boolean; error: { message: string; }; externalError: { code: string; message: string; fields: string; } | undefined; canProceedToNextStep: boolean; accountOptions: never[]; completionStatus: CompletionStatus; currentCompletionMessage: "Um minuto, estamos configurando o perfil do terreiro..."; completedPayload: null; showPassword: { password: boolean; confirmPassword: boolean; }; onFinishAutoRedirect: undefined; mode: TerreiroOnboardingMode; isQuickMode: boolean; isSocialAuth: boolean; steps: readonly [{ readonly id: "personal"; readonly label: "Terreiro"; readonly step: 1; }, { readonly id: "password"; readonly label: "Senha"; readonly step: 2; }, { readonly id: "financial"; readonly label: "Conta"; readonly step: 3; }, { readonly id: "subscription"; readonly label: "Mensalidade"; readonly step: 4; }] | readonly [{ readonly id: "personal"; readonly label: "Terreiro"; readonly step: 1; }, { readonly id: "password"; readonly label: "Senha"; readonly step: 2; }]; ranks?: undefined; }; fns: { handleChange: (e: React$1.ChangeEvent | { target: { name: string; value: unknown; type?: string; checked?: boolean; }; }) => void; handleNextStep: () => void; handlePreviousStep: () => void; handleGoToStep: (step: number) => void; handleComplete: () => void; handleCancel: () => void; handleTogglePassword: (field: "password" | "confirmPassword") => void; }; }; interface QuickPersonalInfoStepProps { formState: Partial; validationErrors: TerreiroOnboardingValidationErrors; onInputChange: (e: React__default.ChangeEvent) => void; onSelectChange: (e: SelectChangeEvent) => void; religions: ReligionOption[]; } /** * Quick Personal Info Step for Terreiro Onboarding * * This step collects only the essential fields for quick terreiro signup: * - First Name * - Last Name * - Email * - Phone * - Terreiro Name * - Religion */ declare const QuickPersonalInfoStep: React__default.FC; declare const SelectMediumsPagePropsSchema: z.ZodObject<{ mediums: z.ZodArray; profilePictureUrl: z.ZodOptional; status: z.ZodOptional>; hierarchy: z.ZodOptional; isSelected: z.ZodBoolean; }, "strip", z.ZodTypeAny, { id: string; name: string; email: string; isSelected: boolean; status?: "active" | "inactive" | undefined; phone?: string | undefined; profilePictureUrl?: string | undefined; hierarchy?: string | undefined; }, { id: string; name: string; email: string; isSelected: boolean; status?: "active" | "inactive" | undefined; phone?: string | undefined; profilePictureUrl?: string | undefined; hierarchy?: string | undefined; }>, "many">; selectedMediumIds: z.ZodOptional>; onSelectionChange: z.ZodOptional], null>, z.ZodVoid>>; onClose: z.ZodOptional, z.ZodVoid>>; onSave: z.ZodOptional], null>, z.ZodVoid>>; title: z.ZodOptional; searchPlaceholder: z.ZodOptional; showSelectAll: z.ZodOptional; }, "strip", z.ZodTypeAny, { mediums: { id: string; name: string; email: string; isSelected: boolean; status?: "active" | "inactive" | undefined; phone?: string | undefined; profilePictureUrl?: string | undefined; hierarchy?: string | undefined; }[]; title?: string | undefined; onClose?: (() => void) | undefined; searchPlaceholder?: string | undefined; onSelectionChange?: ((args_0: string[]) => void) | undefined; onSave?: ((args_0: string[]) => void) | undefined; selectedMediumIds?: string[] | undefined; showSelectAll?: boolean | undefined; }, { mediums: { id: string; name: string; email: string; isSelected: boolean; status?: "active" | "inactive" | undefined; phone?: string | undefined; profilePictureUrl?: string | undefined; hierarchy?: string | undefined; }[]; title?: string | undefined; onClose?: (() => void) | undefined; searchPlaceholder?: string | undefined; onSelectionChange?: ((args_0: string[]) => void) | undefined; onSave?: ((args_0: string[]) => void) | undefined; selectedMediumIds?: string[] | undefined; showSelectAll?: boolean | undefined; }>; type SelectMediumsPageProps = z.infer; declare const useSelectMediumsPage: (props: SelectMediumsPageProps) => { data: { searchTerm: string; mediums: { isSelected: boolean; id: string; name: string; email: string; status?: "active" | "inactive" | undefined; phone?: string | undefined; profilePictureUrl?: string | undefined; hierarchy?: string | undefined; }[]; selectedCount: number; totalCount: number; selectAll: boolean; hasSelection: boolean; title: string; searchPlaceholder: string; showSelectAll: boolean; }; fns: { handleSearchChange: (value: string) => void; handleMediumToggle: (mediumId: string) => void; handleSelectAllToggle: () => void; handleClose: () => void; handleSave: () => void; }; }; declare const NotificationSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; message: z.ZodString; type: z.ZodEnum<["event", "financial", "inventory", "member", "system", "reminder", "achievement", "social"]>; timestamp: z.ZodDate; read: z.ZodBoolean; avatar: z.ZodOptional; actionText: z.ZodOptional; actionRoute: z.ZodOptional; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { title: string; id: string; message: string; type: "event" | "system" | "member" | "inventory" | "financial" | "social" | "reminder" | "achievement"; timestamp: Date; read: boolean; metadata?: Record | undefined; avatar?: string | undefined; actionText?: string | undefined; actionRoute?: string | undefined; }, { title: string; id: string; message: string; type: "event" | "system" | "member" | "inventory" | "financial" | "social" | "reminder" | "achievement"; timestamp: Date; read: boolean; metadata?: Record | undefined; avatar?: string | undefined; actionText?: string | undefined; actionRoute?: string | undefined; }>; declare const NotificationFilterSchema: z.ZodObject<{ type: z.ZodEnum<["all", "event", "financial", "inventory", "member", "system", "reminder", "achievement", "social"]>; read: z.ZodEnum<["all", "unread", "read"]>; }, "strip", z.ZodTypeAny, { type: "all" | "event" | "system" | "member" | "inventory" | "financial" | "social" | "reminder" | "achievement"; read: "all" | "read" | "unread"; }, { type: "all" | "event" | "system" | "member" | "inventory" | "financial" | "social" | "reminder" | "achievement"; read: "all" | "read" | "unread"; }>; declare const NotificationStatsSchema: z.ZodObject<{ total: z.ZodNumber; unread: z.ZodNumber; today: z.ZodNumber; thisWeek: z.ZodNumber; byType: z.ZodRecord; }, "strip", z.ZodTypeAny, { today: number; total: number; unread: number; thisWeek: number; byType: Record; }, { today: number; total: number; unread: number; thisWeek: number; byType: Record; }>; declare const NotificationsPagePropsSchema: z.ZodObject<{ notifications: z.ZodOptional; timestamp: z.ZodDate; read: z.ZodBoolean; avatar: z.ZodOptional; actionText: z.ZodOptional; actionRoute: z.ZodOptional; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { title: string; id: string; message: string; type: "event" | "system" | "member" | "inventory" | "financial" | "social" | "reminder" | "achievement"; timestamp: Date; read: boolean; metadata?: Record | undefined; avatar?: string | undefined; actionText?: string | undefined; actionRoute?: string | undefined; }, { title: string; id: string; message: string; type: "event" | "system" | "member" | "inventory" | "financial" | "social" | "reminder" | "achievement"; timestamp: Date; read: boolean; metadata?: Record | undefined; avatar?: string | undefined; actionText?: string | undefined; actionRoute?: string | undefined; }>, "many">>; stats: z.ZodOptional; }, "strip", z.ZodTypeAny, { today: number; total: number; unread: number; thisWeek: number; byType: Record; }, { today: number; total: number; unread: number; thisWeek: number; byType: Record; }>>; isLoading: z.ZodOptional; /** Load failure: `true` shows the default message, a string replaces it. */ error: z.ZodOptional>>; currentFilter: z.ZodOptional; read: z.ZodEnum<["all", "unread", "read"]>; }, "strip", z.ZodTypeAny, { type: "all" | "event" | "system" | "member" | "inventory" | "financial" | "social" | "reminder" | "achievement"; read: "all" | "read" | "unread"; }, { type: "all" | "event" | "system" | "member" | "inventory" | "financial" | "social" | "reminder" | "achievement"; read: "all" | "read" | "unread"; }>>; onNotificationClick: z.ZodOptional, z.ZodVoid>>; onNotificationRead: z.ZodOptional, z.ZodVoid>>; onNotificationUnread: z.ZodOptional, z.ZodVoid>>; onNotificationDelete: z.ZodOptional, z.ZodVoid>>; onMarkAllAsRead: z.ZodOptional, z.ZodVoid>>; onClearAll: z.ZodOptional, z.ZodVoid>>; onFilterChange: z.ZodOptional; read: z.ZodEnum<["all", "unread", "read"]>; }, "strip", z.ZodTypeAny, { type: "all" | "event" | "system" | "member" | "inventory" | "financial" | "social" | "reminder" | "achievement"; read: "all" | "read" | "unread"; }, { type: "all" | "event" | "system" | "member" | "inventory" | "financial" | "social" | "reminder" | "achievement"; read: "all" | "read" | "unread"; }>], null>, z.ZodVoid>>; onRefresh: z.ZodOptional, z.ZodVoid>>; /** "Tentar novamente" action of the error state; falls back to `onRefresh`. */ onRetry: z.ZodOptional, z.ZodVoid>>; onBack: z.ZodOptional, z.ZodVoid>>; onNavigate: z.ZodOptional, z.ZodVoid>>; enableGrouping: z.ZodOptional; enableSwipeActions: z.ZodOptional; autoRefresh: z.ZodOptional; }, "strip", z.ZodTypeAny, { error?: string | boolean | null | undefined; onNavigate?: ((args_0: string) => void) | undefined; onBack?: (() => void) | undefined; onRetry?: (() => void) | undefined; isLoading?: boolean | undefined; notifications?: { title: string; id: string; message: string; type: "event" | "system" | "member" | "inventory" | "financial" | "social" | "reminder" | "achievement"; timestamp: Date; read: boolean; metadata?: Record | undefined; avatar?: string | undefined; actionText?: string | undefined; actionRoute?: string | undefined; }[] | undefined; stats?: { today: number; total: number; unread: number; thisWeek: number; byType: Record; } | undefined; onNotificationClick?: ((args_0: string) => void) | undefined; onRefresh?: (() => void) | undefined; autoRefresh?: boolean | undefined; currentFilter?: { type: "all" | "event" | "system" | "member" | "inventory" | "financial" | "social" | "reminder" | "achievement"; read: "all" | "read" | "unread"; } | undefined; onNotificationRead?: ((args_0: string) => void) | undefined; onNotificationUnread?: ((args_0: string) => void) | undefined; onNotificationDelete?: ((args_0: string) => void) | undefined; onMarkAllAsRead?: (() => void) | undefined; onClearAll?: (() => void) | undefined; onFilterChange?: ((args_0: { type: "all" | "event" | "system" | "member" | "inventory" | "financial" | "social" | "reminder" | "achievement"; read: "all" | "read" | "unread"; }) => void) | undefined; enableGrouping?: boolean | undefined; enableSwipeActions?: boolean | undefined; }, { error?: string | boolean | null | undefined; onNavigate?: ((args_0: string) => void) | undefined; onBack?: (() => void) | undefined; onRetry?: (() => void) | undefined; isLoading?: boolean | undefined; notifications?: { title: string; id: string; message: string; type: "event" | "system" | "member" | "inventory" | "financial" | "social" | "reminder" | "achievement"; timestamp: Date; read: boolean; metadata?: Record | undefined; avatar?: string | undefined; actionText?: string | undefined; actionRoute?: string | undefined; }[] | undefined; stats?: { today: number; total: number; unread: number; thisWeek: number; byType: Record; } | undefined; onNotificationClick?: ((args_0: string) => void) | undefined; onRefresh?: (() => void) | undefined; autoRefresh?: boolean | undefined; currentFilter?: { type: "all" | "event" | "system" | "member" | "inventory" | "financial" | "social" | "reminder" | "achievement"; read: "all" | "read" | "unread"; } | undefined; onNotificationRead?: ((args_0: string) => void) | undefined; onNotificationUnread?: ((args_0: string) => void) | undefined; onNotificationDelete?: ((args_0: string) => void) | undefined; onMarkAllAsRead?: (() => void) | undefined; onClearAll?: (() => void) | undefined; onFilterChange?: ((args_0: { type: "all" | "event" | "system" | "member" | "inventory" | "financial" | "social" | "reminder" | "achievement"; read: "all" | "read" | "unread"; }) => void) | undefined; enableGrouping?: boolean | undefined; enableSwipeActions?: boolean | undefined; }>; type Notification = z.infer; type NotificationFilter = z.infer; type NotificationStats = z.infer; type NotificationsPageProps = z.infer; declare const NotificationsPage: React__default.FunctionComponent; declare const whatsNewSlideSchema: z$1.ZodObject<{ emoji: z$1.ZodOptional; imageUrl: z$1.ZodOptional>; title: z$1.ZodString; body: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { title: string; body: string; emoji?: string | undefined; imageUrl?: string | null | undefined; }, { title: string; body: string; emoji?: string | undefined; imageUrl?: string | null | undefined; }>; declare const whatsNewAnnouncementSchema: z$1.ZodObject<{ id: z$1.ZodString; slug: z$1.ZodOptional; title: z$1.ZodString; version: z$1.ZodOptional; releasedAt: z$1.ZodOptional; slides: z$1.ZodArray; imageUrl: z$1.ZodOptional>; title: z$1.ZodString; body: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { title: string; body: string; emoji?: string | undefined; imageUrl?: string | null | undefined; }, { title: string; body: string; emoji?: string | undefined; imageUrl?: string | null | undefined; }>, "many">; }, "strip", z$1.ZodTypeAny, { title: string; id: string; slides: { title: string; body: string; emoji?: string | undefined; imageUrl?: string | null | undefined; }[]; version?: number | undefined; slug?: string | undefined; releasedAt?: string | undefined; }, { title: string; id: string; slides: { title: string; body: string; emoji?: string | undefined; imageUrl?: string | null | undefined; }[]; version?: number | undefined; slug?: string | undefined; releasedAt?: string | undefined; }>; declare const whatsNewModalPropsSchema: z$1.ZodObject<{ open: z$1.ZodDefault; announcement: z$1.ZodOptional; title: z$1.ZodString; version: z$1.ZodOptional; releasedAt: z$1.ZodOptional; slides: z$1.ZodArray; imageUrl: z$1.ZodOptional>; title: z$1.ZodString; body: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { title: string; body: string; emoji?: string | undefined; imageUrl?: string | null | undefined; }, { title: string; body: string; emoji?: string | undefined; imageUrl?: string | null | undefined; }>, "many">; }, "strip", z$1.ZodTypeAny, { title: string; id: string; slides: { title: string; body: string; emoji?: string | undefined; imageUrl?: string | null | undefined; }[]; version?: number | undefined; slug?: string | undefined; releasedAt?: string | undefined; }, { title: string; id: string; slides: { title: string; body: string; emoji?: string | undefined; imageUrl?: string | null | undefined; }[]; version?: number | undefined; slug?: string | undefined; releasedAt?: string | undefined; }>>>; isSaving: z$1.ZodDefault; /** Label for the final-slide button; defaults to "Entendido". */ completeLabel: z$1.ZodOptional; onClose: z$1.ZodOptional, z$1.ZodVoid>>; onComplete: z$1.ZodOptional, z$1.ZodVoid>>; }, "strip", z$1.ZodTypeAny, { open: boolean; isSaving: boolean; onClose?: (() => void) | undefined; onComplete?: (() => void) | undefined; announcement?: { title: string; id: string; slides: { title: string; body: string; emoji?: string | undefined; imageUrl?: string | null | undefined; }[]; version?: number | undefined; slug?: string | undefined; releasedAt?: string | undefined; } | null | undefined; completeLabel?: string | undefined; }, { onClose?: (() => void) | undefined; open?: boolean | undefined; onComplete?: (() => void) | undefined; isSaving?: boolean | undefined; announcement?: { title: string; id: string; slides: { title: string; body: string; emoji?: string | undefined; imageUrl?: string | null | undefined; }[]; version?: number | undefined; slug?: string | undefined; releasedAt?: string | undefined; } | null | undefined; completeLabel?: string | undefined; }>; type WhatsNewSlide = z$1.infer; type WhatsNewAnnouncement = z$1.infer; type WhatsNewModalProps = z$1.infer; declare const WhatsNewModal: React__default.FC; declare const useWhatsNewModal: (props: WhatsNewModalProps) => { data: { title: string; slides: { title: string; body: string; emoji?: string | undefined; imageUrl?: string | null | undefined; }[]; currentSlide: { title: string; body: string; emoji?: string | undefined; imageUrl?: string | null | undefined; }; currentSlideIndex: number; totalSlides: number; isFirstSlide: boolean; isLastSlide: boolean; progress: number; }; fns: { goNext: () => void; goBack: () => void; handleDismiss: () => void; handleContinue: () => void; }; }; declare const AttendanceCheckinEntrySeveritySchema: z.ZodEnum<["success", "info", "warning", "error"]>; declare const AttendanceCheckinEntryPagePropsSchema: z.ZodObject<{ title: z.ZodString; description: z.ZodOptional; isLoading: z.ZodOptional; feedbackMessage: z.ZodNullable>; feedbackSeverity: z.ZodOptional>; targetButtonLabel: z.ZodNullable>; onOpenTarget: z.ZodOptional, z.ZodVoid>>; onGoHome: z.ZodFunction, z.ZodVoid>; homeButtonLabel: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; onGoHome: () => void; description?: string | undefined; feedbackMessage?: string | null | undefined; feedbackSeverity?: "warning" | "error" | "info" | "success" | undefined; isLoading?: boolean | undefined; targetButtonLabel?: string | null | undefined; onOpenTarget?: (() => void) | undefined; homeButtonLabel?: string | undefined; }, { title: string; onGoHome: () => void; description?: string | undefined; feedbackMessage?: string | null | undefined; feedbackSeverity?: "warning" | "error" | "info" | "success" | undefined; isLoading?: boolean | undefined; targetButtonLabel?: string | null | undefined; onOpenTarget?: (() => void) | undefined; homeButtonLabel?: string | undefined; }>; type AttendanceCheckinEntrySeverity = z.infer; type AttendanceCheckinEntryPageProps = z.infer; declare const AttendanceCheckinEntryPage: React__default.FC; declare const useAttendanceCheckinEntryPage: (props: AttendanceCheckinEntryPageProps) => { data: { title: string; description: string; isLoading: boolean; feedbackMessage: string | null | undefined; feedbackSeverity: "warning" | "error" | "info" | "success" | undefined; targetButtonLabel: string | null | undefined; canOpenTarget: boolean; homeButtonLabel: string; }; fns: { handleOpenTarget: () => void; handleGoHome: () => void; }; }; declare const SigninPagePropsSchema: z.ZodObject<{ onRedirect: z.ZodFunction, z.ZodUnknown>; onSignin: z.ZodFunction], null>, z.ZodVoid>; onForgotPassword: z.ZodFunction, z.ZodVoid>; onGoogleAuth: z.ZodOptional, z.ZodVoid>>; onPasskeyLogin: z.ZodOptional, z.ZodVoid>>; passkeySupported: z.ZodOptional; passkeyLoading: z.ZodOptional; passkeyDialogTexts: z.ZodOptional; protectionPrompt: z.ZodOptional; cancel: z.ZodOptional; }, "strip", z.ZodTypeAny, { cancel?: string | undefined; appName?: string | undefined; protectionPrompt?: string | undefined; }, { cancel?: string | undefined; appName?: string | undefined; protectionPrompt?: string | undefined; }>>; googleAuthButtonText: z.ZodOptional; googleAuthLoading: z.ZodOptional; onFacebookAuth: z.ZodOptional, z.ZodVoid>>; facebookAuthButtonText: z.ZodOptional; facebookAuthLoading: z.ZodOptional; texts: z.ZodObject<{ welcome: z.ZodString; signInButton: z.ZodString; forgotPassword: z.ZodString; rememberMe: z.ZodString; agreement: z.ZodString; termsOfServiceAndPrivacyPolicyConection: z.ZodString; termsOfService: z.ZodString; privacyPolicy: z.ZodString; noAccount: z.ZodString; signUp: z.ZodString; }, "strip", z.ZodTypeAny, { welcome: string; signInButton: string; forgotPassword: string; rememberMe: string; agreement: string; termsOfServiceAndPrivacyPolicyConection: string; termsOfService: string; privacyPolicy: string; noAccount: string; signUp: string; }, { welcome: string; signInButton: string; forgotPassword: string; rememberMe: string; agreement: string; termsOfServiceAndPrivacyPolicyConection: string; termsOfService: string; privacyPolicy: string; noAccount: string; signUp: string; }>; links: z.ZodObject<{ termsOfService: z.ZodString; privacyPolicy: z.ZodString; }, "strip", z.ZodTypeAny, { termsOfService: string; privacyPolicy: string; }, { termsOfService: string; privacyPolicy: string; }>; logoUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { texts: { welcome: string; signInButton: string; forgotPassword: string; rememberMe: string; agreement: string; termsOfServiceAndPrivacyPolicyConection: string; termsOfService: string; privacyPolicy: string; noAccount: string; signUp: string; }; onRedirect: () => unknown; onForgotPassword: () => void; links: { termsOfService: string; privacyPolicy: string; }; onSignin: (args_0: Record) => void; logoUrl?: string | undefined; passkeySupported?: boolean | undefined; passkeyLoading?: boolean | undefined; onGoogleAuth?: (() => void) | undefined; googleAuthButtonText?: string | undefined; googleAuthLoading?: boolean | undefined; onFacebookAuth?: (() => void) | undefined; facebookAuthButtonText?: string | undefined; facebookAuthLoading?: boolean | undefined; onPasskeyLogin?: (() => void) | undefined; passkeyDialogTexts?: { cancel?: string | undefined; appName?: string | undefined; protectionPrompt?: string | undefined; } | undefined; }, { texts: { welcome: string; signInButton: string; forgotPassword: string; rememberMe: string; agreement: string; termsOfServiceAndPrivacyPolicyConection: string; termsOfService: string; privacyPolicy: string; noAccount: string; signUp: string; }; onRedirect: () => unknown; onForgotPassword: () => void; links: { termsOfService: string; privacyPolicy: string; }; onSignin: (args_0: Record) => void; logoUrl?: string | undefined; passkeySupported?: boolean | undefined; passkeyLoading?: boolean | undefined; onGoogleAuth?: (() => void) | undefined; googleAuthButtonText?: string | undefined; googleAuthLoading?: boolean | undefined; onFacebookAuth?: (() => void) | undefined; facebookAuthButtonText?: string | undefined; facebookAuthLoading?: boolean | undefined; onPasskeyLogin?: (() => void) | undefined; passkeyDialogTexts?: { cancel?: string | undefined; appName?: string | undefined; protectionPrompt?: string | undefined; } | undefined; }>; type SigninPageProps = z.infer; declare const SigninPage: React__default.FunctionComponent; declare const SignupAnalyticsEventNameSchema: z.ZodEnum<["signup_page_view", "signup_form_started", "signup_field_interaction", "signup_type_selected", "signup_validation_error", "signup_submit_attempt", "signup_redirect_to_login"]>; declare const SignupAnalyticsEventPayloadSchema: z.ZodDiscriminatedUnion<"event", [z.ZodObject<{ event: z.ZodLiteral<"signup_page_view">; }, "strip", z.ZodTypeAny, { event: "signup_page_view"; }, { event: "signup_page_view"; }>, z.ZodObject<{ event: z.ZodLiteral<"signup_form_started">; field: z.ZodOptional; }, "strip", z.ZodTypeAny, { event: "signup_form_started"; field?: string | undefined; }, { event: "signup_form_started"; field?: string | undefined; }>, z.ZodObject<{ event: z.ZodLiteral<"signup_field_interaction">; field: z.ZodString; }, "strip", z.ZodTypeAny, { event: "signup_field_interaction"; field: string; }, { event: "signup_field_interaction"; field: string; }>, z.ZodObject<{ event: z.ZodLiteral<"signup_type_selected">; role: z.ZodEnum<["medium", "terreiro"]>; }, "strip", z.ZodTypeAny, { role: "medium" | "terreiro"; event: "signup_type_selected"; }, { role: "medium" | "terreiro"; event: "signup_type_selected"; }>, z.ZodObject<{ event: z.ZodLiteral<"signup_validation_error">; field: z.ZodString; reason: z.ZodString; }, "strip", z.ZodTypeAny, { event: "signup_validation_error"; reason: string; field: string; }, { event: "signup_validation_error"; reason: string; field: string; }>, z.ZodObject<{ event: z.ZodLiteral<"signup_submit_attempt">; role: z.ZodEnum<["medium", "terreiro"]>; filledFields: z.ZodOptional>; }, "strip", z.ZodTypeAny, { role: "medium" | "terreiro"; event: "signup_submit_attempt"; filledFields?: string[] | undefined; }, { role: "medium" | "terreiro"; event: "signup_submit_attempt"; filledFields?: string[] | undefined; }>, z.ZodObject<{ event: z.ZodLiteral<"signup_redirect_to_login">; }, "strip", z.ZodTypeAny, { event: "signup_redirect_to_login"; }, { event: "signup_redirect_to_login"; }>]>; type SignupAnalyticsEventName = z.infer; type SignupAnalyticsEventPayload = z.infer; type SignupOnAnalyticsTrack = (payload: SignupAnalyticsEventPayload) => void; declare const SignupPagePropsSchema: z.ZodObject<{ visibleFields: z.ZodArray; texts: z.ZodObject<{ welcome: z.ZodString; registerButton: z.ZodString; agreement: z.ZodString; termsOfServiceAndPrivacyPolicyConection: z.ZodString; termsOfService: z.ZodString; privacyPolicy: z.ZodString; alreadyHaveAccount: z.ZodString; login: z.ZodString; }, "strip", z.ZodTypeAny, { welcome: string; agreement: string; termsOfServiceAndPrivacyPolicyConection: string; termsOfService: string; privacyPolicy: string; registerButton: string; alreadyHaveAccount: string; login: string; }, { welcome: string; agreement: string; termsOfServiceAndPrivacyPolicyConection: string; termsOfService: string; privacyPolicy: string; registerButton: string; alreadyHaveAccount: string; login: string; }>; links: z.ZodObject<{ termsOfService: z.ZodString; privacyPolicy: z.ZodString; }, "strip", z.ZodTypeAny, { termsOfService: string; privacyPolicy: string; }, { termsOfService: string; privacyPolicy: string; }>; logoUrl: z.ZodOptional; /** When set, locks role selection to this value (e.g. "medium" during invite flow). */ lockRole: z.ZodOptional>; /** Helper text shown when role is locked. */ lockRoleMessage: z.ZodOptional; onRedirect: z.ZodFunction, z.ZodUnknown>; onSignup: z.ZodFunction], null>, z.ZodVoid>; onGoogleAuth: z.ZodOptional, z.ZodVoid>>; googleAuthButtonText: z.ZodOptional; googleAuthLoading: z.ZodOptional; onFacebookAuth: z.ZodOptional, z.ZodVoid>>; facebookAuthButtonText: z.ZodOptional; facebookAuthLoading: z.ZodOptional; onAnalyticsTrack: z.ZodOptional; }, "strip", z.ZodTypeAny, { event: "signup_page_view"; }, { event: "signup_page_view"; }>, z.ZodObject<{ event: z.ZodLiteral<"signup_form_started">; field: z.ZodOptional; }, "strip", z.ZodTypeAny, { event: "signup_form_started"; field?: string | undefined; }, { event: "signup_form_started"; field?: string | undefined; }>, z.ZodObject<{ event: z.ZodLiteral<"signup_field_interaction">; field: z.ZodString; }, "strip", z.ZodTypeAny, { event: "signup_field_interaction"; field: string; }, { event: "signup_field_interaction"; field: string; }>, z.ZodObject<{ event: z.ZodLiteral<"signup_type_selected">; role: z.ZodEnum<["medium", "terreiro"]>; }, "strip", z.ZodTypeAny, { role: "medium" | "terreiro"; event: "signup_type_selected"; }, { role: "medium" | "terreiro"; event: "signup_type_selected"; }>, z.ZodObject<{ event: z.ZodLiteral<"signup_validation_error">; field: z.ZodString; reason: z.ZodString; }, "strip", z.ZodTypeAny, { event: "signup_validation_error"; reason: string; field: string; }, { event: "signup_validation_error"; reason: string; field: string; }>, z.ZodObject<{ event: z.ZodLiteral<"signup_submit_attempt">; role: z.ZodEnum<["medium", "terreiro"]>; filledFields: z.ZodOptional>; }, "strip", z.ZodTypeAny, { role: "medium" | "terreiro"; event: "signup_submit_attempt"; filledFields?: string[] | undefined; }, { role: "medium" | "terreiro"; event: "signup_submit_attempt"; filledFields?: string[] | undefined; }>, z.ZodObject<{ event: z.ZodLiteral<"signup_redirect_to_login">; }, "strip", z.ZodTypeAny, { event: "signup_redirect_to_login"; }, { event: "signup_redirect_to_login"; }>]>], null>, z.ZodVoid>>; }, "strip", z.ZodTypeAny, { texts: { welcome: string; agreement: string; termsOfServiceAndPrivacyPolicyConection: string; termsOfService: string; privacyPolicy: string; registerButton: string; alreadyHaveAccount: string; login: string; }; onRedirect: () => unknown; links: { termsOfService: string; privacyPolicy: string; }; visibleFields: string[]; onSignup: (args_0: Record) => void; logoUrl?: string | undefined; onGoogleAuth?: (() => void) | undefined; googleAuthButtonText?: string | undefined; googleAuthLoading?: boolean | undefined; onFacebookAuth?: (() => void) | undefined; facebookAuthButtonText?: string | undefined; facebookAuthLoading?: boolean | undefined; onAnalyticsTrack?: ((args_0: { event: "signup_page_view"; } | { event: "signup_form_started"; field?: string | undefined; } | { event: "signup_field_interaction"; field: string; } | { role: "medium" | "terreiro"; event: "signup_type_selected"; } | { event: "signup_validation_error"; reason: string; field: string; } | { role: "medium" | "terreiro"; event: "signup_submit_attempt"; filledFields?: string[] | undefined; } | { event: "signup_redirect_to_login"; }) => void) | undefined; lockRole?: "medium" | "terreiro" | undefined; lockRoleMessage?: string | undefined; }, { texts: { welcome: string; agreement: string; termsOfServiceAndPrivacyPolicyConection: string; termsOfService: string; privacyPolicy: string; registerButton: string; alreadyHaveAccount: string; login: string; }; onRedirect: () => unknown; links: { termsOfService: string; privacyPolicy: string; }; visibleFields: string[]; onSignup: (args_0: Record) => void; logoUrl?: string | undefined; onGoogleAuth?: (() => void) | undefined; googleAuthButtonText?: string | undefined; googleAuthLoading?: boolean | undefined; onFacebookAuth?: (() => void) | undefined; facebookAuthButtonText?: string | undefined; facebookAuthLoading?: boolean | undefined; onAnalyticsTrack?: ((args_0: { event: "signup_page_view"; } | { event: "signup_form_started"; field?: string | undefined; } | { event: "signup_field_interaction"; field: string; } | { role: "medium" | "terreiro"; event: "signup_type_selected"; } | { event: "signup_validation_error"; reason: string; field: string; } | { role: "medium" | "terreiro"; event: "signup_submit_attempt"; filledFields?: string[] | undefined; } | { event: "signup_redirect_to_login"; }) => void) | undefined; lockRole?: "medium" | "terreiro" | undefined; lockRoleMessage?: string | undefined; }>; type SignupPageProps = z.infer; declare const SignupPage: React__default.FunctionComponent; declare const ForgotPasswordPagePropsSchema: z.ZodObject<{ email: z.ZodString; isPending: z.ZodOptional; submitted: z.ZodOptional; onEmailChange: z.ZodFunction, z.ZodVoid>; onSubmit: z.ZodFunction, z.ZodVoid>; onBackToSignin: z.ZodFunction, z.ZodVoid>; }, "strip", z.ZodTypeAny, { onSubmit: () => void; email: string; onEmailChange: (args_0: string) => void; onBackToSignin: () => void; submitted?: boolean | undefined; isPending?: boolean | undefined; }, { onSubmit: () => void; email: string; onEmailChange: (args_0: string) => void; onBackToSignin: () => void; submitted?: boolean | undefined; isPending?: boolean | undefined; }>; type ForgotPasswordPageProps = z.infer; declare const ForgotPasswordPage: React__default.FunctionComponent; declare const ResetPasswordPagePropsSchema: z.ZodObject<{ token: z.ZodString; newPassword: z.ZodString; confirmPassword: z.ZodString; errorMessage: z.ZodOptional>; isPending: z.ZodOptional; onNewPasswordChange: z.ZodFunction, z.ZodVoid>; onConfirmPasswordChange: z.ZodFunction, z.ZodVoid>; onSubmit: z.ZodFunction, z.ZodVoid>; onBackToSignin: z.ZodFunction, z.ZodVoid>; }, "strip", z.ZodTypeAny, { onSubmit: () => void; token: string; newPassword: string; confirmPassword: string; onBackToSignin: () => void; onConfirmPasswordChange: (args_0: string) => void; onNewPasswordChange: (args_0: string) => void; errorMessage?: string | null | undefined; isPending?: boolean | undefined; }, { onSubmit: () => void; token: string; newPassword: string; confirmPassword: string; onBackToSignin: () => void; onConfirmPasswordChange: (args_0: string) => void; onNewPasswordChange: (args_0: string) => void; errorMessage?: string | null | undefined; isPending?: boolean | undefined; }>; type ResetPasswordPageProps = z.infer; declare const ResetPasswordPage: React__default.FunctionComponent; declare const StripeProductSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; active: z.ZodBoolean; images: z.ZodArray; metadata: z.ZodOptional>; price: z.ZodObject<{ id: z.ZodString; currency: z.ZodString; unit_amount: z.ZodNumber; recurring: z.ZodObject<{ interval: z.ZodString; interval_count: z.ZodNumber; meter: z.ZodOptional>; trial_period_days: z.ZodOptional>; usage_type: z.ZodOptional; }, "strip", z.ZodTypeAny, { interval: string; interval_count: number; meter?: any; trial_period_days?: any; usage_type?: string | undefined; }, { interval: string; interval_count: number; meter?: any; trial_period_days?: any; usage_type?: string | undefined; }>; }, "strip", z.ZodTypeAny, { id: string; currency: string; unit_amount: number; recurring: { interval: string; interval_count: number; meter?: any; trial_period_days?: any; usage_type?: string | undefined; }; }, { id: string; currency: string; unit_amount: number; recurring: { interval: string; interval_count: number; meter?: any; trial_period_days?: any; usage_type?: string | undefined; }; }>; created: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; active: boolean; description: string; price: { id: string; currency: string; unit_amount: number; recurring: { interval: string; interval_count: number; meter?: any; trial_period_days?: any; usage_type?: string | undefined; }; }; images: string[]; created: string; metadata?: Record | undefined; }, { id: string; name: string; active: boolean; description: string; price: { id: string; currency: string; unit_amount: number; recurring: { interval: string; interval_count: number; meter?: any; trial_period_days?: any; usage_type?: string | undefined; }; }; images: string[]; created: string; metadata?: Record | undefined; }>; type StripeProduct = z.infer; declare const SubscriptionStatus: z.ZodEnum<["already-subscribed", "not-subscribed"]>; type SubscriptionStatus = z.infer; declare const PlanCardViewModelSchema: z.ZodObject<{ tier: z.ZodString; name: z.ZodString; description: z.ZodString; monthlyPriceCents: z.ZodNumber; yearlyPriceCents: z.ZodOptional; currency: z.ZodString; monthlyPriceId: z.ZodOptional; yearlyPriceId: z.ZodOptional; isFree: z.ZodBoolean; mediumLimit: z.ZodNumber; topIncluded: z.ZodArray; topUnlocks: z.ZodArray; isBestValue: z.ZodOptional; statusLabel: z.ZodOptional; renewalDate: z.ZodOptional; isUnknown: z.ZodOptional; reasonCode: z.ZodOptional; activePriceId: z.ZodOptional>; costPerMediumCents: z.ZodNullable; mediumUsage: z.ZodNumber; isPartnerGranted: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }, { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }>; type PlanCardViewModel = z.infer; declare const SystemSettingsPagePropsSchema: z.ZodObject<{ onThemeChange: z.ZodOptional], null>, z.ZodVoid>>; currentTheme: z.ZodOptional>; isAdmin: z.ZodDefault>; canViewSubscriptionPlan: z.ZodDefault>; canViewUsageQuotas: z.ZodDefault>; canUseWhatsAppNotifications: z.ZodDefault>; currentLanguage: z.ZodOptional; onLanguageChange: z.ZodOptional, z.ZodVoid>>; onSubscriptionChange: z.ZodOptional, z.ZodVoid>>; currentSubscriptionPlan: z.ZodOptional; products: z.ZodOptional; metadata: z.ZodOptional>; price: z.ZodObject<{ id: z.ZodString; currency: z.ZodString; unit_amount: z.ZodNumber; recurring: z.ZodObject<{ interval: z.ZodString; interval_count: z.ZodNumber; meter: z.ZodOptional>; trial_period_days: z.ZodOptional>; usage_type: z.ZodOptional; }, "strip", z.ZodTypeAny, { interval: string; interval_count: number; meter?: any; trial_period_days?: any; usage_type?: string | undefined; }, { interval: string; interval_count: number; meter?: any; trial_period_days?: any; usage_type?: string | undefined; }>; }, "strip", z.ZodTypeAny, { id: string; currency: string; unit_amount: number; recurring: { interval: string; interval_count: number; meter?: any; trial_period_days?: any; usage_type?: string | undefined; }; }, { id: string; currency: string; unit_amount: number; recurring: { interval: string; interval_count: number; meter?: any; trial_period_days?: any; usage_type?: string | undefined; }; }>; created: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; active: boolean; description: string; price: { id: string; currency: string; unit_amount: number; recurring: { interval: string; interval_count: number; meter?: any; trial_period_days?: any; usage_type?: string | undefined; }; }; images: string[]; created: string; metadata?: Record | undefined; }, { id: string; name: string; active: boolean; description: string; price: { id: string; currency: string; unit_amount: number; recurring: { interval: string; interval_count: number; meter?: any; trial_period_days?: any; usage_type?: string | undefined; }; }; images: string[]; created: string; metadata?: Record | undefined; }>, "many">>; currentSubscription: z.ZodOptional; planManagement: z.ZodOptional; currency: z.ZodString; monthlyPriceId: z.ZodOptional; yearlyPriceId: z.ZodOptional; isFree: z.ZodBoolean; mediumLimit: z.ZodNumber; topIncluded: z.ZodArray; topUnlocks: z.ZodArray; isBestValue: z.ZodOptional; statusLabel: z.ZodOptional; renewalDate: z.ZodOptional; isUnknown: z.ZodOptional; reasonCode: z.ZodOptional; activePriceId: z.ZodOptional>; costPerMediumCents: z.ZodNullable; mediumUsage: z.ZodNumber; isPartnerGranted: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }, { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }>; otherPlans: z.ZodArray; currency: z.ZodString; monthlyPriceId: z.ZodOptional; yearlyPriceId: z.ZodOptional; isFree: z.ZodBoolean; mediumLimit: z.ZodNumber; topIncluded: z.ZodArray; topUnlocks: z.ZodArray; isBestValue: z.ZodOptional; statusLabel: z.ZodOptional; renewalDate: z.ZodOptional; isUnknown: z.ZodOptional; reasonCode: z.ZodOptional; activePriceId: z.ZodOptional>; costPerMediumCents: z.ZodNullable; mediumUsage: z.ZodNumber; isPartnerGranted: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }, { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }>, "many">; usageLabel: z.ZodString; isPartnerGranted: z.ZodOptional; }, "strip", z.ZodTypeAny, { activePlan: { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }; otherPlans: { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }[]; usageLabel: string; isPartnerGranted?: boolean | undefined; }, { activePlan: { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }; otherPlans: { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }[]; usageLabel: string; isPartnerGranted?: boolean | undefined; }>>; onManageSubscription: z.ZodOptional, z.ZodVoid>>; manageSubscriptionLabel: z.ZodOptional; onNotificationSettingsChange: z.ZodOptional; }, "strip", z.ZodTypeAny, { push: boolean; email: boolean; sms: boolean; inApp: boolean; whatsapp?: boolean | undefined; }, { push: boolean; email: boolean; sms: boolean; inApp: boolean; whatsapp?: boolean | undefined; }>], null>, z.ZodVoid>>; notificationSettings: z.ZodOptional; }, "strip", z.ZodTypeAny, { push: boolean; email: boolean; sms: boolean; inApp: boolean; whatsapp?: boolean | undefined; }, { push: boolean; email: boolean; sms: boolean; inApp: boolean; whatsapp?: boolean | undefined; }>>; pushPermission: z.ZodOptional>; typePreferences: z.ZodOptional, "many">>; onTypePushPreferenceChange: z.ZodOptional, z.ZodVoid>>; subscriptionStatus: z.ZodOptional>; onDeleteAccount: z.ZodOptional, z.ZodVoid>>; onExportData: z.ZodOptional, z.ZodVoid>>; onNavigate: z.ZodOptional, z.ZodVoid>>; onBack: z.ZodOptional, z.ZodVoid>>; onLogout: z.ZodOptional, z.ZodVoid>>; onViewPermissions: z.ZodOptional, z.ZodVoid>>; onViewAffiliateProgram: z.ZodOptional, z.ZodVoid>>; onViewRoleManagement: z.ZodOptional, z.ZodVoid>>; onViewUsageQuotas: z.ZodOptional, z.ZodVoid>>; onViewPlanManagement: z.ZodOptional, z.ZodVoid>>; onViewNotifications: z.ZodOptional, z.ZodVoid>>; onViewTerreiroPolicy: z.ZodOptional, z.ZodVoid>>; onScheduleMeeting: z.ZodOptional, z.ZodVoid>>; onPromptPwaInstall: z.ZodOptional, z.ZodVoid>>; onCreateTerreiro: z.ZodOptional, z.ZodVoid>>; createTerreiroReligions: z.ZodDefault, "many">>>; onCreateTerreiroSubmit: z.ZodOptional], null>, z.ZodUnion<[z.ZodBoolean, z.ZodVoid, z.ZodPromise, z.ZodPromise]>>>; isCreatingTerreiro: z.ZodDefault>; canManageTerreiroPolicy: z.ZodDefault>; canArchiveTerreiro: z.ZodDefault>; archiveTerreiroName: z.ZodOptional; onArchiveTerreiro: z.ZodOptional, z.ZodUnion<[z.ZodVoid, z.ZodPromise]>>>; isArchivingTerreiro: z.ZodDefault>; terreiroPolicy: z.ZodOptional; key: z.ZodString; title: z.ZodString; markdown: z.ZodString; version: z.ZodOptional; updatedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; source: "SYSTEM" | "CUSTOM"; key: string; markdown: string; version?: number | undefined; updatedAt?: string | undefined; }, { title: string; source: "SYSTEM" | "CUSTOM"; key: string; markdown: string; version?: number | undefined; updatedAt?: string | undefined; }>>>; isTerreiroPolicyLoading: z.ZodDefault>; isSavingTerreiroPolicy: z.ZodDefault>; onSaveCustomTerreiroPolicy: z.ZodOptional], null>, z.ZodVoid>>; onChangeTerreiroPolicySource: z.ZodOptional], null>, z.ZodVoid>>; currentPlanId: z.ZodOptional; usageTracking: z.ZodOptional; plan: z.ZodOptional; planName: z.ZodOptional; context: z.ZodOptional; upgradeRecommended: z.ZodOptional; nearingLimits: z.ZodOptional>; usage: z.ZodOptional>; members: z.ZodOptional>; activities: z.ZodOptional>; inventoryItems: z.ZodOptional>; bankAccounts: z.ZodOptional>; incomingTransactions: z.ZodOptional>; outcomeTransactions: z.ZodOptional>; ritualBaths: z.ZodOptional>; }, "strip", z.ZodTypeAny, { events?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; members?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; activities?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; inventoryItems?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; bankAccounts?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; incomingTransactions?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; outcomeTransactions?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; ritualBaths?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; }, { events?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; members?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; activities?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; inventoryItems?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; bankAccounts?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; incomingTransactions?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; outcomeTransactions?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; ritualBaths?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; }>>; features: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { tier?: string | undefined; plan?: string | undefined; planName?: string | undefined; context?: string | undefined; upgradeRecommended?: boolean | undefined; nearingLimits?: string[] | undefined; usage?: { events?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; members?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; activities?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; inventoryItems?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; bankAccounts?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; incomingTransactions?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; outcomeTransactions?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; ritualBaths?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; } | undefined; features?: Record | undefined; }, { tier?: string | undefined; plan?: string | undefined; planName?: string | undefined; context?: string | undefined; upgradeRecommended?: boolean | undefined; nearingLimits?: string[] | undefined; usage?: { events?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; members?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; activities?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; inventoryItems?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; bankAccounts?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; incomingTransactions?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; outcomeTransactions?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; ritualBaths?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; } | undefined; features?: Record | undefined; }>>; isPersonalProfile: z.ZodDefault>; }, "strip", z.ZodTypeAny, { isAdmin: boolean; canViewSubscriptionPlan: boolean; canViewUsageQuotas: boolean; canUseWhatsAppNotifications: boolean; createTerreiroReligions: { id: string; name: string; }[]; isCreatingTerreiro: boolean; canManageTerreiroPolicy: boolean; canArchiveTerreiro: boolean; isArchivingTerreiro: boolean; isTerreiroPolicyLoading: boolean; isSavingTerreiroPolicy: boolean; isPersonalProfile: boolean; onThemeChange?: ((args_0: "dark" | "light" | "system") => void) | undefined; currentTheme?: "dark" | "light" | "system" | undefined; currentLanguage?: string | undefined; onLanguageChange?: ((args_0: string) => void) | undefined; onSubscriptionChange?: ((args_0: string) => void) | undefined; currentSubscriptionPlan?: string | undefined; products?: { id: string; name: string; active: boolean; description: string; price: { id: string; currency: string; unit_amount: number; recurring: { interval: string; interval_count: number; meter?: any; trial_period_days?: any; usage_type?: string | undefined; }; }; images: string[]; created: string; metadata?: Record | undefined; }[] | undefined; currentSubscription?: any; planManagement?: { activePlan: { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }; otherPlans: { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }[]; usageLabel: string; isPartnerGranted?: boolean | undefined; } | undefined; onManageSubscription?: (() => void) | undefined; manageSubscriptionLabel?: string | undefined; onNotificationSettingsChange?: ((args_0: { push: boolean; email: boolean; sms: boolean; inApp: boolean; whatsapp?: boolean | undefined; }) => void) | undefined; notificationSettings?: { push: boolean; email: boolean; sms: boolean; inApp: boolean; whatsapp?: boolean | undefined; } | undefined; pushPermission?: "default" | "granted" | "denied" | "unsupported" | undefined; typePreferences?: { push: boolean; type: string; }[] | undefined; onTypePushPreferenceChange?: ((args_0: string, args_1: boolean) => void) | undefined; subscriptionStatus?: "already-subscribed" | "not-subscribed" | undefined; onDeleteAccount?: (() => void) | undefined; onExportData?: (() => void) | undefined; onNavigate?: ((args_0: string) => void) | undefined; onBack?: (() => void) | undefined; onLogout?: (() => void) | undefined; onViewPermissions?: (() => void) | undefined; onViewAffiliateProgram?: (() => void) | undefined; onViewRoleManagement?: (() => void) | undefined; onViewUsageQuotas?: (() => void) | undefined; onViewPlanManagement?: (() => void) | undefined; onViewNotifications?: (() => void) | undefined; onViewTerreiroPolicy?: (() => void) | undefined; onScheduleMeeting?: (() => void) | undefined; onPromptPwaInstall?: (() => void) | undefined; onCreateTerreiro?: (() => void) | undefined; onCreateTerreiroSubmit?: ((args_0: { terreiroName: string; religionId: string; }) => boolean | void | Promise | Promise) | undefined; archiveTerreiroName?: string | undefined; onArchiveTerreiro?: (() => void | Promise) | undefined; terreiroPolicy?: { title: string; source: "SYSTEM" | "CUSTOM"; key: string; markdown: string; version?: number | undefined; updatedAt?: string | undefined; } | null | undefined; onSaveCustomTerreiroPolicy?: ((args_0: { title: string; markdown: string; }) => void) | undefined; onChangeTerreiroPolicySource?: ((args_0: "SYSTEM" | "CUSTOM") => void) | undefined; currentPlanId?: string | undefined; usageTracking?: { tier?: string | undefined; plan?: string | undefined; planName?: string | undefined; context?: string | undefined; upgradeRecommended?: boolean | undefined; nearingLimits?: string[] | undefined; usage?: { events?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; members?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; activities?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; inventoryItems?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; bankAccounts?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; incomingTransactions?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; outcomeTransactions?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; ritualBaths?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; } | undefined; features?: Record | undefined; } | undefined; }, { onThemeChange?: ((args_0: "dark" | "light" | "system") => void) | undefined; currentTheme?: "dark" | "light" | "system" | undefined; isAdmin?: boolean | undefined; canViewSubscriptionPlan?: boolean | undefined; canViewUsageQuotas?: boolean | undefined; canUseWhatsAppNotifications?: boolean | undefined; currentLanguage?: string | undefined; onLanguageChange?: ((args_0: string) => void) | undefined; onSubscriptionChange?: ((args_0: string) => void) | undefined; currentSubscriptionPlan?: string | undefined; products?: { id: string; name: string; active: boolean; description: string; price: { id: string; currency: string; unit_amount: number; recurring: { interval: string; interval_count: number; meter?: any; trial_period_days?: any; usage_type?: string | undefined; }; }; images: string[]; created: string; metadata?: Record | undefined; }[] | undefined; currentSubscription?: any; planManagement?: { activePlan: { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }; otherPlans: { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }[]; usageLabel: string; isPartnerGranted?: boolean | undefined; } | undefined; onManageSubscription?: (() => void) | undefined; manageSubscriptionLabel?: string | undefined; onNotificationSettingsChange?: ((args_0: { push: boolean; email: boolean; sms: boolean; inApp: boolean; whatsapp?: boolean | undefined; }) => void) | undefined; notificationSettings?: { push: boolean; email: boolean; sms: boolean; inApp: boolean; whatsapp?: boolean | undefined; } | undefined; pushPermission?: "default" | "granted" | "denied" | "unsupported" | undefined; typePreferences?: { push: boolean; type: string; }[] | undefined; onTypePushPreferenceChange?: ((args_0: string, args_1: boolean) => void) | undefined; subscriptionStatus?: "already-subscribed" | "not-subscribed" | undefined; onDeleteAccount?: (() => void) | undefined; onExportData?: (() => void) | undefined; onNavigate?: ((args_0: string) => void) | undefined; onBack?: (() => void) | undefined; onLogout?: (() => void) | undefined; onViewPermissions?: (() => void) | undefined; onViewAffiliateProgram?: (() => void) | undefined; onViewRoleManagement?: (() => void) | undefined; onViewUsageQuotas?: (() => void) | undefined; onViewPlanManagement?: (() => void) | undefined; onViewNotifications?: (() => void) | undefined; onViewTerreiroPolicy?: (() => void) | undefined; onScheduleMeeting?: (() => void) | undefined; onPromptPwaInstall?: (() => void) | undefined; onCreateTerreiro?: (() => void) | undefined; createTerreiroReligions?: { id: string; name: string; }[] | undefined; onCreateTerreiroSubmit?: ((args_0: { terreiroName: string; religionId: string; }) => boolean | void | Promise | Promise) | undefined; isCreatingTerreiro?: boolean | undefined; canManageTerreiroPolicy?: boolean | undefined; canArchiveTerreiro?: boolean | undefined; archiveTerreiroName?: string | undefined; onArchiveTerreiro?: (() => void | Promise) | undefined; isArchivingTerreiro?: boolean | undefined; terreiroPolicy?: { title: string; source: "SYSTEM" | "CUSTOM"; key: string; markdown: string; version?: number | undefined; updatedAt?: string | undefined; } | null | undefined; isTerreiroPolicyLoading?: boolean | undefined; isSavingTerreiroPolicy?: boolean | undefined; onSaveCustomTerreiroPolicy?: ((args_0: { title: string; markdown: string; }) => void) | undefined; onChangeTerreiroPolicySource?: ((args_0: "SYSTEM" | "CUSTOM") => void) | undefined; currentPlanId?: string | undefined; usageTracking?: { tier?: string | undefined; plan?: string | undefined; planName?: string | undefined; context?: string | undefined; upgradeRecommended?: boolean | undefined; nearingLimits?: string[] | undefined; usage?: { events?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; members?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; activities?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; inventoryItems?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; bankAccounts?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; incomingTransactions?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; outcomeTransactions?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; ritualBaths?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; } | undefined; features?: Record | undefined; } | undefined; isPersonalProfile?: boolean | undefined; }>; type SystemSettingsPageProps = z.infer; declare const SystemSettingsPage: React__default.FunctionComponent; declare const AffiliateLinkSchema: z.ZodObject<{ id: z.ZodString; code: z.ZodString; status: z.ZodString; shareUrl: z.ZodString; pixKey: z.ZodOptional>; policiesAcceptedAt: z.ZodOptional>; policyVersion: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; code: string; status: string; updatedAt: string; createdAt: string; shareUrl: string; pixKey?: string | null | undefined; policiesAcceptedAt?: string | null | undefined; policyVersion?: string | null | undefined; }, { id: string; code: string; status: string; updatedAt: string; createdAt: string; shareUrl: string; pixKey?: string | null | undefined; policiesAcceptedAt?: string | null | undefined; policyVersion?: string | null | undefined; }>; declare const AffiliateStatsSchema: z.ZodObject<{ totalReferrals: z.ZodNumber; signupCompleted: z.ZodNumber; subscriptionSelected: z.ZodNumber; firstPaymentsConfirmed: z.ZodNumber; commissionsGenerated: z.ZodNumber; totalCommissionAmount: z.ZodNumber; totalPaidCommissionAmount: z.ZodNumber; totalOutstandingCommissionAmount: z.ZodNumber; }, "strip", z.ZodTypeAny, { totalReferrals: number; signupCompleted: number; subscriptionSelected: number; firstPaymentsConfirmed: number; commissionsGenerated: number; totalCommissionAmount: number; totalPaidCommissionAmount: number; totalOutstandingCommissionAmount: number; }, { totalReferrals: number; signupCompleted: number; subscriptionSelected: number; firstPaymentsConfirmed: number; commissionsGenerated: number; totalCommissionAmount: number; totalPaidCommissionAmount: number; totalOutstandingCommissionAmount: number; }>; declare const AffiliateReferralSchema: z.ZodObject<{ id: z.ZodString; stage: z.ZodString; referredUserId: z.ZodNullable; referredEmail: z.ZodNullable; referredName: z.ZodNullable; source: z.ZodNullable; utmSource: z.ZodNullable; utmCampaign: z.ZodNullable; signupMethod: z.ZodNullable; selectedPriceId: z.ZodNullable; selectedPlanName: z.ZodOptional>; selectedPlanCycle: z.ZodOptional>; selectedPlanLabel: z.ZodOptional>; firstPaymentId: z.ZodNullable; firstPaymentAmount: z.ZodNullable; commissionAmount: z.ZodOptional>; commissionStatus: z.ZodOptional>; linkAccessedAt: z.ZodNullable; signupStartedAt: z.ZodNullable; signupCompletedAt: z.ZodNullable; subscriptionSelectedAt: z.ZodNullable; firstPaymentConfirmedAt: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; source: string | null; updatedAt: string; createdAt: string; stage: string; referredUserId: string | null; referredEmail: string | null; referredName: string | null; utmSource: string | null; utmCampaign: string | null; signupMethod: string | null; selectedPriceId: string | null; firstPaymentId: string | null; firstPaymentAmount: number | null; linkAccessedAt: string | null; signupStartedAt: string | null; signupCompletedAt: string | null; subscriptionSelectedAt: string | null; firstPaymentConfirmedAt: string | null; selectedPlanName?: string | null | undefined; selectedPlanCycle?: string | null | undefined; selectedPlanLabel?: string | null | undefined; commissionAmount?: number | null | undefined; commissionStatus?: string | null | undefined; }, { id: string; source: string | null; updatedAt: string; createdAt: string; stage: string; referredUserId: string | null; referredEmail: string | null; referredName: string | null; utmSource: string | null; utmCampaign: string | null; signupMethod: string | null; selectedPriceId: string | null; firstPaymentId: string | null; firstPaymentAmount: number | null; linkAccessedAt: string | null; signupStartedAt: string | null; signupCompletedAt: string | null; subscriptionSelectedAt: string | null; firstPaymentConfirmedAt: string | null; selectedPlanName?: string | null | undefined; selectedPlanCycle?: string | null | undefined; selectedPlanLabel?: string | null | undefined; commissionAmount?: number | null | undefined; commissionStatus?: string | null | undefined; }>; declare const AffiliateDashboardSchema: z.ZodObject<{ mediumId: z.ZodString; terreiroId: z.ZodNullable; isPersonalProfile: z.ZodBoolean; link: z.ZodObject<{ id: z.ZodString; code: z.ZodString; status: z.ZodString; shareUrl: z.ZodString; pixKey: z.ZodOptional>; policiesAcceptedAt: z.ZodOptional>; policyVersion: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; code: string; status: string; updatedAt: string; createdAt: string; shareUrl: string; pixKey?: string | null | undefined; policiesAcceptedAt?: string | null | undefined; policyVersion?: string | null | undefined; }, { id: string; code: string; status: string; updatedAt: string; createdAt: string; shareUrl: string; pixKey?: string | null | undefined; policiesAcceptedAt?: string | null | undefined; policyVersion?: string | null | undefined; }>; stats: z.ZodObject<{ totalReferrals: z.ZodNumber; signupCompleted: z.ZodNumber; subscriptionSelected: z.ZodNumber; firstPaymentsConfirmed: z.ZodNumber; commissionsGenerated: z.ZodNumber; totalCommissionAmount: z.ZodNumber; totalPaidCommissionAmount: z.ZodNumber; totalOutstandingCommissionAmount: z.ZodNumber; }, "strip", z.ZodTypeAny, { totalReferrals: number; signupCompleted: number; subscriptionSelected: number; firstPaymentsConfirmed: number; commissionsGenerated: number; totalCommissionAmount: number; totalPaidCommissionAmount: number; totalOutstandingCommissionAmount: number; }, { totalReferrals: number; signupCompleted: number; subscriptionSelected: number; firstPaymentsConfirmed: number; commissionsGenerated: number; totalCommissionAmount: number; totalPaidCommissionAmount: number; totalOutstandingCommissionAmount: number; }>; referrals: z.ZodArray; referredEmail: z.ZodNullable; referredName: z.ZodNullable; source: z.ZodNullable; utmSource: z.ZodNullable; utmCampaign: z.ZodNullable; signupMethod: z.ZodNullable; selectedPriceId: z.ZodNullable; selectedPlanName: z.ZodOptional>; selectedPlanCycle: z.ZodOptional>; selectedPlanLabel: z.ZodOptional>; firstPaymentId: z.ZodNullable; firstPaymentAmount: z.ZodNullable; commissionAmount: z.ZodOptional>; commissionStatus: z.ZodOptional>; linkAccessedAt: z.ZodNullable; signupStartedAt: z.ZodNullable; signupCompletedAt: z.ZodNullable; subscriptionSelectedAt: z.ZodNullable; firstPaymentConfirmedAt: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; source: string | null; updatedAt: string; createdAt: string; stage: string; referredUserId: string | null; referredEmail: string | null; referredName: string | null; utmSource: string | null; utmCampaign: string | null; signupMethod: string | null; selectedPriceId: string | null; firstPaymentId: string | null; firstPaymentAmount: number | null; linkAccessedAt: string | null; signupStartedAt: string | null; signupCompletedAt: string | null; subscriptionSelectedAt: string | null; firstPaymentConfirmedAt: string | null; selectedPlanName?: string | null | undefined; selectedPlanCycle?: string | null | undefined; selectedPlanLabel?: string | null | undefined; commissionAmount?: number | null | undefined; commissionStatus?: string | null | undefined; }, { id: string; source: string | null; updatedAt: string; createdAt: string; stage: string; referredUserId: string | null; referredEmail: string | null; referredName: string | null; utmSource: string | null; utmCampaign: string | null; signupMethod: string | null; selectedPriceId: string | null; firstPaymentId: string | null; firstPaymentAmount: number | null; linkAccessedAt: string | null; signupStartedAt: string | null; signupCompletedAt: string | null; subscriptionSelectedAt: string | null; firstPaymentConfirmedAt: string | null; selectedPlanName?: string | null | undefined; selectedPlanCycle?: string | null | undefined; selectedPlanLabel?: string | null | undefined; commissionAmount?: number | null | undefined; commissionStatus?: string | null | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { link: { id: string; code: string; status: string; updatedAt: string; createdAt: string; shareUrl: string; pixKey?: string | null | undefined; policiesAcceptedAt?: string | null | undefined; policyVersion?: string | null | undefined; }; isPersonalProfile: boolean; mediumId: string; terreiroId: string | null; stats: { totalReferrals: number; signupCompleted: number; subscriptionSelected: number; firstPaymentsConfirmed: number; commissionsGenerated: number; totalCommissionAmount: number; totalPaidCommissionAmount: number; totalOutstandingCommissionAmount: number; }; referrals: { id: string; source: string | null; updatedAt: string; createdAt: string; stage: string; referredUserId: string | null; referredEmail: string | null; referredName: string | null; utmSource: string | null; utmCampaign: string | null; signupMethod: string | null; selectedPriceId: string | null; firstPaymentId: string | null; firstPaymentAmount: number | null; linkAccessedAt: string | null; signupStartedAt: string | null; signupCompletedAt: string | null; subscriptionSelectedAt: string | null; firstPaymentConfirmedAt: string | null; selectedPlanName?: string | null | undefined; selectedPlanCycle?: string | null | undefined; selectedPlanLabel?: string | null | undefined; commissionAmount?: number | null | undefined; commissionStatus?: string | null | undefined; }[]; }, { link: { id: string; code: string; status: string; updatedAt: string; createdAt: string; shareUrl: string; pixKey?: string | null | undefined; policiesAcceptedAt?: string | null | undefined; policyVersion?: string | null | undefined; }; isPersonalProfile: boolean; mediumId: string; terreiroId: string | null; stats: { totalReferrals: number; signupCompleted: number; subscriptionSelected: number; firstPaymentsConfirmed: number; commissionsGenerated: number; totalCommissionAmount: number; totalPaidCommissionAmount: number; totalOutstandingCommissionAmount: number; }; referrals: { id: string; source: string | null; updatedAt: string; createdAt: string; stage: string; referredUserId: string | null; referredEmail: string | null; referredName: string | null; utmSource: string | null; utmCampaign: string | null; signupMethod: string | null; selectedPriceId: string | null; firstPaymentId: string | null; firstPaymentAmount: number | null; linkAccessedAt: string | null; signupStartedAt: string | null; signupCompletedAt: string | null; subscriptionSelectedAt: string | null; firstPaymentConfirmedAt: string | null; selectedPlanName?: string | null | undefined; selectedPlanCycle?: string | null | undefined; selectedPlanLabel?: string | null | undefined; commissionAmount?: number | null | undefined; commissionStatus?: string | null | undefined; }[]; }>; declare const AffiliateProgramPagePropsSchema: z.ZodObject<{ data: z.ZodNullable; isPersonalProfile: z.ZodBoolean; link: z.ZodObject<{ id: z.ZodString; code: z.ZodString; status: z.ZodString; shareUrl: z.ZodString; pixKey: z.ZodOptional>; policiesAcceptedAt: z.ZodOptional>; policyVersion: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; code: string; status: string; updatedAt: string; createdAt: string; shareUrl: string; pixKey?: string | null | undefined; policiesAcceptedAt?: string | null | undefined; policyVersion?: string | null | undefined; }, { id: string; code: string; status: string; updatedAt: string; createdAt: string; shareUrl: string; pixKey?: string | null | undefined; policiesAcceptedAt?: string | null | undefined; policyVersion?: string | null | undefined; }>; stats: z.ZodObject<{ totalReferrals: z.ZodNumber; signupCompleted: z.ZodNumber; subscriptionSelected: z.ZodNumber; firstPaymentsConfirmed: z.ZodNumber; commissionsGenerated: z.ZodNumber; totalCommissionAmount: z.ZodNumber; totalPaidCommissionAmount: z.ZodNumber; totalOutstandingCommissionAmount: z.ZodNumber; }, "strip", z.ZodTypeAny, { totalReferrals: number; signupCompleted: number; subscriptionSelected: number; firstPaymentsConfirmed: number; commissionsGenerated: number; totalCommissionAmount: number; totalPaidCommissionAmount: number; totalOutstandingCommissionAmount: number; }, { totalReferrals: number; signupCompleted: number; subscriptionSelected: number; firstPaymentsConfirmed: number; commissionsGenerated: number; totalCommissionAmount: number; totalPaidCommissionAmount: number; totalOutstandingCommissionAmount: number; }>; referrals: z.ZodArray; referredEmail: z.ZodNullable; referredName: z.ZodNullable; source: z.ZodNullable; utmSource: z.ZodNullable; utmCampaign: z.ZodNullable; signupMethod: z.ZodNullable; selectedPriceId: z.ZodNullable; selectedPlanName: z.ZodOptional>; selectedPlanCycle: z.ZodOptional>; selectedPlanLabel: z.ZodOptional>; firstPaymentId: z.ZodNullable; firstPaymentAmount: z.ZodNullable; commissionAmount: z.ZodOptional>; commissionStatus: z.ZodOptional>; linkAccessedAt: z.ZodNullable; signupStartedAt: z.ZodNullable; signupCompletedAt: z.ZodNullable; subscriptionSelectedAt: z.ZodNullable; firstPaymentConfirmedAt: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; source: string | null; updatedAt: string; createdAt: string; stage: string; referredUserId: string | null; referredEmail: string | null; referredName: string | null; utmSource: string | null; utmCampaign: string | null; signupMethod: string | null; selectedPriceId: string | null; firstPaymentId: string | null; firstPaymentAmount: number | null; linkAccessedAt: string | null; signupStartedAt: string | null; signupCompletedAt: string | null; subscriptionSelectedAt: string | null; firstPaymentConfirmedAt: string | null; selectedPlanName?: string | null | undefined; selectedPlanCycle?: string | null | undefined; selectedPlanLabel?: string | null | undefined; commissionAmount?: number | null | undefined; commissionStatus?: string | null | undefined; }, { id: string; source: string | null; updatedAt: string; createdAt: string; stage: string; referredUserId: string | null; referredEmail: string | null; referredName: string | null; utmSource: string | null; utmCampaign: string | null; signupMethod: string | null; selectedPriceId: string | null; firstPaymentId: string | null; firstPaymentAmount: number | null; linkAccessedAt: string | null; signupStartedAt: string | null; signupCompletedAt: string | null; subscriptionSelectedAt: string | null; firstPaymentConfirmedAt: string | null; selectedPlanName?: string | null | undefined; selectedPlanCycle?: string | null | undefined; selectedPlanLabel?: string | null | undefined; commissionAmount?: number | null | undefined; commissionStatus?: string | null | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { link: { id: string; code: string; status: string; updatedAt: string; createdAt: string; shareUrl: string; pixKey?: string | null | undefined; policiesAcceptedAt?: string | null | undefined; policyVersion?: string | null | undefined; }; isPersonalProfile: boolean; mediumId: string; terreiroId: string | null; stats: { totalReferrals: number; signupCompleted: number; subscriptionSelected: number; firstPaymentsConfirmed: number; commissionsGenerated: number; totalCommissionAmount: number; totalPaidCommissionAmount: number; totalOutstandingCommissionAmount: number; }; referrals: { id: string; source: string | null; updatedAt: string; createdAt: string; stage: string; referredUserId: string | null; referredEmail: string | null; referredName: string | null; utmSource: string | null; utmCampaign: string | null; signupMethod: string | null; selectedPriceId: string | null; firstPaymentId: string | null; firstPaymentAmount: number | null; linkAccessedAt: string | null; signupStartedAt: string | null; signupCompletedAt: string | null; subscriptionSelectedAt: string | null; firstPaymentConfirmedAt: string | null; selectedPlanName?: string | null | undefined; selectedPlanCycle?: string | null | undefined; selectedPlanLabel?: string | null | undefined; commissionAmount?: number | null | undefined; commissionStatus?: string | null | undefined; }[]; }, { link: { id: string; code: string; status: string; updatedAt: string; createdAt: string; shareUrl: string; pixKey?: string | null | undefined; policiesAcceptedAt?: string | null | undefined; policyVersion?: string | null | undefined; }; isPersonalProfile: boolean; mediumId: string; terreiroId: string | null; stats: { totalReferrals: number; signupCompleted: number; subscriptionSelected: number; firstPaymentsConfirmed: number; commissionsGenerated: number; totalCommissionAmount: number; totalPaidCommissionAmount: number; totalOutstandingCommissionAmount: number; }; referrals: { id: string; source: string | null; updatedAt: string; createdAt: string; stage: string; referredUserId: string | null; referredEmail: string | null; referredName: string | null; utmSource: string | null; utmCampaign: string | null; signupMethod: string | null; selectedPriceId: string | null; firstPaymentId: string | null; firstPaymentAmount: number | null; linkAccessedAt: string | null; signupStartedAt: string | null; signupCompletedAt: string | null; subscriptionSelectedAt: string | null; firstPaymentConfirmedAt: string | null; selectedPlanName?: string | null | undefined; selectedPlanCycle?: string | null | undefined; selectedPlanLabel?: string | null | undefined; commissionAmount?: number | null | undefined; commissionStatus?: string | null | undefined; }[]; }>>>; isLoading: z.ZodOptional; isSavingSettings: z.ZodOptional; error: z.ZodNullable>; emptyStateMessage: z.ZodNullable>; policyMarkdown: z.ZodNullable>; onBack: z.ZodOptional, z.ZodVoid>>; onCopyLink: z.ZodOptional, z.ZodVoid>>; onSaveSettings: z.ZodOptional], z.ZodUnknown>, z.ZodUnknown>>; }, "strip", z.ZodTypeAny, { data?: { link: { id: string; code: string; status: string; updatedAt: string; createdAt: string; shareUrl: string; pixKey?: string | null | undefined; policiesAcceptedAt?: string | null | undefined; policyVersion?: string | null | undefined; }; isPersonalProfile: boolean; mediumId: string; terreiroId: string | null; stats: { totalReferrals: number; signupCompleted: number; subscriptionSelected: number; firstPaymentsConfirmed: number; commissionsGenerated: number; totalCommissionAmount: number; totalPaidCommissionAmount: number; totalOutstandingCommissionAmount: number; }; referrals: { id: string; source: string | null; updatedAt: string; createdAt: string; stage: string; referredUserId: string | null; referredEmail: string | null; referredName: string | null; utmSource: string | null; utmCampaign: string | null; signupMethod: string | null; selectedPriceId: string | null; firstPaymentId: string | null; firstPaymentAmount: number | null; linkAccessedAt: string | null; signupStartedAt: string | null; signupCompletedAt: string | null; subscriptionSelectedAt: string | null; firstPaymentConfirmedAt: string | null; selectedPlanName?: string | null | undefined; selectedPlanCycle?: string | null | undefined; selectedPlanLabel?: string | null | undefined; commissionAmount?: number | null | undefined; commissionStatus?: string | null | undefined; }[]; } | null | undefined; error?: string | null | undefined; onBack?: ((...args: unknown[]) => void) | undefined; isLoading?: boolean | undefined; onCopyLink?: ((args_0: string, ...args: unknown[]) => void) | undefined; isSavingSettings?: boolean | undefined; emptyStateMessage?: string | null | undefined; policyMarkdown?: string | null | undefined; onSaveSettings?: ((args_0: { pixKey: string; acceptPolicies: boolean; }, ...args: unknown[]) => unknown) | undefined; }, { data?: { link: { id: string; code: string; status: string; updatedAt: string; createdAt: string; shareUrl: string; pixKey?: string | null | undefined; policiesAcceptedAt?: string | null | undefined; policyVersion?: string | null | undefined; }; isPersonalProfile: boolean; mediumId: string; terreiroId: string | null; stats: { totalReferrals: number; signupCompleted: number; subscriptionSelected: number; firstPaymentsConfirmed: number; commissionsGenerated: number; totalCommissionAmount: number; totalPaidCommissionAmount: number; totalOutstandingCommissionAmount: number; }; referrals: { id: string; source: string | null; updatedAt: string; createdAt: string; stage: string; referredUserId: string | null; referredEmail: string | null; referredName: string | null; utmSource: string | null; utmCampaign: string | null; signupMethod: string | null; selectedPriceId: string | null; firstPaymentId: string | null; firstPaymentAmount: number | null; linkAccessedAt: string | null; signupStartedAt: string | null; signupCompletedAt: string | null; subscriptionSelectedAt: string | null; firstPaymentConfirmedAt: string | null; selectedPlanName?: string | null | undefined; selectedPlanCycle?: string | null | undefined; selectedPlanLabel?: string | null | undefined; commissionAmount?: number | null | undefined; commissionStatus?: string | null | undefined; }[]; } | null | undefined; error?: string | null | undefined; onBack?: ((...args: unknown[]) => void) | undefined; isLoading?: boolean | undefined; onCopyLink?: ((args_0: string, ...args: unknown[]) => void) | undefined; isSavingSettings?: boolean | undefined; emptyStateMessage?: string | null | undefined; policyMarkdown?: string | null | undefined; onSaveSettings?: ((args_0: { pixKey: string; acceptPolicies: boolean; }, ...args: unknown[]) => unknown) | undefined; }>; type AffiliateLink = z.infer; type AffiliateStats = z.infer; type AffiliateReferral = z.infer; type AffiliateDashboard = z.infer; type AffiliateProgramPageProps = z.infer; declare const AffiliateProgramPage: React__default.FC; declare const useAffiliateProgramPage: (props: AffiliateProgramPageProps) => { data: { dashboard: { link: { id: string; code: string; status: string; updatedAt: string; createdAt: string; shareUrl: string; pixKey?: string | null | undefined; policiesAcceptedAt?: string | null | undefined; policyVersion?: string | null | undefined; }; isPersonalProfile: boolean; mediumId: string; terreiroId: string | null; stats: { totalReferrals: number; signupCompleted: number; subscriptionSelected: number; firstPaymentsConfirmed: number; commissionsGenerated: number; totalCommissionAmount: number; totalPaidCommissionAmount: number; totalOutstandingCommissionAmount: number; }; referrals: { id: string; source: string | null; updatedAt: string; createdAt: string; stage: string; referredUserId: string | null; referredEmail: string | null; referredName: string | null; utmSource: string | null; utmCampaign: string | null; signupMethod: string | null; selectedPriceId: string | null; firstPaymentId: string | null; firstPaymentAmount: number | null; linkAccessedAt: string | null; signupStartedAt: string | null; signupCompletedAt: string | null; subscriptionSelectedAt: string | null; firstPaymentConfirmedAt: string | null; selectedPlanName?: string | null | undefined; selectedPlanCycle?: string | null | undefined; selectedPlanLabel?: string | null | undefined; commissionAmount?: number | null | undefined; commissionStatus?: string | null | undefined; }[]; } | null; isLoading: boolean; isSavingSettings: boolean; error: string | null; emptyStateMessage: string | null; settingsError: string | null; hasDashboard: boolean; hasReferrals: boolean; canCopyLink: boolean; isAffiliateActive: boolean; requiresActivation: boolean; isSettingsDialogOpen: boolean; isPolicyDialogOpen: boolean; pixKeyInput: string; acceptPoliciesChecked: boolean; canSaveSettings: boolean; policyMarkdown: string | null; metricSections: ({ key: string; title: string; description: string; columns: { xs: string; sm: string; md: string; }; cards: { key: string; title: string; value: string; caption: string; icon: string; valueColor: string; }[]; } | { key: string; title: string; description: string; columns: { xs: string; sm: string; md: string; }; cards: { key: string; title: string; value: number; caption: string; icon: string; valueColor: string; }[]; })[]; linkStatusLabel: string; paymentSummaryLabel: string; policiesSummaryLabel: string; settingsButtonLabel: string; viewPolicyButtonLabel: string; saveSettingsButtonLabel: string; pageTitle: string; subtitle: string; linkTitle: string; linkDescription: string; settingsTitle: string; settingsDescription: string; settingsDialogTitle: string; settingsDialogDescription: string; policyDialogTitle: string; policyDialogDescription: string; activationAlertMessage: string | null; }; fns: { handleBack: () => void; handleCopyLink: () => void; handleOpenSettingsDialog: () => void; handleCloseSettingsDialog: () => void; handleOpenPolicyDialog: () => void; handleClosePolicyDialog: () => void; handlePixKeyChange: (value: string) => void; handleAcceptPoliciesChange: (checked: boolean) => void; handleSaveSettings: () => Promise; formatCurrency: (value?: number | null) => string; buildReferralSubtitle: (referral: AffiliateReferral) => string; getStageLabel: (stage: string) => string; getCommissionChipLabel: (referral: AffiliateReferral) => string; getCommissionChipColor: (status?: string | null) => "default" | "success" | "warning"; }; }; declare const _default$1: React__default.NamedExoticComponent<{ onBack: () => void; error?: string | undefined; terreiroId?: string | undefined; isLoading?: boolean | undefined; onSave?: ((args_0: { id: string; name: string; documentType: "CPF" | "CNPJ"; foundationDate: string; document?: string | undefined; religionId?: string | undefined; biography?: string | undefined; isPublicProfile?: boolean | undefined; publicDescription?: string | undefined; publicContactEmail?: string | undefined; }) => void) | undefined; onProfileLoad?: ((args_0: { id: string; name: string; documentType: "CPF" | "CNPJ"; foundationDate: string; document?: string | undefined; religionId?: string | undefined; biography?: string | undefined; isPublicProfile?: boolean | undefined; publicDescription?: string | undefined; publicContactEmail?: string | undefined; }) => void) | undefined; religions?: { id: string; name: string; description: string; updatedAt: string; createdAt: string; matriz: string; characteristics: string; founder: string | null; mainNations: string | null; examples: string | null; origin?: string | null | undefined; }[] | undefined; initialProfile?: { id: string; name: string; documentType: "CPF" | "CNPJ"; foundationDate: string; document?: string | undefined; religionId?: string | undefined; biography?: string | undefined; isPublicProfile?: boolean | undefined; publicDescription?: string | undefined; publicContactEmail?: string | undefined; } | undefined; enableValidation?: boolean | undefined; }>; declare const DOCUMENT_TYPE_OPTIONS: readonly [{ readonly value: "CNPJ"; readonly label: "CNPJ"; }, { readonly value: "CPF"; readonly label: "CPF"; }]; declare const TerreiroProfileDataBaseSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; foundationDate: z.ZodString; documentType: z.ZodEnum<["CNPJ", "CPF"]>; document: z.ZodOptional; biography: z.ZodOptional; religionId: z.ZodOptional; isPublicProfile: z.ZodOptional; publicDescription: z.ZodOptional; publicContactEmail: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; name: string; documentType: "CPF" | "CNPJ"; foundationDate: string; document?: string | undefined; religionId?: string | undefined; biography?: string | undefined; isPublicProfile?: boolean | undefined; publicDescription?: string | undefined; publicContactEmail?: string | undefined; }, { id: string; name: string; documentType: "CPF" | "CNPJ"; foundationDate: string; document?: string | undefined; religionId?: string | undefined; biography?: string | undefined; isPublicProfile?: boolean | undefined; publicDescription?: string | undefined; publicContactEmail?: string | undefined; }>; declare const TerreiroProfileDataSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; foundationDate: z.ZodString; documentType: z.ZodEnum<["CNPJ", "CPF"]>; document: z.ZodOptional; biography: z.ZodOptional; religionId: z.ZodOptional; isPublicProfile: z.ZodOptional; publicDescription: z.ZodOptional; publicContactEmail: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; name: string; documentType: "CPF" | "CNPJ"; foundationDate: string; document?: string | undefined; religionId?: string | undefined; biography?: string | undefined; isPublicProfile?: boolean | undefined; publicDescription?: string | undefined; publicContactEmail?: string | undefined; }, { id: string; name: string; documentType: "CPF" | "CNPJ"; foundationDate: string; document?: string | undefined; religionId?: string | undefined; biography?: string | undefined; isPublicProfile?: boolean | undefined; publicDescription?: string | undefined; publicContactEmail?: string | undefined; }>; declare const TerreiroProfileDataPagePropsSchema: z.ZodObject<{ terreiroId: z.ZodOptional; initialProfile: z.ZodOptional; document: z.ZodOptional; biography: z.ZodOptional; religionId: z.ZodOptional; isPublicProfile: z.ZodOptional; publicDescription: z.ZodOptional; publicContactEmail: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; name: string; documentType: "CPF" | "CNPJ"; foundationDate: string; document?: string | undefined; religionId?: string | undefined; biography?: string | undefined; isPublicProfile?: boolean | undefined; publicDescription?: string | undefined; publicContactEmail?: string | undefined; }, { id: string; name: string; documentType: "CPF" | "CNPJ"; foundationDate: string; document?: string | undefined; religionId?: string | undefined; biography?: string | undefined; isPublicProfile?: boolean | undefined; publicDescription?: string | undefined; publicContactEmail?: string | undefined; }>>; religions: z.ZodOptional>; matriz: z.ZodString; characteristics: z.ZodString; mainNations: z.ZodNullable; founder: z.ZodNullable; examples: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; description: string; updatedAt: string; createdAt: string; matriz: string; characteristics: string; founder: string | null; mainNations: string | null; examples: string | null; origin?: string | null | undefined; }, { id: string; name: string; description: string; updatedAt: string; createdAt: string; matriz: string; characteristics: string; founder: string | null; mainNations: string | null; examples: string | null; origin?: string | null | undefined; }>, "many">>; onBack: z.ZodFunction, z.ZodVoid>; onSave: z.ZodOptional; document: z.ZodOptional; biography: z.ZodOptional; religionId: z.ZodOptional; isPublicProfile: z.ZodOptional; publicDescription: z.ZodOptional; publicContactEmail: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; name: string; documentType: "CPF" | "CNPJ"; foundationDate: string; document?: string | undefined; religionId?: string | undefined; biography?: string | undefined; isPublicProfile?: boolean | undefined; publicDescription?: string | undefined; publicContactEmail?: string | undefined; }, { id: string; name: string; documentType: "CPF" | "CNPJ"; foundationDate: string; document?: string | undefined; religionId?: string | undefined; biography?: string | undefined; isPublicProfile?: boolean | undefined; publicDescription?: string | undefined; publicContactEmail?: string | undefined; }>], null>, z.ZodVoid>>; onProfileLoad: z.ZodOptional; document: z.ZodOptional; biography: z.ZodOptional; religionId: z.ZodOptional; isPublicProfile: z.ZodOptional; publicDescription: z.ZodOptional; publicContactEmail: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; name: string; documentType: "CPF" | "CNPJ"; foundationDate: string; document?: string | undefined; religionId?: string | undefined; biography?: string | undefined; isPublicProfile?: boolean | undefined; publicDescription?: string | undefined; publicContactEmail?: string | undefined; }, { id: string; name: string; documentType: "CPF" | "CNPJ"; foundationDate: string; document?: string | undefined; religionId?: string | undefined; biography?: string | undefined; isPublicProfile?: boolean | undefined; publicDescription?: string | undefined; publicContactEmail?: string | undefined; }>], null>, z.ZodVoid>>; isLoading: z.ZodOptional; error: z.ZodOptional; enableValidation: z.ZodOptional; }, "strip", z.ZodTypeAny, { onBack: () => void; error?: string | undefined; terreiroId?: string | undefined; isLoading?: boolean | undefined; onSave?: ((args_0: { id: string; name: string; documentType: "CPF" | "CNPJ"; foundationDate: string; document?: string | undefined; religionId?: string | undefined; biography?: string | undefined; isPublicProfile?: boolean | undefined; publicDescription?: string | undefined; publicContactEmail?: string | undefined; }) => void) | undefined; onProfileLoad?: ((args_0: { id: string; name: string; documentType: "CPF" | "CNPJ"; foundationDate: string; document?: string | undefined; religionId?: string | undefined; biography?: string | undefined; isPublicProfile?: boolean | undefined; publicDescription?: string | undefined; publicContactEmail?: string | undefined; }) => void) | undefined; religions?: { id: string; name: string; description: string; updatedAt: string; createdAt: string; matriz: string; characteristics: string; founder: string | null; mainNations: string | null; examples: string | null; origin?: string | null | undefined; }[] | undefined; initialProfile?: { id: string; name: string; documentType: "CPF" | "CNPJ"; foundationDate: string; document?: string | undefined; religionId?: string | undefined; biography?: string | undefined; isPublicProfile?: boolean | undefined; publicDescription?: string | undefined; publicContactEmail?: string | undefined; } | undefined; enableValidation?: boolean | undefined; }, { onBack: () => void; error?: string | undefined; terreiroId?: string | undefined; isLoading?: boolean | undefined; onSave?: ((args_0: { id: string; name: string; documentType: "CPF" | "CNPJ"; foundationDate: string; document?: string | undefined; religionId?: string | undefined; biography?: string | undefined; isPublicProfile?: boolean | undefined; publicDescription?: string | undefined; publicContactEmail?: string | undefined; }) => void) | undefined; onProfileLoad?: ((args_0: { id: string; name: string; documentType: "CPF" | "CNPJ"; foundationDate: string; document?: string | undefined; religionId?: string | undefined; biography?: string | undefined; isPublicProfile?: boolean | undefined; publicDescription?: string | undefined; publicContactEmail?: string | undefined; }) => void) | undefined; religions?: { id: string; name: string; description: string; updatedAt: string; createdAt: string; matriz: string; characteristics: string; founder: string | null; mainNations: string | null; examples: string | null; origin?: string | null | undefined; }[] | undefined; initialProfile?: { id: string; name: string; documentType: "CPF" | "CNPJ"; foundationDate: string; document?: string | undefined; religionId?: string | undefined; biography?: string | undefined; isPublicProfile?: boolean | undefined; publicDescription?: string | undefined; publicContactEmail?: string | undefined; } | undefined; enableValidation?: boolean | undefined; }>; declare const TerreiroProfileFormStateSchema: z.ZodObject<{ id: z.ZodOptional; name: z.ZodOptional; foundationDate: z.ZodOptional; documentType: z.ZodOptional>; document: z.ZodOptional>; biography: z.ZodOptional>; religionId: z.ZodOptional>; isPublicProfile: z.ZodOptional>; publicDescription: z.ZodOptional>; publicContactEmail: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id?: string | undefined; name?: string | undefined; document?: string | undefined; religionId?: string | undefined; documentType?: "CPF" | "CNPJ" | undefined; foundationDate?: string | undefined; biography?: string | undefined; isPublicProfile?: boolean | undefined; publicDescription?: string | undefined; publicContactEmail?: string | undefined; }, { id?: string | undefined; name?: string | undefined; document?: string | undefined; religionId?: string | undefined; documentType?: "CPF" | "CNPJ" | undefined; foundationDate?: string | undefined; biography?: string | undefined; isPublicProfile?: boolean | undefined; publicDescription?: string | undefined; publicContactEmail?: string | undefined; }>; declare const TerreiroProfileValidationErrorsSchema: z.ZodRecord; declare const TerreiroProfileApiErrorSchema: z.ZodObject<{ message: z.ZodString; code: z.ZodOptional; }, "strip", z.ZodTypeAny, { message: string; code?: string | undefined; }, { message: string; code?: string | undefined; }>; type TerreiroProfileData = z.infer; type TerreiroProfileDataPageProps = z.infer; type TerreiroProfileFormState = z.infer; type TerreiroProfileValidationErrors = z.infer; type TerreiroProfileApiError = z.infer; type DocumentType = "CNPJ" | "CPF"; declare const validateCNPJ: (CNPJ: string) => string; declare const validateCPF: (CPF: string) => string; declare const validateName: (name: string) => string; declare const validateFoundationDate: (date: string) => string; declare const validatePublicContactEmail: (email: string) => string; declare const validateReligionId: (religionId: string) => string; declare const isValidCNPJ: (CNPJ: string) => boolean; declare const isValidCPF: (CPF: string) => boolean; declare const useTerreiroProfileDataPage: (props: TerreiroProfileDataPageProps) => { data: { profile: { id: string; name: string; documentType: "CPF" | "CNPJ"; foundationDate: string; document?: string | undefined; religionId?: string | undefined; biography?: string | undefined; isPublicProfile?: boolean | undefined; publicDescription?: string | undefined; publicContactEmail?: string | undefined; } | null; formState: { id?: string | undefined; name?: string | undefined; document?: string | undefined; religionId?: string | undefined; documentType?: "CPF" | "CNPJ" | undefined; foundationDate?: string | undefined; biography?: string | undefined; isPublicProfile?: boolean | undefined; publicDescription?: string | undefined; publicContactEmail?: string | undefined; }; validationErrors: Record; isLoading: boolean | undefined; error: { message: string; code?: string | undefined; } | null; isDirty: boolean; isFormValid: boolean; canSave: boolean; enableValidation: boolean; }; fns: { handleChange: (e: React.ChangeEvent) => void; handleSave: () => void; handleBack: () => void; validateField: (name: string, value: string | DocumentType) => string; }; }; declare const TerreiroDetailsSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; imageUrl: z.ZodOptional; documentType: z.ZodEnum<["CPF", "CNPJ"]>; document: z.ZodString; foundationDate: z.ZodString; biography: z.ZodNullable; religionId: z.ZodString; createdByUserId: z.ZodString; updatedByUserId: z.ZodString; addressId: z.ZodString; status: z.ZodEnum<["ACTIVE", "INACTIVE"]>; createdAt: z.ZodString; updatedAt: z.ZodString; badgeTier: z.ZodOptional>; completenessScore: z.ZodOptional; address: z.ZodObject<{ id: z.ZodString; street: z.ZodString; number: z.ZodString; complement: z.ZodString; neighborhood: z.ZodString; city: z.ZodString; state: z.ZodString; zipCode: z.ZodString; country: z.ZodString; createdByUserId: z.ZodString; updatedByUserId: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { number: string; id: string; country: string; updatedAt: string; state: string; street: string; complement: string; neighborhood: string; city: string; zipCode: string; createdAt: string; createdByUserId: string; updatedByUserId: string; }, { number: string; id: string; country: string; updatedAt: string; state: string; street: string; complement: string; neighborhood: string; city: string; zipCode: string; createdAt: string; createdByUserId: string; updatedByUserId: string; }>; contacts: z.ZodArray; userId: z.ZodNullable; terreiroId: z.ZodString; createdByUserId: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; updatedAt: string; phone: string; contactPerson: string | null; userId: string | null; terreiroId: string; createdAt: string; createdByUserId: string; }, { id: string; updatedAt: string; phone: string; contactPerson: string | null; userId: string | null; terreiroId: string; createdAt: string; createdByUserId: string; }>, "many">; }, "strip", z.ZodTypeAny, { id: string; address: { number: string; id: string; country: string; updatedAt: string; state: string; street: string; complement: string; neighborhood: string; city: string; zipCode: string; createdAt: string; createdByUserId: string; updatedByUserId: string; }; status: "ACTIVE" | "INACTIVE"; name: string; document: string; updatedAt: string; religionId: string; contacts: { id: string; updatedAt: string; phone: string; contactPerson: string | null; userId: string | null; terreiroId: string; createdAt: string; createdByUserId: string; }[]; createdAt: string; documentType: "CPF" | "CNPJ"; foundationDate: string; biography: string | null; createdByUserId: string; addressId: string; updatedByUserId: string; completenessScore?: number | undefined; badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined; imageUrl?: string | undefined; }, { id: string; address: { number: string; id: string; country: string; updatedAt: string; state: string; street: string; complement: string; neighborhood: string; city: string; zipCode: string; createdAt: string; createdByUserId: string; updatedByUserId: string; }; status: "ACTIVE" | "INACTIVE"; name: string; document: string; updatedAt: string; religionId: string; contacts: { id: string; updatedAt: string; phone: string; contactPerson: string | null; userId: string | null; terreiroId: string; createdAt: string; createdByUserId: string; }[]; createdAt: string; documentType: "CPF" | "CNPJ"; foundationDate: string; biography: string | null; createdByUserId: string; addressId: string; updatedByUserId: string; completenessScore?: number | undefined; badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined; imageUrl?: string | undefined; }>; declare const TerreiroProfilePagePropsSchema$1: z.ZodObject<{ terreiro: z.ZodObject<{ id: z.ZodString; name: z.ZodString; imageUrl: z.ZodOptional; documentType: z.ZodEnum<["CPF", "CNPJ"]>; document: z.ZodString; foundationDate: z.ZodString; biography: z.ZodNullable; religionId: z.ZodString; createdByUserId: z.ZodString; updatedByUserId: z.ZodString; addressId: z.ZodString; status: z.ZodEnum<["ACTIVE", "INACTIVE"]>; createdAt: z.ZodString; updatedAt: z.ZodString; badgeTier: z.ZodOptional>; completenessScore: z.ZodOptional; address: z.ZodObject<{ id: z.ZodString; street: z.ZodString; number: z.ZodString; complement: z.ZodString; neighborhood: z.ZodString; city: z.ZodString; state: z.ZodString; zipCode: z.ZodString; country: z.ZodString; createdByUserId: z.ZodString; updatedByUserId: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { number: string; id: string; country: string; updatedAt: string; state: string; street: string; complement: string; neighborhood: string; city: string; zipCode: string; createdAt: string; createdByUserId: string; updatedByUserId: string; }, { number: string; id: string; country: string; updatedAt: string; state: string; street: string; complement: string; neighborhood: string; city: string; zipCode: string; createdAt: string; createdByUserId: string; updatedByUserId: string; }>; contacts: z.ZodArray; userId: z.ZodNullable; terreiroId: z.ZodString; createdByUserId: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; updatedAt: string; phone: string; contactPerson: string | null; userId: string | null; terreiroId: string; createdAt: string; createdByUserId: string; }, { id: string; updatedAt: string; phone: string; contactPerson: string | null; userId: string | null; terreiroId: string; createdAt: string; createdByUserId: string; }>, "many">; }, "strip", z.ZodTypeAny, { id: string; address: { number: string; id: string; country: string; updatedAt: string; state: string; street: string; complement: string; neighborhood: string; city: string; zipCode: string; createdAt: string; createdByUserId: string; updatedByUserId: string; }; status: "ACTIVE" | "INACTIVE"; name: string; document: string; updatedAt: string; religionId: string; contacts: { id: string; updatedAt: string; phone: string; contactPerson: string | null; userId: string | null; terreiroId: string; createdAt: string; createdByUserId: string; }[]; createdAt: string; documentType: "CPF" | "CNPJ"; foundationDate: string; biography: string | null; createdByUserId: string; addressId: string; updatedByUserId: string; completenessScore?: number | undefined; badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined; imageUrl?: string | undefined; }, { id: string; address: { number: string; id: string; country: string; updatedAt: string; state: string; street: string; complement: string; neighborhood: string; city: string; zipCode: string; createdAt: string; createdByUserId: string; updatedByUserId: string; }; status: "ACTIVE" | "INACTIVE"; name: string; document: string; updatedAt: string; religionId: string; contacts: { id: string; updatedAt: string; phone: string; contactPerson: string | null; userId: string | null; terreiroId: string; createdAt: string; createdByUserId: string; }[]; createdAt: string; documentType: "CPF" | "CNPJ"; foundationDate: string; biography: string | null; createdByUserId: string; addressId: string; updatedByUserId: string; completenessScore?: number | undefined; badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined; imageUrl?: string | undefined; }>; onBack: z.ZodFunction, z.ZodVoid>; onEditAvatar: z.ZodOptional], null>, z.ZodVoid>>; /** When set, the avatar button calls this instead of opening the built-in image picker. */ onEditAvatarRequest: z.ZodOptional, z.ZodVoid>>; onNavigate: z.ZodOptional, z.ZodVoid>>; activeSection: z.ZodOptional>; badgeTier: z.ZodOptional>; completenessData: z.ZodOptional; sections: z.ZodRecord; percentage: z.ZodNumber; }, "strip", z.ZodTypeAny, { complete: boolean; percentage: number; missing: string[]; }, { complete: boolean; percentage: number; missing: string[]; }>>; nextActions: z.ZodArray; }, "strip", z.ZodTypeAny, { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: Record; nextActions: string[]; }, { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: Record; nextActions: string[]; }>>; onCompleteTerreiro: z.ZodOptional, z.ZodUnknown>>; onCompleteSection: z.ZodOptional, z.ZodVoid>>; isCompletenessLoading: z.ZodOptional; }, "strip", z.ZodTypeAny, { onBack: () => void; terreiro: { id: string; address: { number: string; id: string; country: string; updatedAt: string; state: string; street: string; complement: string; neighborhood: string; city: string; zipCode: string; createdAt: string; createdByUserId: string; updatedByUserId: string; }; status: "ACTIVE" | "INACTIVE"; name: string; document: string; updatedAt: string; religionId: string; contacts: { id: string; updatedAt: string; phone: string; contactPerson: string | null; userId: string | null; terreiroId: string; createdAt: string; createdByUserId: string; }[]; createdAt: string; documentType: "CPF" | "CNPJ"; foundationDate: string; biography: string | null; createdByUserId: string; addressId: string; updatedByUserId: string; completenessScore?: number | undefined; badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined; imageUrl?: string | undefined; }; onNavigate?: ((args_0: string) => void) | undefined; badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined; onCompleteSection?: ((args_0: string) => void) | undefined; onEditAvatar?: ((args_0: File) => void) | undefined; onEditAvatarRequest?: (() => void) | undefined; completenessData?: { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: Record; nextActions: string[]; } | undefined; isCompletenessLoading?: boolean | undefined; activeSection?: "address" | "avatar" | "profile" | "contact" | undefined; onCompleteTerreiro?: ((...args: unknown[]) => unknown) | undefined; }, { onBack: () => void; terreiro: { id: string; address: { number: string; id: string; country: string; updatedAt: string; state: string; street: string; complement: string; neighborhood: string; city: string; zipCode: string; createdAt: string; createdByUserId: string; updatedByUserId: string; }; status: "ACTIVE" | "INACTIVE"; name: string; document: string; updatedAt: string; religionId: string; contacts: { id: string; updatedAt: string; phone: string; contactPerson: string | null; userId: string | null; terreiroId: string; createdAt: string; createdByUserId: string; }[]; createdAt: string; documentType: "CPF" | "CNPJ"; foundationDate: string; biography: string | null; createdByUserId: string; addressId: string; updatedByUserId: string; completenessScore?: number | undefined; badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined; imageUrl?: string | undefined; }; onNavigate?: ((args_0: string) => void) | undefined; badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined; onCompleteSection?: ((args_0: string) => void) | undefined; onEditAvatar?: ((args_0: File) => void) | undefined; onEditAvatarRequest?: (() => void) | undefined; completenessData?: { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: Record; nextActions: string[]; } | undefined; isCompletenessLoading?: boolean | undefined; activeSection?: "address" | "avatar" | "profile" | "contact" | undefined; onCompleteTerreiro?: ((...args: unknown[]) => unknown) | undefined; }>; type TerreiroDetails = z.infer; type TerreiroProfilePageProps$1 = z.infer; declare const TerreiroProfilePage: React__default.FC; declare const useTerreiroProfilePage: (props: TerreiroProfilePageProps$1) => { data: { terreiro: { id: string; address: { number: string; id: string; country: string; updatedAt: string; state: string; street: string; complement: string; neighborhood: string; city: string; zipCode: string; createdAt: string; createdByUserId: string; updatedByUserId: string; }; status: "ACTIVE" | "INACTIVE"; name: string; document: string; updatedAt: string; religionId: string; contacts: { id: string; updatedAt: string; phone: string; contactPerson: string | null; userId: string | null; terreiroId: string; createdAt: string; createdByUserId: string; }[]; createdAt: string; documentType: "CPF" | "CNPJ"; foundationDate: string; biography: string | null; createdByUserId: string; addressId: string; updatedByUserId: string; completenessScore?: number | undefined; badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined; imageUrl?: string | undefined; }; fileInputRef: React$1.RefObject; terreiroInitial: string; hasImage: boolean; statusColor: string; statusLabel: string; completenessCompact: boolean; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined; completenessScore: number | undefined; completenessData: { completenessScore: number; badgeTier: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED"; sections: Record; nextActions: string[]; } | undefined; onCompleteTerreiro: ((...args: unknown[]) => unknown) | undefined; isCompletenessLoading: boolean | undefined; }; fns: { handleBack: () => void; handleImageSelect: () => void; handleImageChange: (e: React.ChangeEvent) => void; handleNavigateToProfileData: () => void; handleNavigateToContact: () => void; handleNavigateToAddress: () => void; handleOnCompactChange: (compact: boolean) => void; }; }; declare const JoinTerreiroViewStateSchema: z.ZodEnum<["loading", "error", "qr-scanner"]>; declare const JoinTerreiroPagePropsSchema: z.ZodObject<{ isLoading: z.ZodOptional; error: z.ZodNullable>; onBack: z.ZodFunction, z.ZodVoid>; qrConsentAccepted: z.ZodDefault; qrFeeAcknowledged: z.ZodDefault; canStartScan: z.ZodDefault; onQrConsentAcceptedChange: z.ZodOptional, z.ZodVoid>>; onQrFeeAcknowledgedChange: z.ZodOptional, z.ZodVoid>>; /** * Callback triggered when a QR code is successfully scanned. * The consuming app should call this with the scanned QR data. */ onScanQrCode: z.ZodOptional, z.ZodVoid>>; /** * Callback triggered when user taps the scanner area to start scanning. * Use this to open a native camera scanner or trigger your QR scanning library. */ onStartScan: z.ZodOptional, z.ZodVoid>>; /** * Optional custom scanner component to render in the scanner area. * If provided, this will replace the default placeholder. * The component should handle its own scanning logic and call onScanQrCode when successful. */ renderScanner: z.ZodOptional, z.ZodAny>>; policyMarkdown: z.ZodOptional>; privacyPolicyUrl: z.ZodOptional>; }, "strip", z.ZodTypeAny, { onBack: () => void; qrConsentAccepted: boolean; qrFeeAcknowledged: boolean; canStartScan: boolean; error?: string | null | undefined; isLoading?: boolean | undefined; policyMarkdown?: string | null | undefined; onQrConsentAcceptedChange?: ((args_0: boolean) => void) | undefined; onQrFeeAcknowledgedChange?: ((args_0: boolean) => void) | undefined; onScanQrCode?: ((args_0: string) => void) | undefined; onStartScan?: (() => void) | undefined; renderScanner?: (() => any) | undefined; privacyPolicyUrl?: string | null | undefined; }, { onBack: () => void; error?: string | null | undefined; isLoading?: boolean | undefined; policyMarkdown?: string | null | undefined; qrConsentAccepted?: boolean | undefined; qrFeeAcknowledged?: boolean | undefined; canStartScan?: boolean | undefined; onQrConsentAcceptedChange?: ((args_0: boolean) => void) | undefined; onQrFeeAcknowledgedChange?: ((args_0: boolean) => void) | undefined; onScanQrCode?: ((args_0: string) => void) | undefined; onStartScan?: (() => void) | undefined; renderScanner?: (() => any) | undefined; privacyPolicyUrl?: string | null | undefined; }>; type JoinTerreiroViewState = z.infer; type JoinTerreiroPageProps = z.infer; declare const JoinTerreiroPage: React__default.FC; declare const useJoinTerreiroPage: (props: JoinTerreiroPageProps) => { data: { viewState: "error" | "loading" | "qr-scanner"; error: string | null | undefined; qrConsentAccepted: boolean; qrFeeAcknowledged: boolean; canStartScan: boolean; hasCustomScanner: boolean; renderScanner: (() => any) | undefined; policyMarkdown: string | null | undefined; privacyPolicyUrl: string | null | undefined; }; fns: { handleBack: () => void; handleQrCodeScanned: (qrData: string) => void; handleStartScan: () => void; handleQrConsentAcceptedChange: (value: boolean) => void; handleQrFeeAcknowledgedChange: (value: boolean) => void; }; }; declare const TerreiroSearchItemSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; isPublicProfile: z.ZodDefault; joinRequestStatus: z.ZodDefault>; publicDescription: z.ZodOptional>; imageUrl: z.ZodOptional>; address: z.ZodOptional; state: z.ZodOptional; neighborhood: z.ZodOptional; }, "strip", z.ZodTypeAny, { state?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; }, { state?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; }>>>; }, "strip", z.ZodTypeAny, { id: string; name: string; isPublicProfile: boolean; joinRequestStatus: "NONE" | "PENDING" | "APPROVED" | "CANCELLED"; address?: { state?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; } | null | undefined; imageUrl?: string | null | undefined; publicDescription?: string | null | undefined; }, { id: string; name: string; address?: { state?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; } | null | undefined; imageUrl?: string | null | undefined; isPublicProfile?: boolean | undefined; publicDescription?: string | null | undefined; joinRequestStatus?: "NONE" | "PENDING" | "APPROVED" | "CANCELLED" | undefined; }>; declare const TerreiroFilterReligionSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; }, { id: string; name: string; }>; declare const TerreiroFiltersSchema: z.ZodObject<{ state: z.ZodOptional; city: z.ZodOptional; religionId: z.ZodOptional; }, "strip", z.ZodTypeAny, { religionId?: string | undefined; state?: string | undefined; city?: string | undefined; }, { religionId?: string | undefined; state?: string | undefined; city?: string | undefined; }>; declare const TerreiroSearchPagePropsSchema: z.ZodObject<{ onClose: z.ZodFunction, z.ZodVoid>; onOpenQrFlow: z.ZodFunction, z.ZodVoid>; onSearchChange: z.ZodFunction, z.ZodVoid>; onRequestMessageChange: z.ZodFunction, z.ZodVoid>; onAcceptedPrivacyPolicyChange: z.ZodFunction, z.ZodVoid>; onAcknowledgedFeeChange: z.ZodFunction, z.ZodVoid>; onManualCodeChange: z.ZodFunction, z.ZodVoid>; onSubmitManualCode: z.ZodFunction, z.ZodVoid>; onOpenTerreiroDetail: z.ZodFunction, z.ZodVoid>; onCloseTerreiroDetail: z.ZodFunction, z.ZodVoid>; onRequestJoin: z.ZodFunction, z.ZodVoid>; onFiltersChange: z.ZodFunction; city: z.ZodOptional; religionId: z.ZodOptional; }, "strip", z.ZodTypeAny, { religionId?: string | undefined; state?: string | undefined; city?: string | undefined; }, { religionId?: string | undefined; state?: string | undefined; city?: string | undefined; }>], null>, z.ZodVoid>; onFiltersReset: z.ZodFunction, z.ZodVoid>; searchTerm: z.ZodDefault; requestMessage: z.ZodDefault; acceptedPrivacyPolicy: z.ZodDefault; acknowledgedFee: z.ZodDefault; requiresPrivacy: z.ZodDefault; requiresFee: z.ZodDefault; privacyPolicyUrl: z.ZodOptional>; policyMarkdown: z.ZodOptional>; manualCode: z.ZodDefault; filters: z.ZodDefault; city: z.ZodOptional; religionId: z.ZodOptional; }, "strip", z.ZodTypeAny, { religionId?: string | undefined; state?: string | undefined; city?: string | undefined; }, { religionId?: string | undefined; state?: string | undefined; city?: string | undefined; }>>; religions: z.ZodDefault, "many">>; selectedTerreiroId: z.ZodOptional>; selectedTerreiroDetail: z.ZodOptional>; biography: z.ZodOptional>; publicDescription: z.ZodOptional>; publicContactEmail: z.ZodOptional>; privacyPolicyUrl: z.ZodOptional>; policyContent: z.ZodOptional, z.ZodLiteral<"CUSTOM">]>; key: z.ZodString; title: z.ZodString; markdown: z.ZodString; version: z.ZodOptional; updatedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; source: "SYSTEM" | "CUSTOM"; key: string; markdown: string; version?: number | undefined; updatedAt?: string | undefined; }, { title: string; source: "SYSTEM" | "CUSTOM"; key: string; markdown: string; version?: number | undefined; updatedAt?: string | undefined; }>>>; religion: z.ZodOptional>>; address: z.ZodOptional; number: z.ZodOptional; neighborhood: z.ZodOptional; city: z.ZodOptional; state: z.ZodOptional; zipCode: z.ZodOptional; }, "strip", z.ZodTypeAny, { number?: string | undefined; state?: string | undefined; street?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; zipCode?: string | undefined; }, { number?: string | undefined; state?: string | undefined; street?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; zipCode?: string | undefined; }>>>; contacts: z.ZodDefault; value: z.ZodOptional; name: z.ZodOptional; }, "strip", z.ZodTypeAny, { value?: string | undefined; type?: string | undefined; name?: string | undefined; }, { value?: string | undefined; type?: string | undefined; name?: string | undefined; }>, "many">>; monthlyFee: z.ZodOptional>; }, "strip", z.ZodTypeAny, { amount: number; dueDay: number; paymentMethod?: string | null | undefined; }, { amount: number; dueDay: number; paymentMethod?: string | null | undefined; }>>>; approvers: z.ZodDefault>; name: z.ZodString; imageUrl: z.ZodOptional>; roles: z.ZodDefault>; }, "strip", z.ZodTypeAny, { name: string; roles: string[]; mediumId: string; imageUrl?: string | null | undefined; userId?: string | null | undefined; }, { name: string; mediumId: string; imageUrl?: string | null | undefined; roles?: string[] | undefined; userId?: string | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { id: string; name: string; contacts: { value?: string | undefined; type?: string | undefined; name?: string | undefined; }[]; approvers: { name: string; roles: string[]; mediumId: string; imageUrl?: string | null | undefined; userId?: string | null | undefined; }[]; address?: { number?: string | undefined; state?: string | undefined; street?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; zipCode?: string | undefined; } | null | undefined; imageUrl?: string | null | undefined; biography?: string | null | undefined; religion?: { id: string; name: string; } | null | undefined; monthlyFee?: { amount: number; dueDay: number; paymentMethod?: string | null | undefined; } | null | undefined; publicDescription?: string | null | undefined; publicContactEmail?: string | null | undefined; privacyPolicyUrl?: string | null | undefined; policyContent?: { title: string; source: "SYSTEM" | "CUSTOM"; key: string; markdown: string; version?: number | undefined; updatedAt?: string | undefined; } | null | undefined; }, { id: string; name: string; address?: { number?: string | undefined; state?: string | undefined; street?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; zipCode?: string | undefined; } | null | undefined; imageUrl?: string | null | undefined; contacts?: { value?: string | undefined; type?: string | undefined; name?: string | undefined; }[] | undefined; biography?: string | null | undefined; religion?: { id: string; name: string; } | null | undefined; monthlyFee?: { amount: number; dueDay: number; paymentMethod?: string | null | undefined; } | null | undefined; publicDescription?: string | null | undefined; publicContactEmail?: string | null | undefined; privacyPolicyUrl?: string | null | undefined; policyContent?: { title: string; source: "SYSTEM" | "CUSTOM"; key: string; markdown: string; version?: number | undefined; updatedAt?: string | undefined; } | null | undefined; approvers?: { name: string; mediumId: string; imageUrl?: string | null | undefined; roles?: string[] | undefined; userId?: string | null | undefined; }[] | undefined; }>>>; requestHistory: z.ZodOptional; message: z.ZodString; createdAt: z.ZodString; reviewDate: z.ZodOptional; reviewNotes: z.ZodOptional; consentSummary: z.ZodOptional; acknowledgedFee: z.ZodOptional; feeAmountSnapshot: z.ZodOptional>; feeDueDaySnapshot: z.ZodOptional>; policySource: z.ZodOptional, z.ZodLiteral<"CUSTOM">]>>; policyKey: z.ZodOptional; policyVersion: z.ZodOptional; policyTitle: z.ZodOptional; }, "strip", z.ZodTypeAny, { acceptedPrivacyPolicy?: boolean | undefined; acknowledgedFee?: boolean | undefined; feeAmountSnapshot?: number | null | undefined; feeDueDaySnapshot?: number | null | undefined; policyVersion?: number | undefined; policySource?: "SYSTEM" | "CUSTOM" | undefined; policyKey?: string | undefined; policyTitle?: string | undefined; }, { acceptedPrivacyPolicy?: boolean | undefined; acknowledgedFee?: boolean | undefined; feeAmountSnapshot?: number | null | undefined; feeDueDaySnapshot?: number | null | undefined; policyVersion?: number | undefined; policySource?: "SYSTEM" | "CUSTOM" | undefined; policyKey?: string | undefined; policyTitle?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { id: string; message: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED"; createdAt: string; consentSummary?: { acceptedPrivacyPolicy?: boolean | undefined; acknowledgedFee?: boolean | undefined; feeAmountSnapshot?: number | null | undefined; feeDueDaySnapshot?: number | null | undefined; policyVersion?: number | undefined; policySource?: "SYSTEM" | "CUSTOM" | undefined; policyKey?: string | undefined; policyTitle?: string | undefined; } | undefined; reviewNotes?: string | undefined; reviewDate?: string | undefined; }, { id: string; message: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED"; createdAt: string; consentSummary?: { acceptedPrivacyPolicy?: boolean | undefined; acknowledgedFee?: boolean | undefined; feeAmountSnapshot?: number | null | undefined; feeDueDaySnapshot?: number | null | undefined; policyVersion?: number | undefined; policySource?: "SYSTEM" | "CUSTOM" | undefined; policyKey?: string | undefined; policyTitle?: string | undefined; } | undefined; reviewNotes?: string | undefined; reviewDate?: string | undefined; }>, "many">>; isRequestHistoryLoading: z.ZodOptional; requestHistoryError: z.ZodOptional>; terreiros: z.ZodDefault; joinRequestStatus: z.ZodDefault>; publicDescription: z.ZodOptional>; imageUrl: z.ZodOptional>; address: z.ZodOptional; state: z.ZodOptional; neighborhood: z.ZodOptional; }, "strip", z.ZodTypeAny, { state?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; }, { state?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; }>>>; }, "strip", z.ZodTypeAny, { id: string; name: string; isPublicProfile: boolean; joinRequestStatus: "NONE" | "PENDING" | "APPROVED" | "CANCELLED"; address?: { state?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; } | null | undefined; imageUrl?: string | null | undefined; publicDescription?: string | null | undefined; }, { id: string; name: string; address?: { state?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; } | null | undefined; imageUrl?: string | null | undefined; isPublicProfile?: boolean | undefined; publicDescription?: string | null | undefined; joinRequestStatus?: "NONE" | "PENDING" | "APPROVED" | "CANCELLED" | undefined; }>, "many">>; isLoading: z.ZodDefault; isTerreiroDetailLoading: z.ZodDefault; error: z.ZodOptional>; isJoinByCodePending: z.ZodDefault; isRequestJoinPending: z.ZodDefault; }, "strip", z.ZodTypeAny, { onClose: () => void; acceptedPrivacyPolicy: boolean; acknowledgedFee: boolean; isLoading: boolean; filters: { religionId?: string | undefined; state?: string | undefined; city?: string | undefined; }; onSearchChange: (args_0: string) => void; searchTerm: string; terreiros: { id: string; name: string; isPublicProfile: boolean; joinRequestStatus: "NONE" | "PENDING" | "APPROVED" | "CANCELLED"; address?: { state?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; } | null | undefined; imageUrl?: string | null | undefined; publicDescription?: string | null | undefined; }[]; religions: { id: string; name: string; }[]; onOpenQrFlow: () => void; onRequestMessageChange: (args_0: string) => void; onAcceptedPrivacyPolicyChange: (args_0: boolean) => void; onAcknowledgedFeeChange: (args_0: boolean) => void; onManualCodeChange: (args_0: string) => void; onSubmitManualCode: () => void; onOpenTerreiroDetail: (args_0: string) => void; onCloseTerreiroDetail: () => void; onRequestJoin: (args_0: string) => void; onFiltersChange: (args_0: { religionId?: string | undefined; state?: string | undefined; city?: string | undefined; }) => void; onFiltersReset: () => void; requestMessage: string; requiresPrivacy: boolean; requiresFee: boolean; manualCode: string; isTerreiroDetailLoading: boolean; isJoinByCodePending: boolean; isRequestJoinPending: boolean; error?: string | null | undefined; requestHistory?: { id: string; message: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED"; createdAt: string; consentSummary?: { acceptedPrivacyPolicy?: boolean | undefined; acknowledgedFee?: boolean | undefined; feeAmountSnapshot?: number | null | undefined; feeDueDaySnapshot?: number | null | undefined; policyVersion?: number | undefined; policySource?: "SYSTEM" | "CUSTOM" | undefined; policyKey?: string | undefined; policyTitle?: string | undefined; } | undefined; reviewNotes?: string | undefined; reviewDate?: string | undefined; }[] | undefined; selectedTerreiroId?: string | null | undefined; policyMarkdown?: string | null | undefined; privacyPolicyUrl?: string | null | undefined; selectedTerreiroDetail?: { id: string; name: string; contacts: { value?: string | undefined; type?: string | undefined; name?: string | undefined; }[]; approvers: { name: string; roles: string[]; mediumId: string; imageUrl?: string | null | undefined; userId?: string | null | undefined; }[]; address?: { number?: string | undefined; state?: string | undefined; street?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; zipCode?: string | undefined; } | null | undefined; imageUrl?: string | null | undefined; biography?: string | null | undefined; religion?: { id: string; name: string; } | null | undefined; monthlyFee?: { amount: number; dueDay: number; paymentMethod?: string | null | undefined; } | null | undefined; publicDescription?: string | null | undefined; publicContactEmail?: string | null | undefined; privacyPolicyUrl?: string | null | undefined; policyContent?: { title: string; source: "SYSTEM" | "CUSTOM"; key: string; markdown: string; version?: number | undefined; updatedAt?: string | undefined; } | null | undefined; } | null | undefined; isRequestHistoryLoading?: boolean | undefined; requestHistoryError?: string | null | undefined; }, { onClose: () => void; onSearchChange: (args_0: string) => void; onOpenQrFlow: () => void; onRequestMessageChange: (args_0: string) => void; onAcceptedPrivacyPolicyChange: (args_0: boolean) => void; onAcknowledgedFeeChange: (args_0: boolean) => void; onManualCodeChange: (args_0: string) => void; onSubmitManualCode: () => void; onOpenTerreiroDetail: (args_0: string) => void; onCloseTerreiroDetail: () => void; onRequestJoin: (args_0: string) => void; onFiltersChange: (args_0: { religionId?: string | undefined; state?: string | undefined; city?: string | undefined; }) => void; onFiltersReset: () => void; error?: string | null | undefined; acceptedPrivacyPolicy?: boolean | undefined; acknowledgedFee?: boolean | undefined; isLoading?: boolean | undefined; filters?: { religionId?: string | undefined; state?: string | undefined; city?: string | undefined; } | undefined; searchTerm?: string | undefined; requestHistory?: { id: string; message: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED"; createdAt: string; consentSummary?: { acceptedPrivacyPolicy?: boolean | undefined; acknowledgedFee?: boolean | undefined; feeAmountSnapshot?: number | null | undefined; feeDueDaySnapshot?: number | null | undefined; policyVersion?: number | undefined; policySource?: "SYSTEM" | "CUSTOM" | undefined; policyKey?: string | undefined; policyTitle?: string | undefined; } | undefined; reviewNotes?: string | undefined; reviewDate?: string | undefined; }[] | undefined; terreiros?: { id: string; name: string; address?: { state?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; } | null | undefined; imageUrl?: string | null | undefined; isPublicProfile?: boolean | undefined; publicDescription?: string | null | undefined; joinRequestStatus?: "NONE" | "PENDING" | "APPROVED" | "CANCELLED" | undefined; }[] | undefined; selectedTerreiroId?: string | null | undefined; religions?: { id: string; name: string; }[] | undefined; policyMarkdown?: string | null | undefined; privacyPolicyUrl?: string | null | undefined; requestMessage?: string | undefined; requiresPrivacy?: boolean | undefined; requiresFee?: boolean | undefined; manualCode?: string | undefined; selectedTerreiroDetail?: { id: string; name: string; address?: { number?: string | undefined; state?: string | undefined; street?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; zipCode?: string | undefined; } | null | undefined; imageUrl?: string | null | undefined; contacts?: { value?: string | undefined; type?: string | undefined; name?: string | undefined; }[] | undefined; biography?: string | null | undefined; religion?: { id: string; name: string; } | null | undefined; monthlyFee?: { amount: number; dueDay: number; paymentMethod?: string | null | undefined; } | null | undefined; publicDescription?: string | null | undefined; publicContactEmail?: string | null | undefined; privacyPolicyUrl?: string | null | undefined; policyContent?: { title: string; source: "SYSTEM" | "CUSTOM"; key: string; markdown: string; version?: number | undefined; updatedAt?: string | undefined; } | null | undefined; approvers?: { name: string; mediumId: string; imageUrl?: string | null | undefined; roles?: string[] | undefined; userId?: string | null | undefined; }[] | undefined; } | null | undefined; isRequestHistoryLoading?: boolean | undefined; requestHistoryError?: string | null | undefined; isTerreiroDetailLoading?: boolean | undefined; isJoinByCodePending?: boolean | undefined; isRequestJoinPending?: boolean | undefined; }>; type TerreiroSearchPageProps = z.infer; type TerreiroSearchItem = z.infer; type TerreiroFilters = z.infer; type TerreiroFilterReligion = z.infer; declare const TerreiroSearchPage: React__default.FC; declare const TerreiroProfilePagePropsSchema: z.ZodObject<{ terreiro: z.ZodObject<{ id: z.ZodString; name: z.ZodString; documentType: z.ZodString; document: z.ZodString; foundationDate: z.ZodNullable; biography: z.ZodNullable; religion: z.ZodNullable>; imageUrl: z.ZodNullable; status: z.ZodEnum<["ACTIVE", "INACTIVE"]>; }, "strip", z.ZodTypeAny, { id: string; status: "ACTIVE" | "INACTIVE"; name: string; document: string; imageUrl: string | null; documentType: string; foundationDate: string | null; biography: string | null; religion: { id: string; name: string; origin: string; description: string; updatedAt: string; createdAt: string; matriz: string; characteristics: string; founder: string; } | null; }, { id: string; status: "ACTIVE" | "INACTIVE"; name: string; document: string; imageUrl: string | null; documentType: string; foundationDate: string | null; biography: string | null; religion: { id: string; name: string; origin: string; description: string; updatedAt: string; createdAt: string; matriz: string; characteristics: string; founder: string; } | null; }>; address: z.ZodNullable; neighborhood: z.ZodString; city: z.ZodString; state: z.ZodString; zipCode: z.ZodString; country: z.ZodString; }, "strip", z.ZodTypeAny, { number: string; country: string; state: string; street: string; neighborhood: string; city: string; zipCode: string; complement?: string | undefined; }, { number: string; country: string; state: string; street: string; neighborhood: string; city: string; zipCode: string; complement?: string | undefined; }>>; contacts: z.ZodNullable; userId: z.ZodOptional; terreiroId: z.ZodOptional; createdByUserId: z.ZodOptional; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; phone: string; contactPerson: string | null; updatedAt?: string | undefined; userId?: string | undefined; terreiroId?: string | undefined; createdAt?: string | undefined; createdByUserId?: string | undefined; }, { id: string; phone: string; contactPerson: string | null; updatedAt?: string | undefined; userId?: string | undefined; terreiroId?: string | undefined; createdAt?: string | undefined; createdByUserId?: string | undefined; }>, "many">>; onBack: z.ZodOptional, z.ZodVoid>>; }, "strip", z.ZodTypeAny, { address: { number: string; country: string; state: string; street: string; neighborhood: string; city: string; zipCode: string; complement?: string | undefined; } | null; terreiro: { id: string; status: "ACTIVE" | "INACTIVE"; name: string; document: string; imageUrl: string | null; documentType: string; foundationDate: string | null; biography: string | null; religion: { id: string; name: string; origin: string; description: string; updatedAt: string; createdAt: string; matriz: string; characteristics: string; founder: string; } | null; }; contacts: { id: string; phone: string; contactPerson: string | null; updatedAt?: string | undefined; userId?: string | undefined; terreiroId?: string | undefined; createdAt?: string | undefined; createdByUserId?: string | undefined; }[] | null; onBack?: ((...args: unknown[]) => void) | undefined; }, { address: { number: string; country: string; state: string; street: string; neighborhood: string; city: string; zipCode: string; complement?: string | undefined; } | null; terreiro: { id: string; status: "ACTIVE" | "INACTIVE"; name: string; document: string; imageUrl: string | null; documentType: string; foundationDate: string | null; biography: string | null; religion: { id: string; name: string; origin: string; description: string; updatedAt: string; createdAt: string; matriz: string; characteristics: string; founder: string; } | null; }; contacts: { id: string; phone: string; contactPerson: string | null; updatedAt?: string | undefined; userId?: string | undefined; terreiroId?: string | undefined; createdAt?: string | undefined; createdByUserId?: string | undefined; }[] | null; onBack?: ((...args: unknown[]) => void) | undefined; }>; type TerreiroProfilePageProps = z.infer; declare const TerreiroReadonlyProfilePage: React__default.FC; declare const NotFoundPagePropsSchema: z.ZodObject<{ onNavigateHome: z.ZodOptional, z.ZodVoid>>; onNavigateBack: z.ZodOptional, z.ZodVoid>>; onNavigate: z.ZodOptional, z.ZodVoid>>; title: z.ZodOptional; message: z.ZodOptional; showBackButton: z.ZodOptional; showHomeButton: z.ZodOptional; showIcon: z.ZodOptional; animated: z.ZodOptional; darkMode: z.ZodOptional; customActions: z.ZodOptional, z.ZodVoid>; variant: z.ZodOptional>; color: z.ZodOptional>; }, "strip", z.ZodTypeAny, { label: string; action: () => void; color?: "warning" | "primary" | "secondary" | "error" | "info" | "success" | undefined; variant?: "text" | "outlined" | "contained" | undefined; }, { label: string; action: () => void; color?: "warning" | "primary" | "secondary" | "error" | "info" | "success" | undefined; variant?: "text" | "outlined" | "contained" | undefined; }>, "many">>; suggestedRoutes: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { label: string; route: string; icon?: string | undefined; description?: string | undefined; }, { label: string; route: string; icon?: string | undefined; description?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { title?: string | undefined; message?: string | undefined; onNavigate?: ((args_0: string) => void) | undefined; animated?: boolean | undefined; onNavigateHome?: (() => void) | undefined; onNavigateBack?: (() => void) | undefined; showBackButton?: boolean | undefined; showHomeButton?: boolean | undefined; showIcon?: boolean | undefined; darkMode?: boolean | undefined; customActions?: { label: string; action: () => void; color?: "warning" | "primary" | "secondary" | "error" | "info" | "success" | undefined; variant?: "text" | "outlined" | "contained" | undefined; }[] | undefined; suggestedRoutes?: { label: string; route: string; icon?: string | undefined; description?: string | undefined; }[] | undefined; }, { title?: string | undefined; message?: string | undefined; onNavigate?: ((args_0: string) => void) | undefined; animated?: boolean | undefined; onNavigateHome?: (() => void) | undefined; onNavigateBack?: (() => void) | undefined; showBackButton?: boolean | undefined; showHomeButton?: boolean | undefined; showIcon?: boolean | undefined; darkMode?: boolean | undefined; customActions?: { label: string; action: () => void; color?: "warning" | "primary" | "secondary" | "error" | "info" | "success" | undefined; variant?: "text" | "outlined" | "contained" | undefined; }[] | undefined; suggestedRoutes?: { label: string; route: string; icon?: string | undefined; description?: string | undefined; }[] | undefined; }>; type NotFoundPageProps = z.infer; type NotFoundPageCustomAction = { label: string; action: () => void; variant?: "text" | "outlined" | "contained"; color?: "primary" | "secondary" | "success" | "error" | "warning" | "info"; }; type NotFoundPageSuggestedRoute = { label: string; route: string; icon?: string; description?: string; }; declare const NotFoundPage: React__default.FunctionComponent; declare const useNotFoundPage: (props: NotFoundPageProps) => { data: { title: string; message: string; showBackButton: boolean; showHomeButton: boolean; showIcon: boolean; animated: boolean; customActions: { label: string; action: () => void; color?: "warning" | "primary" | "secondary" | "error" | "info" | "success" | undefined; variant?: "text" | "outlined" | "contained" | undefined; }[]; suggestedRoutes: { label: string; route: string; icon?: string | undefined; description?: string | undefined; }[]; floatingElements: { id: number; icon: string; delay: number; duration: number; startPosition: number; endPosition: number; }[]; isNavigating: boolean; }; fns: { handleNavigateHome: () => Promise; handleNavigateBack: () => Promise; handleNavigate: (route: string) => Promise; handleCustomAction: (action: () => void) => Promise; handleSuggestedRouteClick: (route: string) => void; }; }; declare const ExpiredLinkPagePropsSchema: z.ZodObject<{ dirigentes: z.ZodArray; }, "strip", z.ZodTypeAny, { name: string; contact: string; imageUrl?: string | undefined; }, { name: string; contact: string; imageUrl?: string | undefined; }>, "many">; onClose: z.ZodOptional, z.ZodUnknown>>; }, "strip", z.ZodTypeAny, { dirigentes: { name: string; contact: string; imageUrl?: string | undefined; }[]; onClose?: ((...args: unknown[]) => unknown) | undefined; }, { dirigentes: { name: string; contact: string; imageUrl?: string | undefined; }[]; onClose?: ((...args: unknown[]) => unknown) | undefined; }>; type ExpiredLinkPageProps = z.infer; declare const ExpiredLinkPage: React__default.FunctionComponent; declare const AccessBlockedPagePropsSchema: z.ZodObject<{ title: z.ZodString; description: z.ZodString; helperText: z.ZodString; countdownSeconds: z.ZodOptional; enableAutoCountdown: z.ZodOptional; logoUrl: z.ZodOptional; actions: z.ZodOptional>; onGoBackNow: z.ZodOptional, z.ZodVoid>>; onCountdownComplete: z.ZodOptional, z.ZodVoid>>; }, "strip", z.ZodTypeAny, { title: string; helperText: string; description: string; logoUrl?: string | undefined; actions?: React__default.ReactNode; countdownSeconds?: number | undefined; enableAutoCountdown?: boolean | undefined; onGoBackNow?: (() => void) | undefined; onCountdownComplete?: (() => void) | undefined; }, { title: string; helperText: string; description: string; logoUrl?: string | undefined; actions?: React__default.ReactNode; countdownSeconds?: number | undefined; enableAutoCountdown?: boolean | undefined; onGoBackNow?: (() => void) | undefined; onCountdownComplete?: (() => void) | undefined; }>; type AccessBlockedPageProps = z.infer; declare const AccessBlockedPage: React__default.FunctionComponent; declare const useAccessBlockedPage: (props: AccessBlockedPageProps) => { data: { title: string; description: string; helperText: string; logoUrl: string | undefined; actions: React$1.ReactNode; countdown: number; showCountdown: boolean; canGoBackNow: boolean; }; fns: { handleGoBackNow: () => void; }; }; declare const ForbiddenPagePropsSchema: z.ZodObject<{ title: z.ZodOptional; description: z.ZodOptional; helperText: z.ZodOptional; countdownSeconds: z.ZodOptional; actions: z.ZodOptional>; onGoBackNow: z.ZodOptional, z.ZodVoid>>; onCountdownComplete: z.ZodOptional, z.ZodVoid>>; }, "strip", z.ZodTypeAny, { title?: string | undefined; helperText?: string | undefined; description?: string | undefined; actions?: React__default.ReactNode; countdownSeconds?: number | undefined; onGoBackNow?: (() => void) | undefined; onCountdownComplete?: (() => void) | undefined; }, { title?: string | undefined; helperText?: string | undefined; description?: string | undefined; actions?: React__default.ReactNode; countdownSeconds?: number | undefined; onGoBackNow?: (() => void) | undefined; onCountdownComplete?: (() => void) | undefined; }>; type ForbiddenPageProps = z.infer; declare const ForbiddenPage: React__default.FunctionComponent; declare const PendingApprovalBlockedPagePropsSchema: z.ZodObject<{ title: z.ZodOptional; description: z.ZodOptional; helperText: z.ZodOptional; countdownSeconds: z.ZodOptional; actions: z.ZodOptional>; onGoBackNow: z.ZodOptional, z.ZodVoid>>; onCountdownComplete: z.ZodOptional, z.ZodVoid>>; }, "strip", z.ZodTypeAny, { title?: string | undefined; helperText?: string | undefined; description?: string | undefined; actions?: React__default.ReactNode; countdownSeconds?: number | undefined; onGoBackNow?: (() => void) | undefined; onCountdownComplete?: (() => void) | undefined; }, { title?: string | undefined; helperText?: string | undefined; description?: string | undefined; actions?: React__default.ReactNode; countdownSeconds?: number | undefined; onGoBackNow?: (() => void) | undefined; onCountdownComplete?: (() => void) | undefined; }>; type PendingApprovalBlockedPageProps = z.infer; declare const PendingApprovalBlockedPage: React__default.FunctionComponent; declare const EventProfileBlockedPagePropsSchema: z.ZodObject<{ title: z.ZodOptional; description: z.ZodOptional; helperText: z.ZodOptional; countdownSeconds: z.ZodOptional; actions: z.ZodOptional>; onGoBackNow: z.ZodOptional, z.ZodVoid>>; onCountdownComplete: z.ZodOptional, z.ZodVoid>>; }, "strip", z.ZodTypeAny, { title?: string | undefined; helperText?: string | undefined; description?: string | undefined; actions?: React__default.ReactNode; countdownSeconds?: number | undefined; onGoBackNow?: (() => void) | undefined; onCountdownComplete?: (() => void) | undefined; }, { title?: string | undefined; helperText?: string | undefined; description?: string | undefined; actions?: React__default.ReactNode; countdownSeconds?: number | undefined; onGoBackNow?: (() => void) | undefined; onCountdownComplete?: (() => void) | undefined; }>; type EventProfileBlockedPageProps = z.infer; declare const EventProfileBlockedPage: React__default.FunctionComponent; /** * Schema for the payload sent to onSave after parsing formData. * - receivingAccount is a string (account id) * - receivingAccountSelect is omitted */ declare const MonthlyFeeSavePayloadSchema: z$1.ZodObject<{ id: z$1.ZodString; monthlyFee: z$1.ZodNumber; dueDay: z$1.ZodNumber; paymentMethod: z$1.ZodString; receivingAccountId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { id: string; monthlyFee: number; dueDay: number; paymentMethod: string; receivingAccountId: string; }, { id: string; monthlyFee: number; dueDay: number; paymentMethod: string; receivingAccountId: string; }>; type MonthlyFeeSavePayload = z$1.infer; declare const MonthlyFeePagePropsSchema: z$1.ZodObject<{ initialFormData: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { id: string; agency: string; account: string; bankAccountOption: { id: string; image: string; name: string; updatedAt: string; createdAt: string; }; }, { id: string; agency: string; account: string; bankAccountOption: { id: string; image: string; name: string; updatedAt: string; createdAt: string; }; }>; receivingAccountSelect: z$1.ZodNullable>>; }, "strip", z$1.ZodTypeAny, { id: string; monthlyFee: number; dueDay: number; paymentMethod: string; receivingAccount: { id: string; agency: string; account: string; bankAccountOption: { id: string; image: string; name: string; updatedAt: string; createdAt: string; }; }; receivingAccountSelect?: { label: string; value: string; } | null | undefined; }, { id: string; monthlyFee: number; dueDay: number; paymentMethod: string; receivingAccount: { id: string; agency: string; account: string; bankAccountOption: { id: string; image: string; name: string; updatedAt: string; createdAt: string; }; }; receivingAccountSelect?: { label: string; value: string; } | null | undefined; }>>; initialValidationErrors: z$1.ZodOptional>; isLoading: z$1.ZodOptional; canSave: z$1.ZodOptional; bankAccountOptions: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { id: string; agency: string; account: string; bankAccountOption: { id: string; image: string; name: string; updatedAt: string; createdAt: string; }; }, { id: string; agency: string; account: string; bankAccountOption: { id: string; image: string; name: string; updatedAt: string; createdAt: string; }; }>, "many">>; snackbar: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { open: boolean; message: string; severity: "warning" | "error" | "info" | "success"; }, { open: boolean; message: string; severity: "warning" | "error" | "info" | "success"; }>>; onBack: z$1.ZodOptional, z$1.ZodVoid>>; onSave: z$1.ZodOptional], z$1.ZodUnknown>, z$1.ZodVoid>>; }, "strip", z$1.ZodTypeAny, { onBack?: ((...args: unknown[]) => void) | undefined; snackbar?: { open: boolean; message: string; severity: "warning" | "error" | "info" | "success"; } | undefined; isLoading?: boolean | undefined; onSave?: ((args_0: { id: string; monthlyFee: number; dueDay: number; paymentMethod: string; receivingAccountId: string; }, ...args: unknown[]) => void) | undefined; canSave?: boolean | undefined; bankAccountOptions?: { id: string; agency: string; account: string; bankAccountOption: { id: string; image: string; name: string; updatedAt: string; createdAt: string; }; }[] | undefined; initialFormData?: { id: string; monthlyFee: number; dueDay: number; paymentMethod: string; receivingAccount: { id: string; agency: string; account: string; bankAccountOption: { id: string; image: string; name: string; updatedAt: string; createdAt: string; }; }; receivingAccountSelect?: { label: string; value: string; } | null | undefined; } | undefined; initialValidationErrors?: Record | undefined; }, { onBack?: ((...args: unknown[]) => void) | undefined; snackbar?: { open: boolean; message: string; severity: "warning" | "error" | "info" | "success"; } | undefined; isLoading?: boolean | undefined; onSave?: ((args_0: { id: string; monthlyFee: number; dueDay: number; paymentMethod: string; receivingAccountId: string; }, ...args: unknown[]) => void) | undefined; canSave?: boolean | undefined; bankAccountOptions?: { id: string; agency: string; account: string; bankAccountOption: { id: string; image: string; name: string; updatedAt: string; createdAt: string; }; }[] | undefined; initialFormData?: { id: string; monthlyFee: number; dueDay: number; paymentMethod: string; receivingAccount: { id: string; agency: string; account: string; bankAccountOption: { id: string; image: string; name: string; updatedAt: string; createdAt: string; }; }; receivingAccountSelect?: { label: string; value: string; } | null | undefined; } | undefined; initialValidationErrors?: Record | undefined; }>; type MonthlyFeePageProps = z$1.infer; declare const MonthlyFeePage: React__default.FC; declare const SubscriptionRequiredForMediumPagePropsSchema: z.ZodObject<{ userName: z.ZodOptional; title: z.ZodOptional; firstParagraph: z.ZodOptional; secondParagraph: z.ZodOptional; onLogout: z.ZodOptional, z.ZodVoid>>; logoutLabel: z.ZodOptional; }, "strip", z.ZodTypeAny, { title?: string | undefined; onLogout?: ((...args: unknown[]) => void) | undefined; userName?: string | undefined; firstParagraph?: string | undefined; secondParagraph?: string | undefined; logoutLabel?: string | undefined; }, { title?: string | undefined; onLogout?: ((...args: unknown[]) => void) | undefined; userName?: string | undefined; firstParagraph?: string | undefined; secondParagraph?: string | undefined; logoutLabel?: string | undefined; }>; type SubscriptionRequiredForMediumPageProps = z.infer; declare const SubscriptionRequiredForMediumPage: React__default.FunctionComponent; declare const onboardingStepSchema: z$1.ZodObject<{ id: z$1.ZodString; title: z$1.ZodString; description: z$1.ZodString; image: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { title: string; id: string; description: string; image?: string | undefined; }, { title: string; id: string; description: string; image?: string | undefined; }>; declare const onboardingPageSchema: z$1.ZodObject<{ steps: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { title: string; id: string; description: string; image?: string | undefined; }, { title: string; id: string; description: string; image?: string | undefined; }>, "many">; onFinish: z$1.ZodOptional, z$1.ZodVoid>>; }, "strip", z$1.ZodTypeAny, { steps: { title: string; id: string; description: string; image?: string | undefined; }[]; onFinish?: ((...args: unknown[]) => void) | undefined; }, { steps: { title: string; id: string; description: string; image?: string | undefined; }[]; onFinish?: ((...args: unknown[]) => void) | undefined; }>; type OnboardingStep = z$1.infer; type OnboardingPageProps = z$1.infer; declare const OnboardingPage: React__default.FC; declare const useOnboardingPage: (props: OnboardingPageProps) => { data: { step: { title: string; id: string; description: string; image?: string | undefined; }; currentIndex: number; totalSteps: number; isFirstScreen: boolean; isLastScreen: boolean; isIntroScreen: boolean; isFinalScreen: boolean; isStepScreen: boolean; }; fns: { goNext: () => void; goBack: () => void; }; }; declare const RitualBathOriginSchema$2: z.ZodEnum<["SYSTEM", "TERREIRO", "MEDIUM"]>; type RitualBathOrigin$2 = z.infer; declare const RitualBathStatusSchema$1: z.ZodEnum<["ACTIVE", "INACTIVE", "DRAFT"]>; type RitualBathStatus$1 = z.infer; declare const RitualBathStepTypeSchema$1: z.ZodEnum<["INGREDIENT", "PREPARATION", "APPLICATION", "TIP"]>; type RitualBathStepType$1 = z.infer; declare const BathCategorySchema$1: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional; colorClass: z.ZodOptional; textColorClass: z.ZodOptional; icon: z.ZodOptional; origin: z.ZodOptional; terreiroId: z.ZodOptional>; bathsCount: z.ZodOptional; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; name: string; origin?: string | undefined; icon?: string | undefined; description?: string | undefined; updatedAt?: string | undefined; terreiroId?: string | null | undefined; createdAt?: string | undefined; colorClass?: string | undefined; textColorClass?: string | undefined; bathsCount?: number | undefined; }, { id: string; name: string; origin?: string | undefined; icon?: string | undefined; description?: string | undefined; updatedAt?: string | undefined; terreiroId?: string | null | undefined; createdAt?: string | undefined; colorClass?: string | undefined; textColorClass?: string | undefined; bathsCount?: number | undefined; }>; type BathCategory$1 = z.infer; declare const RitualBathIngredientSchema: z.ZodObject<{ id: z.ZodOptional; name: z.ZodString; quantity: z.ZodOptional>; unit: z.ZodNullable>; isOptional: z.ZodDefault; notes: z.ZodNullable>; }, "strip", z.ZodTypeAny, { name: string; isOptional: boolean; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; }, { name: string; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; isOptional?: boolean | undefined; }>; type RitualBathIngredient = z.infer; declare const RitualBathStepSchema: z.ZodObject<{ id: z.ZodOptional; order: z.ZodNumber; text: z.ZodString; type: z.ZodDefault>; icon: z.ZodOptional; }, "strip", z.ZodTypeAny, { order: number; text: string; type: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP"; id?: string | undefined; icon?: string | undefined; }, { order: number; text: string; id?: string | undefined; type?: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | undefined; icon?: string | undefined; }>; type RitualBathStep = z.infer; declare const BasicInfoStepSchema: z.ZodObject<{ title: z.ZodString; description: z.ZodOptional; introduction: z.ZodOptional; source: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; source?: string | undefined; description?: string | undefined; introduction?: string | undefined; }, { title: string; source?: string | undefined; description?: string | undefined; introduction?: string | undefined; }>; declare const OriginStepSchema: z.ZodObject<{ origin: z.ZodEnum<["SYSTEM", "TERREIRO", "MEDIUM"]>; categoryId: z.ZodPipeline; status: z.ZodDefault>; }, "strip", z.ZodTypeAny, { status: "ACTIVE" | "INACTIVE" | "DRAFT"; origin: "SYSTEM" | "TERREIRO" | "MEDIUM"; categoryId: string; }, { origin: "SYSTEM" | "TERREIRO" | "MEDIUM"; categoryId: string; status?: "ACTIVE" | "INACTIVE" | "DRAFT" | undefined; }>; declare const IngredientsStepSchema: z.ZodObject<{ ingredients: z.ZodArray; name: z.ZodString; quantity: z.ZodOptional>; unit: z.ZodNullable>; isOptional: z.ZodDefault; notes: z.ZodNullable>; }, "strip", z.ZodTypeAny, { name: string; isOptional: boolean; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; }, { name: string; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; isOptional?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { ingredients: { name: string; isOptional: boolean; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; }[]; }, { ingredients: { name: string; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; isOptional?: boolean | undefined; }[]; }>; declare const StepsStepSchema: z.ZodObject<{ steps: z.ZodArray; order: z.ZodNumber; text: z.ZodString; type: z.ZodDefault>; icon: z.ZodOptional; }, "strip", z.ZodTypeAny, { order: number; text: string; type: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP"; id?: string | undefined; icon?: string | undefined; }, { order: number; text: string; id?: string | undefined; type?: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | undefined; icon?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { steps: { order: number; text: string; type: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP"; id?: string | undefined; icon?: string | undefined; }[]; }, { steps: { order: number; text: string; id?: string | undefined; type?: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | undefined; icon?: string | undefined; }[]; }>; declare const RitualBathFormValuesSchema: z.ZodObject<{ title: z.ZodString; description: z.ZodOptional; introduction: z.ZodOptional; source: z.ZodOptional; categoryId: z.ZodString; origin: z.ZodEnum<["SYSTEM", "TERREIRO", "MEDIUM"]>; status: z.ZodDefault>; ingredients: z.ZodArray; name: z.ZodString; quantity: z.ZodOptional>; unit: z.ZodNullable>; isOptional: z.ZodDefault; notes: z.ZodNullable>; }, "strip", z.ZodTypeAny, { name: string; isOptional: boolean; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; }, { name: string; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; isOptional?: boolean | undefined; }>, "many">; steps: z.ZodArray; order: z.ZodNumber; text: z.ZodString; type: z.ZodDefault>; icon: z.ZodOptional; }, "strip", z.ZodTypeAny, { order: number; text: string; type: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP"; id?: string | undefined; icon?: string | undefined; }, { order: number; text: string; id?: string | undefined; type?: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | undefined; icon?: string | undefined; }>, "many">; terreiroId: z.ZodOptional; mediumId: z.ZodOptional; scheduleOnCalendar: z.ZodDefault; scheduleDate: z.ZodOptional; scheduleStartTime: z.ZodOptional; scheduleEndTime: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; status: "ACTIVE" | "INACTIVE" | "DRAFT"; origin: "SYSTEM" | "TERREIRO" | "MEDIUM"; steps: { order: number; text: string; type: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP"; id?: string | undefined; icon?: string | undefined; }[]; ingredients: { name: string; isOptional: boolean; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; }[]; categoryId: string; scheduleOnCalendar: boolean; source?: string | undefined; description?: string | undefined; mediumId?: number | undefined; terreiroId?: number | undefined; introduction?: string | undefined; scheduleDate?: string | undefined; scheduleStartTime?: string | undefined; scheduleEndTime?: string | undefined; }, { title: string; origin: "SYSTEM" | "TERREIRO" | "MEDIUM"; steps: { order: number; text: string; id?: string | undefined; type?: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | undefined; icon?: string | undefined; }[]; ingredients: { name: string; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; isOptional?: boolean | undefined; }[]; categoryId: string; source?: string | undefined; status?: "ACTIVE" | "INACTIVE" | "DRAFT" | undefined; description?: string | undefined; mediumId?: number | undefined; terreiroId?: number | undefined; introduction?: string | undefined; scheduleOnCalendar?: boolean | undefined; scheduleDate?: string | undefined; scheduleStartTime?: string | undefined; scheduleEndTime?: string | undefined; }>; type RitualBathFormValues = z.infer; interface RitualBathOnboardingPageProps { initialData?: Partial; categories?: BathCategory$1[]; availableOrigins?: RitualBathOrigin$2[]; onComplete?: (data: RitualBathFormValues) => void | Promise; onCancel?: () => void; onStepChange?: (step: number) => void; isLoading?: boolean; error?: string; terreiroId?: number; mediumId?: number; isAdmin?: boolean; /** Whether the user is on a personal (non-terreiro) profile */ isPersonalProfile?: boolean; } type RitualBathOnboardingValidationErrors = Partial>; declare const RitualBathOnboardingPage: React__default.FC; interface ChangeEvent$1 { target: { name: string; value: unknown; type: string; }; } interface RitualBathBasicInfoStepProps { formState: RitualBathFormValues; validationErrors: RitualBathOnboardingValidationErrors; onChange: (e: ChangeEvent$1) => void; } interface ChangeEvent { target: { name: string; value: unknown; type: string; }; } interface RitualBathOriginStepProps { formState: RitualBathFormValues; validationErrors: RitualBathOnboardingValidationErrors; onChange: (e: ChangeEvent) => void; categories?: BathCategory$1[]; availableOrigins?: RitualBathOrigin$2[]; isAdmin?: boolean; terreiroId?: number; mediumId?: number; } interface RitualBathReviewStepProps { formState: RitualBathFormValues; categories?: BathCategory$1[]; onChange?: (e: { target: { name: string; value: unknown; type: string; }; }) => void; } interface StepProps { formState: RitualBathFormValues; validationErrors: RitualBathOnboardingValidationErrors; onChange: (e: { target: { name: string; value: unknown; type: string; }; }) => void; } declare const useRitualBathOnboarding: (props: RitualBathOnboardingPageProps) => { data: { steps: ({ id: string; label: string; title: string; description: string; component: (stepProps: StepProps) => React__default.FunctionComponentElement; } | { id: string; label: string; title: string; description: string; component: React__default.FC; } | { id: string; label: string; title: string; description: string; component: (stepProps: StepProps) => React__default.FunctionComponentElement; })[]; formState: { origin: string; terreiroId: number | undefined; mediumId: number | undefined; title: string; status: "ACTIVE" | "INACTIVE" | "DRAFT"; steps: { order: number; text: string; type: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP"; id?: string | undefined; icon?: string | undefined; }[]; ingredients: { name: string; isOptional: boolean; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; }[]; categoryId: string; scheduleOnCalendar: boolean; source?: string | undefined; description?: string | undefined; introduction?: string | undefined; scheduleDate?: string | undefined; scheduleStartTime?: string | undefined; scheduleEndTime?: string | undefined; } | { ingredients: any; steps: any; origin: "SYSTEM" | "TERREIRO" | "MEDIUM"; terreiroId: number | undefined; mediumId: number | undefined; title: string; status: "ACTIVE" | "INACTIVE" | "DRAFT"; categoryId: string; scheduleOnCalendar: boolean; source?: string | undefined; description?: string | undefined; introduction?: string | undefined; scheduleDate?: string | undefined; scheduleStartTime?: string | undefined; scheduleEndTime?: string | undefined; }; isLoading: boolean | undefined; error: string | undefined; completionMessages: readonly ["Processando suas informações...", "Preparando o banho ritual...", "Organizando ingredientes...", "Configurando passos...", "Banho ritual criado com sucesso!"]; }; fns: { getStepValidation: (stepId: string) => z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; handleComplete: (formData: RitualBathFormValues) => Promise; handleCancel: () => void; onStepChange: (newStep: number) => void; }; }; declare const RitualBathOriginSchema$1: z.ZodEnum<["SYSTEM", "TERREIRO", "MEDIUM"]>; type RitualBathOrigin$1 = z.infer; declare const RitualBathTabSchema: z.ZodEnum<["all", "system", "my", "terreiro"]>; type RitualBathTab = z.infer; declare const BathCategorySchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional; colorClass: z.ZodString; textColorClass: z.ZodString; icon: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; icon: string; colorClass: string; textColorClass: string; description?: string | undefined; }, { id: string; name: string; icon: string; colorClass: string; textColorClass: string; description?: string | undefined; }>; type BathCategory = z.infer; declare const RitualBathItemSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; description: z.ZodOptional; imageUrl: z.ZodNullable>; origin: z.ZodEnum<["SYSTEM", "TERREIRO", "MEDIUM"]>; status: z.ZodEnum<["ACTIVE", "INACTIVE", "DRAFT"]>; isPublic: z.ZodBoolean; category: z.ZodOptional; colorClass: z.ZodString; textColorClass: z.ZodString; icon: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; icon: string; colorClass: string; textColorClass: string; description?: string | undefined; }, { id: string; name: string; icon: string; colorClass: string; textColorClass: string; description?: string | undefined; }>>; ingredients: z.ZodOptional>; unit: z.ZodNullable>; isOptional: z.ZodBoolean; notes: z.ZodNullable>; }, "strip", z.ZodTypeAny, { id: string; name: string; isOptional: boolean; unit?: string | null | undefined; quantity?: string | null | undefined; notes?: string | null | undefined; }, { id: string; name: string; isOptional: boolean; unit?: string | null | undefined; quantity?: string | null | undefined; notes?: string | null | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { list: { id: string; name: string; isOptional: boolean; unit?: string | null | undefined; quantity?: string | null | undefined; notes?: string | null | undefined; }[]; count: number; }, { list: { id: string; name: string; isOptional: boolean; unit?: string | null | undefined; quantity?: string | null | undefined; notes?: string | null | undefined; }[]; count: number; }>>; steps: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; order: number; text: string; type: string; icon?: string | undefined; }, { id: string; order: number; text: string; type: string; icon?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { list: { id: string; order: number; text: string; type: string; icon?: string | undefined; }[]; count: number; }, { list: { id: string; order: number; text: string; type: string; icon?: string | undefined; }[]; count: number; }>>; terreiroId: z.ZodOptional; mediumId: z.ZodOptional; createdAt: z.ZodOptional; scheduledCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; status: "ACTIVE" | "INACTIVE" | "DRAFT"; origin: "SYSTEM" | "TERREIRO" | "MEDIUM"; isPublic: boolean; description?: string | undefined; category?: { id: string; name: string; icon: string; colorClass: string; textColorClass: string; description?: string | undefined; } | undefined; imageUrl?: string | null | undefined; mediumId?: string | undefined; terreiroId?: string | undefined; createdAt?: string | undefined; steps?: { list: { id: string; order: number; text: string; type: string; icon?: string | undefined; }[]; count: number; } | undefined; scheduledCount?: number | undefined; ingredients?: { list: { id: string; name: string; isOptional: boolean; unit?: string | null | undefined; quantity?: string | null | undefined; notes?: string | null | undefined; }[]; count: number; } | undefined; }, { title: string; id: string; status: "ACTIVE" | "INACTIVE" | "DRAFT"; origin: "SYSTEM" | "TERREIRO" | "MEDIUM"; isPublic: boolean; description?: string | undefined; category?: { id: string; name: string; icon: string; colorClass: string; textColorClass: string; description?: string | undefined; } | undefined; imageUrl?: string | null | undefined; mediumId?: string | undefined; terreiroId?: string | undefined; createdAt?: string | undefined; steps?: { list: { id: string; order: number; text: string; type: string; icon?: string | undefined; }[]; count: number; } | undefined; scheduledCount?: number | undefined; ingredients?: { list: { id: string; name: string; isOptional: boolean; unit?: string | null | undefined; quantity?: string | null | undefined; notes?: string | null | undefined; }[]; count: number; } | undefined; }>; type RitualBathItem = z.infer; declare const RitualBathFilterSchema: z.ZodObject<{ categoryId: z.ZodOptional; origin: z.ZodOptional>; status: z.ZodOptional>; searchQuery: z.ZodOptional; }, "strip", z.ZodTypeAny, { status?: "ACTIVE" | "INACTIVE" | "DRAFT" | undefined; origin?: "SYSTEM" | "TERREIRO" | "MEDIUM" | undefined; searchQuery?: string | undefined; categoryId?: string | undefined; }, { status?: "ACTIVE" | "INACTIVE" | "DRAFT" | undefined; origin?: "SYSTEM" | "TERREIRO" | "MEDIUM" | undefined; searchQuery?: string | undefined; categoryId?: string | undefined; }>; type RitualBathFilter = z.infer; declare const RitualBathListPagePropsSchema: z.ZodObject<{ ritualBaths: z.ZodArray; imageUrl: z.ZodNullable>; origin: z.ZodEnum<["SYSTEM", "TERREIRO", "MEDIUM"]>; status: z.ZodEnum<["ACTIVE", "INACTIVE", "DRAFT"]>; isPublic: z.ZodBoolean; category: z.ZodOptional; colorClass: z.ZodString; textColorClass: z.ZodString; icon: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; icon: string; colorClass: string; textColorClass: string; description?: string | undefined; }, { id: string; name: string; icon: string; colorClass: string; textColorClass: string; description?: string | undefined; }>>; ingredients: z.ZodOptional>; unit: z.ZodNullable>; isOptional: z.ZodBoolean; notes: z.ZodNullable>; }, "strip", z.ZodTypeAny, { id: string; name: string; isOptional: boolean; unit?: string | null | undefined; quantity?: string | null | undefined; notes?: string | null | undefined; }, { id: string; name: string; isOptional: boolean; unit?: string | null | undefined; quantity?: string | null | undefined; notes?: string | null | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { list: { id: string; name: string; isOptional: boolean; unit?: string | null | undefined; quantity?: string | null | undefined; notes?: string | null | undefined; }[]; count: number; }, { list: { id: string; name: string; isOptional: boolean; unit?: string | null | undefined; quantity?: string | null | undefined; notes?: string | null | undefined; }[]; count: number; }>>; steps: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; order: number; text: string; type: string; icon?: string | undefined; }, { id: string; order: number; text: string; type: string; icon?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { list: { id: string; order: number; text: string; type: string; icon?: string | undefined; }[]; count: number; }, { list: { id: string; order: number; text: string; type: string; icon?: string | undefined; }[]; count: number; }>>; terreiroId: z.ZodOptional; mediumId: z.ZodOptional; createdAt: z.ZodOptional; scheduledCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; status: "ACTIVE" | "INACTIVE" | "DRAFT"; origin: "SYSTEM" | "TERREIRO" | "MEDIUM"; isPublic: boolean; description?: string | undefined; category?: { id: string; name: string; icon: string; colorClass: string; textColorClass: string; description?: string | undefined; } | undefined; imageUrl?: string | null | undefined; mediumId?: string | undefined; terreiroId?: string | undefined; createdAt?: string | undefined; steps?: { list: { id: string; order: number; text: string; type: string; icon?: string | undefined; }[]; count: number; } | undefined; scheduledCount?: number | undefined; ingredients?: { list: { id: string; name: string; isOptional: boolean; unit?: string | null | undefined; quantity?: string | null | undefined; notes?: string | null | undefined; }[]; count: number; } | undefined; }, { title: string; id: string; status: "ACTIVE" | "INACTIVE" | "DRAFT"; origin: "SYSTEM" | "TERREIRO" | "MEDIUM"; isPublic: boolean; description?: string | undefined; category?: { id: string; name: string; icon: string; colorClass: string; textColorClass: string; description?: string | undefined; } | undefined; imageUrl?: string | null | undefined; mediumId?: string | undefined; terreiroId?: string | undefined; createdAt?: string | undefined; steps?: { list: { id: string; order: number; text: string; type: string; icon?: string | undefined; }[]; count: number; } | undefined; scheduledCount?: number | undefined; ingredients?: { list: { id: string; name: string; isOptional: boolean; unit?: string | null | undefined; quantity?: string | null | undefined; notes?: string | null | undefined; }[]; count: number; } | undefined; }>, "many">; categories: z.ZodOptional; colorClass: z.ZodString; textColorClass: z.ZodString; icon: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; icon: string; colorClass: string; textColorClass: string; description?: string | undefined; }, { id: string; name: string; icon: string; colorClass: string; textColorClass: string; description?: string | undefined; }>, "many">>; isLoading: z.ZodOptional; error: z.ZodOptional; hasNextPage: z.ZodOptional; isFetchingNextPage: z.ZodOptional; onLoadMore: z.ZodOptional, z.ZodUnion<[z.ZodVoid, z.ZodPromise]>>>; isAdmin: z.ZodOptional; isPersonalProfile: z.ZodOptional; isTerreiro: z.ZodOptional; hasTerreiroAccess: z.ZodOptional; initialTab: z.ZodOptional>; initialFilters: z.ZodOptional; origin: z.ZodOptional>; status: z.ZodOptional>; searchQuery: z.ZodOptional; }, "strip", z.ZodTypeAny, { status?: "ACTIVE" | "INACTIVE" | "DRAFT" | undefined; origin?: "SYSTEM" | "TERREIRO" | "MEDIUM" | undefined; searchQuery?: string | undefined; categoryId?: string | undefined; }, { status?: "ACTIVE" | "INACTIVE" | "DRAFT" | undefined; origin?: "SYSTEM" | "TERREIRO" | "MEDIUM" | undefined; searchQuery?: string | undefined; categoryId?: string | undefined; }>>; onBathSelect: z.ZodOptional, z.ZodVoid>>; onBathCreate: z.ZodOptional, z.ZodVoid>>; onScheduleBath: z.ZodOptional, z.ZodVoid>>; onBack: z.ZodOptional, z.ZodVoid>>; onTabChange: z.ZodOptional], null>, z.ZodVoid>>; onFilterChange: z.ZodOptional; origin: z.ZodOptional>; status: z.ZodOptional>; searchQuery: z.ZodOptional; }, "strip", z.ZodTypeAny, { status?: "ACTIVE" | "INACTIVE" | "DRAFT" | undefined; origin?: "SYSTEM" | "TERREIRO" | "MEDIUM" | undefined; searchQuery?: string | undefined; categoryId?: string | undefined; }, { status?: "ACTIVE" | "INACTIVE" | "DRAFT" | undefined; origin?: "SYSTEM" | "TERREIRO" | "MEDIUM" | undefined; searchQuery?: string | undefined; categoryId?: string | undefined; }>], null>, z.ZodVoid>>; onManageCategories: z.ZodOptional, z.ZodVoid>>; }, "strip", z.ZodTypeAny, { ritualBaths: { title: string; id: string; status: "ACTIVE" | "INACTIVE" | "DRAFT"; origin: "SYSTEM" | "TERREIRO" | "MEDIUM"; isPublic: boolean; description?: string | undefined; category?: { id: string; name: string; icon: string; colorClass: string; textColorClass: string; description?: string | undefined; } | undefined; imageUrl?: string | null | undefined; mediumId?: string | undefined; terreiroId?: string | undefined; createdAt?: string | undefined; steps?: { list: { id: string; order: number; text: string; type: string; icon?: string | undefined; }[]; count: number; } | undefined; scheduledCount?: number | undefined; ingredients?: { list: { id: string; name: string; isOptional: boolean; unit?: string | null | undefined; quantity?: string | null | undefined; notes?: string | null | undefined; }[]; count: number; } | undefined; }[]; error?: string | undefined; isAdmin?: boolean | undefined; onBack?: (() => void) | undefined; isPersonalProfile?: boolean | undefined; onTabChange?: ((args_0: "all" | "my" | "system" | "terreiro") => void) | undefined; isLoading?: boolean | undefined; hasNextPage?: boolean | undefined; isFetchingNextPage?: boolean | undefined; onLoadMore?: (() => void | Promise) | undefined; categories?: { id: string; name: string; icon: string; colorClass: string; textColorClass: string; description?: string | undefined; }[] | undefined; isTerreiro?: boolean | undefined; onFilterChange?: ((args_0: { status?: "ACTIVE" | "INACTIVE" | "DRAFT" | undefined; origin?: "SYSTEM" | "TERREIRO" | "MEDIUM" | undefined; searchQuery?: string | undefined; categoryId?: string | undefined; }) => void) | undefined; hasTerreiroAccess?: boolean | undefined; initialTab?: "all" | "my" | "system" | "terreiro" | undefined; initialFilters?: { status?: "ACTIVE" | "INACTIVE" | "DRAFT" | undefined; origin?: "SYSTEM" | "TERREIRO" | "MEDIUM" | undefined; searchQuery?: string | undefined; categoryId?: string | undefined; } | undefined; onBathSelect?: ((args_0: string) => void) | undefined; onBathCreate?: (() => void) | undefined; onScheduleBath?: ((args_0: string) => void) | undefined; onManageCategories?: (() => void) | undefined; }, { ritualBaths: { title: string; id: string; status: "ACTIVE" | "INACTIVE" | "DRAFT"; origin: "SYSTEM" | "TERREIRO" | "MEDIUM"; isPublic: boolean; description?: string | undefined; category?: { id: string; name: string; icon: string; colorClass: string; textColorClass: string; description?: string | undefined; } | undefined; imageUrl?: string | null | undefined; mediumId?: string | undefined; terreiroId?: string | undefined; createdAt?: string | undefined; steps?: { list: { id: string; order: number; text: string; type: string; icon?: string | undefined; }[]; count: number; } | undefined; scheduledCount?: number | undefined; ingredients?: { list: { id: string; name: string; isOptional: boolean; unit?: string | null | undefined; quantity?: string | null | undefined; notes?: string | null | undefined; }[]; count: number; } | undefined; }[]; error?: string | undefined; isAdmin?: boolean | undefined; onBack?: (() => void) | undefined; isPersonalProfile?: boolean | undefined; onTabChange?: ((args_0: "all" | "my" | "system" | "terreiro") => void) | undefined; isLoading?: boolean | undefined; hasNextPage?: boolean | undefined; isFetchingNextPage?: boolean | undefined; onLoadMore?: (() => void | Promise) | undefined; categories?: { id: string; name: string; icon: string; colorClass: string; textColorClass: string; description?: string | undefined; }[] | undefined; isTerreiro?: boolean | undefined; onFilterChange?: ((args_0: { status?: "ACTIVE" | "INACTIVE" | "DRAFT" | undefined; origin?: "SYSTEM" | "TERREIRO" | "MEDIUM" | undefined; searchQuery?: string | undefined; categoryId?: string | undefined; }) => void) | undefined; hasTerreiroAccess?: boolean | undefined; initialTab?: "all" | "my" | "system" | "terreiro" | undefined; initialFilters?: { status?: "ACTIVE" | "INACTIVE" | "DRAFT" | undefined; origin?: "SYSTEM" | "TERREIRO" | "MEDIUM" | undefined; searchQuery?: string | undefined; categoryId?: string | undefined; } | undefined; onBathSelect?: ((args_0: string) => void) | undefined; onBathCreate?: (() => void) | undefined; onScheduleBath?: ((args_0: string) => void) | undefined; onManageCategories?: (() => void) | undefined; }>; type RitualBathListPageProps = z.infer; declare const RitualBathListPage: React__default.FC; declare const useRitualBathListPage: (props: RitualBathListPageProps) => { data: { ritualBaths: { title: string; id: string; status: "ACTIVE" | "INACTIVE" | "DRAFT"; origin: "SYSTEM" | "TERREIRO" | "MEDIUM"; isPublic: boolean; description?: string | undefined; category?: { id: string; name: string; icon: string; colorClass: string; textColorClass: string; description?: string | undefined; } | undefined; imageUrl?: string | null | undefined; mediumId?: string | undefined; terreiroId?: string | undefined; createdAt?: string | undefined; steps?: { list: { id: string; order: number; text: string; type: string; icon?: string | undefined; }[]; count: number; } | undefined; scheduledCount?: number | undefined; ingredients?: { list: { id: string; name: string; isOptional: boolean; unit?: string | null | undefined; quantity?: string | null | undefined; notes?: string | null | undefined; }[]; count: number; } | undefined; }[]; categories: { id: string; name: string; icon: string; colorClass: string; textColorClass: string; description?: string | undefined; }[]; isLoading: boolean; error: string | undefined; activeTab: "all" | "my" | "system" | "terreiro"; availableTabs: ("all" | "my" | "system" | "terreiro")[]; filters: { status?: "ACTIVE" | "INACTIVE" | "DRAFT" | undefined; origin?: "SYSTEM" | "TERREIRO" | "MEDIUM" | undefined; searchQuery?: string | undefined; categoryId?: string | undefined; }; hasActiveFilters: boolean; activeFilterCount: number; isFilterDrawerOpen: boolean; isAdmin: boolean; isTerreiro: boolean; hasTerreiroAccess: boolean; hasNextPage: boolean; isFetchingNextPage: boolean; }; fns: { handleTabChange: (tab: RitualBathTab) => void; handleFilterChange: (newFilters: Partial) => void; handleCategoryFilter: (categoryId: string | undefined) => void; handleOriginFilter: (origin: RitualBathOrigin$1 | undefined) => void; handleSearchChange: (searchQuery: string) => void; handleClearFilters: () => void; handleBathSelect: (id: string) => void; handleBathCreate: () => void; handleScheduleBath: ((id: string) => void) | undefined; handleBack: () => void; handleManageCategories: () => void; handleToggleFilterDrawer: () => void; handleCloseFilterDrawer: () => void; getTabLabel: (tab: RitualBathTab) => string; getOriginLabel: (origin: RitualBathOrigin$1) => string; getStatusLabel: (status: string) => string; handleLoadMore: () => Promise; }; }; declare const _default: React__default.NamedExoticComponent<{ onDelete?: ((args_0: string) => void) | undefined; error?: string | undefined; isAdmin?: boolean | undefined; onBack?: (() => void) | undefined; isPersonalProfile?: boolean | undefined; onRetry?: (() => void) | undefined; isLoading?: boolean | undefined; onSchedule?: ((args_0: string) => void) | undefined; onEdit?: ((args_0: string) => void) | undefined; isTerreiro?: boolean | undefined; canDelete?: boolean | undefined; isDeleting?: boolean | undefined; hasTerreiroAccess?: boolean | undefined; ritualBath?: { title: string; id: string; status: "ACTIVE" | "INACTIVE" | "DRAFT"; origin: "SYSTEM" | "TERREIRO" | "MEDIUM"; steps: { order: number; text: string; type: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | "INSTRUCTION"; id?: string | undefined; icon?: string | undefined; }[]; ingredients: { name: string; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; isOptional?: boolean | undefined; }[]; source?: string | undefined; description?: string | undefined; updatedAt?: string | undefined; category?: { id: string | number; name: string; icon?: string | undefined; description?: string | undefined; colorClass?: string | undefined; textColorClass?: string | undefined; } | undefined; imageUrl?: string | null | undefined; mediumId?: string | number | null | undefined; terreiroId?: string | number | null | undefined; createdAt?: string | undefined; scheduledCount?: number | undefined; occurrences?: { id: string; date: string; startTime?: string | null | undefined; endTime?: string | null | undefined; notes?: string | null | undefined; }[] | undefined; createdBy?: { id: string; firstName: string; lastName: string; } | null | undefined; categoryId?: string | number | null | undefined; introduction?: string | undefined; isPublic?: boolean | undefined; copiedFromId?: string | number | null | undefined; } | undefined; currentMediumId?: number | undefined; currentTerreiroId?: number | undefined; canEdit?: boolean | undefined; canCopy?: boolean | undefined; canSchedule?: boolean | undefined; isScheduling?: boolean | undefined; isCopying?: boolean | undefined; onCopyToPersonal?: ((args_0: string) => void | Promise) | undefined; onCopyToTerreiro?: ((args_0: string) => void | Promise) | undefined; }>; declare const RitualBathOriginSchema: z.ZodEnum<["SYSTEM", "TERREIRO", "MEDIUM"]>; type RitualBathOrigin = z.infer; declare const RitualBathStatusSchema: z.ZodEnum<["ACTIVE", "INACTIVE", "DRAFT"]>; type RitualBathStatus = z.infer; declare const RitualBathStepTypeSchema: z.ZodEnum<["INGREDIENT", "PREPARATION", "APPLICATION", "TIP", "INSTRUCTION"]>; type RitualBathStepType = z.infer; declare const RitualBathOccurrenceSchema: z.ZodObject<{ id: z.ZodString; date: z.ZodString; startTime: z.ZodNullable>; endTime: z.ZodNullable>; notes: z.ZodNullable>; }, "strip", z.ZodTypeAny, { id: string; date: string; startTime?: string | null | undefined; endTime?: string | null | undefined; notes?: string | null | undefined; }, { id: string; date: string; startTime?: string | null | undefined; endTime?: string | null | undefined; notes?: string | null | undefined; }>; type RitualBathOccurrence = z.infer; declare const RitualBathDetailSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; description: z.ZodOptional; introduction: z.ZodOptional; source: z.ZodOptional; origin: z.ZodEnum<["SYSTEM", "TERREIRO", "MEDIUM"]>; status: z.ZodEnum<["ACTIVE", "INACTIVE", "DRAFT"]>; category: z.ZodEffects; name: z.ZodString; description: z.ZodOptional; colorClass: z.ZodOptional; textColorClass: z.ZodOptional; icon: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string | number; name: string; icon?: string | undefined; description?: string | undefined; colorClass?: string | undefined; textColorClass?: string | undefined; }, { id: string | number; name: string; icon?: string | undefined; description?: string | undefined; colorClass?: string | undefined; textColorClass?: string | undefined; }>>>, { id: string | number; name: string; icon?: string | undefined; description?: string | undefined; colorClass?: string | undefined; textColorClass?: string | undefined; } | undefined, { id: string | number; name: string; icon?: string | undefined; description?: string | undefined; colorClass?: string | undefined; textColorClass?: string | undefined; } | null | undefined>; categoryId: z.ZodNullable>>; ingredients: z.ZodEffects; name: z.ZodString; quantity: z.ZodOptional>; unit: z.ZodNullable>; isOptional: z.ZodOptional; notes: z.ZodNullable>; }, "strip", z.ZodTypeAny, { name: string; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; isOptional?: boolean | undefined; }, { name: string; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; isOptional?: boolean | undefined; }>, "many">, z.ZodObject<{ count: z.ZodNumber; list: z.ZodArray; name: z.ZodString; quantity: z.ZodOptional>; unit: z.ZodNullable>; isOptional: z.ZodOptional; notes: z.ZodNullable>; }, "strip", z.ZodTypeAny, { name: string; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; isOptional?: boolean | undefined; }, { name: string; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; isOptional?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { list: { name: string; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; isOptional?: boolean | undefined; }[]; count: number; }, { list: { name: string; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; isOptional?: boolean | undefined; }[]; count: number; }>]>>>, { name: string; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; isOptional?: boolean | undefined; }[], { name: string; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; isOptional?: boolean | undefined; }[] | { list: { name: string; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; isOptional?: boolean | undefined; }[]; count: number; } | null | undefined>; steps: z.ZodEffects; order: z.ZodNumber; text: z.ZodString; type: z.ZodEnum<["INGREDIENT", "PREPARATION", "APPLICATION", "TIP", "INSTRUCTION"]>; icon: z.ZodOptional; }, "strip", z.ZodTypeAny, { order: number; text: string; type: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | "INSTRUCTION"; id?: string | undefined; icon?: string | undefined; }, { order: number; text: string; type: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | "INSTRUCTION"; id?: string | undefined; icon?: string | undefined; }>, "many">, z.ZodObject<{ count: z.ZodNumber; list: z.ZodArray; order: z.ZodNumber; text: z.ZodString; type: z.ZodEnum<["INGREDIENT", "PREPARATION", "APPLICATION", "TIP", "INSTRUCTION"]>; icon: z.ZodOptional; }, "strip", z.ZodTypeAny, { order: number; text: string; type: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | "INSTRUCTION"; id?: string | undefined; icon?: string | undefined; }, { order: number; text: string; type: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | "INSTRUCTION"; id?: string | undefined; icon?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { list: { order: number; text: string; type: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | "INSTRUCTION"; id?: string | undefined; icon?: string | undefined; }[]; count: number; }, { list: { order: number; text: string; type: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | "INSTRUCTION"; id?: string | undefined; icon?: string | undefined; }[]; count: number; }>]>>>, { order: number; text: string; type: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | "INSTRUCTION"; id?: string | undefined; icon?: string | undefined; }[], { order: number; text: string; type: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | "INSTRUCTION"; id?: string | undefined; icon?: string | undefined; }[] | { list: { order: number; text: string; type: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | "INSTRUCTION"; id?: string | undefined; icon?: string | undefined; }[]; count: number; } | null | undefined>; imageUrl: z.ZodNullable>; terreiroId: z.ZodNullable>>; mediumId: z.ZodNullable>>; isPublic: z.ZodOptional; copiedFromId: z.ZodNullable>>; createdBy: z.ZodNullable>>; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; occurrences: z.ZodOptional>; endTime: z.ZodNullable>; notes: z.ZodNullable>; }, "strip", z.ZodTypeAny, { id: string; date: string; startTime?: string | null | undefined; endTime?: string | null | undefined; notes?: string | null | undefined; }, { id: string; date: string; startTime?: string | null | undefined; endTime?: string | null | undefined; notes?: string | null | undefined; }>, "many">>; scheduledCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; status: "ACTIVE" | "INACTIVE" | "DRAFT"; origin: "SYSTEM" | "TERREIRO" | "MEDIUM"; steps: { order: number; text: string; type: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | "INSTRUCTION"; id?: string | undefined; icon?: string | undefined; }[]; ingredients: { name: string; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; isOptional?: boolean | undefined; }[]; source?: string | undefined; description?: string | undefined; updatedAt?: string | undefined; category?: { id: string | number; name: string; icon?: string | undefined; description?: string | undefined; colorClass?: string | undefined; textColorClass?: string | undefined; } | undefined; imageUrl?: string | null | undefined; mediumId?: string | number | null | undefined; terreiroId?: string | number | null | undefined; createdAt?: string | undefined; scheduledCount?: number | undefined; occurrences?: { id: string; date: string; startTime?: string | null | undefined; endTime?: string | null | undefined; notes?: string | null | undefined; }[] | undefined; createdBy?: { id: string; firstName: string; lastName: string; } | null | undefined; categoryId?: string | number | null | undefined; introduction?: string | undefined; isPublic?: boolean | undefined; copiedFromId?: string | number | null | undefined; }, { title: string; id: string; status: "ACTIVE" | "INACTIVE" | "DRAFT"; origin: "SYSTEM" | "TERREIRO" | "MEDIUM"; source?: string | undefined; description?: string | undefined; updatedAt?: string | undefined; category?: { id: string | number; name: string; icon?: string | undefined; description?: string | undefined; colorClass?: string | undefined; textColorClass?: string | undefined; } | null | undefined; imageUrl?: string | null | undefined; mediumId?: string | number | null | undefined; terreiroId?: string | number | null | undefined; createdAt?: string | undefined; steps?: { order: number; text: string; type: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | "INSTRUCTION"; id?: string | undefined; icon?: string | undefined; }[] | { list: { order: number; text: string; type: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | "INSTRUCTION"; id?: string | undefined; icon?: string | undefined; }[]; count: number; } | null | undefined; scheduledCount?: number | undefined; ingredients?: { name: string; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; isOptional?: boolean | undefined; }[] | { list: { name: string; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; isOptional?: boolean | undefined; }[]; count: number; } | null | undefined; occurrences?: { id: string; date: string; startTime?: string | null | undefined; endTime?: string | null | undefined; notes?: string | null | undefined; }[] | undefined; createdBy?: { id: string; firstName: string; lastName: string; } | null | undefined; categoryId?: string | number | null | undefined; introduction?: string | undefined; isPublic?: boolean | undefined; copiedFromId?: string | number | null | undefined; }>; type RitualBathDetail = z.infer; declare const CopyTargetSchema: z.ZodEnum<["MEDIUM", "TERREIRO"]>; type CopyTarget = z.infer; declare const RitualBathDetailPagePropsSchema: z.ZodObject<{ ritualBath: z.ZodOptional; introduction: z.ZodOptional; source: z.ZodOptional; origin: z.ZodEnum<["SYSTEM", "TERREIRO", "MEDIUM"]>; status: z.ZodEnum<["ACTIVE", "INACTIVE", "DRAFT"]>; category: z.ZodEffects; name: z.ZodString; description: z.ZodOptional; colorClass: z.ZodOptional; textColorClass: z.ZodOptional; icon: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string | number; name: string; icon?: string | undefined; description?: string | undefined; colorClass?: string | undefined; textColorClass?: string | undefined; }, { id: string | number; name: string; icon?: string | undefined; description?: string | undefined; colorClass?: string | undefined; textColorClass?: string | undefined; }>>>, { id: string | number; name: string; icon?: string | undefined; description?: string | undefined; colorClass?: string | undefined; textColorClass?: string | undefined; } | undefined, { id: string | number; name: string; icon?: string | undefined; description?: string | undefined; colorClass?: string | undefined; textColorClass?: string | undefined; } | null | undefined>; categoryId: z.ZodNullable>>; ingredients: z.ZodEffects; name: z.ZodString; quantity: z.ZodOptional>; unit: z.ZodNullable>; isOptional: z.ZodOptional; notes: z.ZodNullable>; }, "strip", z.ZodTypeAny, { name: string; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; isOptional?: boolean | undefined; }, { name: string; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; isOptional?: boolean | undefined; }>, "many">, z.ZodObject<{ count: z.ZodNumber; list: z.ZodArray; name: z.ZodString; quantity: z.ZodOptional>; unit: z.ZodNullable>; isOptional: z.ZodOptional; notes: z.ZodNullable>; }, "strip", z.ZodTypeAny, { name: string; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; isOptional?: boolean | undefined; }, { name: string; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; isOptional?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { list: { name: string; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; isOptional?: boolean | undefined; }[]; count: number; }, { list: { name: string; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; isOptional?: boolean | undefined; }[]; count: number; }>]>>>, { name: string; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; isOptional?: boolean | undefined; }[], { name: string; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; isOptional?: boolean | undefined; }[] | { list: { name: string; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; isOptional?: boolean | undefined; }[]; count: number; } | null | undefined>; steps: z.ZodEffects; order: z.ZodNumber; text: z.ZodString; type: z.ZodEnum<["INGREDIENT", "PREPARATION", "APPLICATION", "TIP", "INSTRUCTION"]>; icon: z.ZodOptional; }, "strip", z.ZodTypeAny, { order: number; text: string; type: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | "INSTRUCTION"; id?: string | undefined; icon?: string | undefined; }, { order: number; text: string; type: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | "INSTRUCTION"; id?: string | undefined; icon?: string | undefined; }>, "many">, z.ZodObject<{ count: z.ZodNumber; list: z.ZodArray; order: z.ZodNumber; text: z.ZodString; type: z.ZodEnum<["INGREDIENT", "PREPARATION", "APPLICATION", "TIP", "INSTRUCTION"]>; icon: z.ZodOptional; }, "strip", z.ZodTypeAny, { order: number; text: string; type: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | "INSTRUCTION"; id?: string | undefined; icon?: string | undefined; }, { order: number; text: string; type: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | "INSTRUCTION"; id?: string | undefined; icon?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { list: { order: number; text: string; type: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | "INSTRUCTION"; id?: string | undefined; icon?: string | undefined; }[]; count: number; }, { list: { order: number; text: string; type: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | "INSTRUCTION"; id?: string | undefined; icon?: string | undefined; }[]; count: number; }>]>>>, { order: number; text: string; type: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | "INSTRUCTION"; id?: string | undefined; icon?: string | undefined; }[], { order: number; text: string; type: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | "INSTRUCTION"; id?: string | undefined; icon?: string | undefined; }[] | { list: { order: number; text: string; type: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | "INSTRUCTION"; id?: string | undefined; icon?: string | undefined; }[]; count: number; } | null | undefined>; imageUrl: z.ZodNullable>; terreiroId: z.ZodNullable>>; mediumId: z.ZodNullable>>; isPublic: z.ZodOptional; copiedFromId: z.ZodNullable>>; createdBy: z.ZodNullable>>; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; occurrences: z.ZodOptional>; endTime: z.ZodNullable>; notes: z.ZodNullable>; }, "strip", z.ZodTypeAny, { id: string; date: string; startTime?: string | null | undefined; endTime?: string | null | undefined; notes?: string | null | undefined; }, { id: string; date: string; startTime?: string | null | undefined; endTime?: string | null | undefined; notes?: string | null | undefined; }>, "many">>; scheduledCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; status: "ACTIVE" | "INACTIVE" | "DRAFT"; origin: "SYSTEM" | "TERREIRO" | "MEDIUM"; steps: { order: number; text: string; type: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | "INSTRUCTION"; id?: string | undefined; icon?: string | undefined; }[]; ingredients: { name: string; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; isOptional?: boolean | undefined; }[]; source?: string | undefined; description?: string | undefined; updatedAt?: string | undefined; category?: { id: string | number; name: string; icon?: string | undefined; description?: string | undefined; colorClass?: string | undefined; textColorClass?: string | undefined; } | undefined; imageUrl?: string | null | undefined; mediumId?: string | number | null | undefined; terreiroId?: string | number | null | undefined; createdAt?: string | undefined; scheduledCount?: number | undefined; occurrences?: { id: string; date: string; startTime?: string | null | undefined; endTime?: string | null | undefined; notes?: string | null | undefined; }[] | undefined; createdBy?: { id: string; firstName: string; lastName: string; } | null | undefined; categoryId?: string | number | null | undefined; introduction?: string | undefined; isPublic?: boolean | undefined; copiedFromId?: string | number | null | undefined; }, { title: string; id: string; status: "ACTIVE" | "INACTIVE" | "DRAFT"; origin: "SYSTEM" | "TERREIRO" | "MEDIUM"; source?: string | undefined; description?: string | undefined; updatedAt?: string | undefined; category?: { id: string | number; name: string; icon?: string | undefined; description?: string | undefined; colorClass?: string | undefined; textColorClass?: string | undefined; } | null | undefined; imageUrl?: string | null | undefined; mediumId?: string | number | null | undefined; terreiroId?: string | number | null | undefined; createdAt?: string | undefined; steps?: { order: number; text: string; type: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | "INSTRUCTION"; id?: string | undefined; icon?: string | undefined; }[] | { list: { order: number; text: string; type: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | "INSTRUCTION"; id?: string | undefined; icon?: string | undefined; }[]; count: number; } | null | undefined; scheduledCount?: number | undefined; ingredients?: { name: string; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; isOptional?: boolean | undefined; }[] | { list: { name: string; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; isOptional?: boolean | undefined; }[]; count: number; } | null | undefined; occurrences?: { id: string; date: string; startTime?: string | null | undefined; endTime?: string | null | undefined; notes?: string | null | undefined; }[] | undefined; createdBy?: { id: string; firstName: string; lastName: string; } | null | undefined; categoryId?: string | number | null | undefined; introduction?: string | undefined; isPublic?: boolean | undefined; copiedFromId?: string | number | null | undefined; }>>; isLoading: z.ZodOptional; error: z.ZodOptional; isAdmin: z.ZodOptional; isPersonalProfile: z.ZodOptional; isTerreiro: z.ZodOptional; currentMediumId: z.ZodOptional; currentTerreiroId: z.ZodOptional; hasTerreiroAccess: z.ZodOptional; canEdit: z.ZodOptional; canDelete: z.ZodOptional; canCopy: z.ZodOptional; canSchedule: z.ZodOptional; isScheduling: z.ZodOptional; isCopying: z.ZodOptional; isDeleting: z.ZodOptional; onBack: z.ZodOptional, z.ZodVoid>>; onEdit: z.ZodOptional, z.ZodVoid>>; onDelete: z.ZodOptional, z.ZodVoid>>; onCopyToPersonal: z.ZodOptional, z.ZodUnion<[z.ZodVoid, z.ZodPromise]>>>; onCopyToTerreiro: z.ZodOptional, z.ZodUnion<[z.ZodVoid, z.ZodPromise]>>>; onSchedule: z.ZodOptional, z.ZodVoid>>; onRetry: z.ZodOptional, z.ZodVoid>>; }, "strip", z.ZodTypeAny, { onDelete?: ((args_0: string) => void) | undefined; error?: string | undefined; isAdmin?: boolean | undefined; onBack?: (() => void) | undefined; isPersonalProfile?: boolean | undefined; onRetry?: (() => void) | undefined; isLoading?: boolean | undefined; onSchedule?: ((args_0: string) => void) | undefined; onEdit?: ((args_0: string) => void) | undefined; isTerreiro?: boolean | undefined; canDelete?: boolean | undefined; isDeleting?: boolean | undefined; hasTerreiroAccess?: boolean | undefined; ritualBath?: { title: string; id: string; status: "ACTIVE" | "INACTIVE" | "DRAFT"; origin: "SYSTEM" | "TERREIRO" | "MEDIUM"; steps: { order: number; text: string; type: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | "INSTRUCTION"; id?: string | undefined; icon?: string | undefined; }[]; ingredients: { name: string; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; isOptional?: boolean | undefined; }[]; source?: string | undefined; description?: string | undefined; updatedAt?: string | undefined; category?: { id: string | number; name: string; icon?: string | undefined; description?: string | undefined; colorClass?: string | undefined; textColorClass?: string | undefined; } | undefined; imageUrl?: string | null | undefined; mediumId?: string | number | null | undefined; terreiroId?: string | number | null | undefined; createdAt?: string | undefined; scheduledCount?: number | undefined; occurrences?: { id: string; date: string; startTime?: string | null | undefined; endTime?: string | null | undefined; notes?: string | null | undefined; }[] | undefined; createdBy?: { id: string; firstName: string; lastName: string; } | null | undefined; categoryId?: string | number | null | undefined; introduction?: string | undefined; isPublic?: boolean | undefined; copiedFromId?: string | number | null | undefined; } | undefined; currentMediumId?: number | undefined; currentTerreiroId?: number | undefined; canEdit?: boolean | undefined; canCopy?: boolean | undefined; canSchedule?: boolean | undefined; isScheduling?: boolean | undefined; isCopying?: boolean | undefined; onCopyToPersonal?: ((args_0: string) => void | Promise) | undefined; onCopyToTerreiro?: ((args_0: string) => void | Promise) | undefined; }, { onDelete?: ((args_0: string) => void) | undefined; error?: string | undefined; isAdmin?: boolean | undefined; onBack?: (() => void) | undefined; isPersonalProfile?: boolean | undefined; onRetry?: (() => void) | undefined; isLoading?: boolean | undefined; onSchedule?: ((args_0: string) => void) | undefined; onEdit?: ((args_0: string) => void) | undefined; isTerreiro?: boolean | undefined; canDelete?: boolean | undefined; isDeleting?: boolean | undefined; hasTerreiroAccess?: boolean | undefined; ritualBath?: { title: string; id: string; status: "ACTIVE" | "INACTIVE" | "DRAFT"; origin: "SYSTEM" | "TERREIRO" | "MEDIUM"; source?: string | undefined; description?: string | undefined; updatedAt?: string | undefined; category?: { id: string | number; name: string; icon?: string | undefined; description?: string | undefined; colorClass?: string | undefined; textColorClass?: string | undefined; } | null | undefined; imageUrl?: string | null | undefined; mediumId?: string | number | null | undefined; terreiroId?: string | number | null | undefined; createdAt?: string | undefined; steps?: { order: number; text: string; type: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | "INSTRUCTION"; id?: string | undefined; icon?: string | undefined; }[] | { list: { order: number; text: string; type: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | "INSTRUCTION"; id?: string | undefined; icon?: string | undefined; }[]; count: number; } | null | undefined; scheduledCount?: number | undefined; ingredients?: { name: string; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; isOptional?: boolean | undefined; }[] | { list: { name: string; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; isOptional?: boolean | undefined; }[]; count: number; } | null | undefined; occurrences?: { id: string; date: string; startTime?: string | null | undefined; endTime?: string | null | undefined; notes?: string | null | undefined; }[] | undefined; createdBy?: { id: string; firstName: string; lastName: string; } | null | undefined; categoryId?: string | number | null | undefined; introduction?: string | undefined; isPublic?: boolean | undefined; copiedFromId?: string | number | null | undefined; } | undefined; currentMediumId?: number | undefined; currentTerreiroId?: number | undefined; canEdit?: boolean | undefined; canCopy?: boolean | undefined; canSchedule?: boolean | undefined; isScheduling?: boolean | undefined; isCopying?: boolean | undefined; onCopyToPersonal?: ((args_0: string) => void | Promise) | undefined; onCopyToTerreiro?: ((args_0: string) => void | Promise) | undefined; }>; type RitualBathDetailPageProps = z.infer; declare const ORIGIN_LABELS: Record; declare const STATUS_LABELS: Record; declare const STEP_TYPE_LABELS: Record; declare const STEP_TYPE_ICONS: Record; declare const useRitualBathDetailPage: (props: RitualBathDetailPageProps) => { data: { ritualBath: { title: string; id: string; status: "ACTIVE" | "INACTIVE" | "DRAFT"; origin: "SYSTEM" | "TERREIRO" | "MEDIUM"; steps: { order: number; text: string; type: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | "INSTRUCTION"; id?: string | undefined; icon?: string | undefined; }[]; ingredients: { name: string; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; isOptional?: boolean | undefined; }[]; source?: string | undefined; description?: string | undefined; updatedAt?: string | undefined; category?: { id: string | number; name: string; icon?: string | undefined; description?: string | undefined; colorClass?: string | undefined; textColorClass?: string | undefined; } | undefined; imageUrl?: string | null | undefined; mediumId?: string | number | null | undefined; terreiroId?: string | number | null | undefined; createdAt?: string | undefined; scheduledCount?: number | undefined; occurrences?: { id: string; date: string; startTime?: string | null | undefined; endTime?: string | null | undefined; notes?: string | null | undefined; }[] | undefined; createdBy?: { id: string; firstName: string; lastName: string; } | null | undefined; categoryId?: string | number | null | undefined; introduction?: string | undefined; isPublic?: boolean | undefined; copiedFromId?: string | number | null | undefined; } | undefined; isLoading: boolean; error: string | undefined; canEdit: boolean; canDelete: boolean; canCopy: boolean; canSchedule: boolean; isTerreiro: boolean; hasTerreiroAccess: boolean; isCopying: boolean; isDeleting: boolean; isScheduling: boolean; sortedSteps: any[]; occurrences: { id: string; date: string; startTime?: string | null | undefined; endTime?: string | null | undefined; notes?: string | null | undefined; }[]; ingredientsCount: number; stepsCount: number; }; fns: { handleBack: () => void; handleEdit: () => void; handleDelete: () => void; handleCopyToPersonal: () => void; handleCopyToTerreiro: () => void; handleSchedule: () => void; handleRetry: () => void; getOriginLabel: (origin: RitualBathOrigin) => string; getStatusLabel: (status: RitualBathStatus) => string; getStepTypeLabel: (type: RitualBathStepType) => string; getStepTypeIcon: (type: RitualBathStepType) => string; }; }; declare const RitualBathScheduleFormSchema: z.ZodObject<{ date: z.ZodString; startTime: z.ZodOptional; endTime: z.ZodOptional; notes: z.ZodOptional; }, "strip", z.ZodTypeAny, { date: string; startTime?: string | undefined; endTime?: string | undefined; notes?: string | undefined; }, { date: string; startTime?: string | undefined; endTime?: string | undefined; notes?: string | undefined; }>; type RitualBathScheduleFormValues = z.infer; declare const RitualBathScheduleSummarySchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; description: z.ZodNullable>; origin: z.ZodEnum<["SYSTEM", "TERREIRO", "MEDIUM"]>; category: z.ZodOptional; colorClass: z.ZodString; textColorClass: z.ZodString; icon: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; icon: string; colorClass: string; textColorClass: string; description?: string | undefined; }, { id: string; name: string; icon: string; colorClass: string; textColorClass: string; description?: string | undefined; }>>; imageUrl: z.ZodNullable>; }, "strip", z.ZodTypeAny, { title: string; id: string; origin: "SYSTEM" | "TERREIRO" | "MEDIUM"; description?: string | null | undefined; category?: { id: string; name: string; icon: string; colorClass: string; textColorClass: string; description?: string | undefined; } | undefined; imageUrl?: string | null | undefined; }, { title: string; id: string; origin: "SYSTEM" | "TERREIRO" | "MEDIUM"; description?: string | null | undefined; category?: { id: string; name: string; icon: string; colorClass: string; textColorClass: string; description?: string | undefined; } | undefined; imageUrl?: string | null | undefined; }>; type RitualBathScheduleSummary = z.infer; declare const RitualBathSchedulePagePropsSchema: z.ZodObject<{ ritualBath: z.ZodOptional>; origin: z.ZodEnum<["SYSTEM", "TERREIRO", "MEDIUM"]>; category: z.ZodOptional; colorClass: z.ZodString; textColorClass: z.ZodString; icon: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; icon: string; colorClass: string; textColorClass: string; description?: string | undefined; }, { id: string; name: string; icon: string; colorClass: string; textColorClass: string; description?: string | undefined; }>>; imageUrl: z.ZodNullable>; }, "strip", z.ZodTypeAny, { title: string; id: string; origin: "SYSTEM" | "TERREIRO" | "MEDIUM"; description?: string | null | undefined; category?: { id: string; name: string; icon: string; colorClass: string; textColorClass: string; description?: string | undefined; } | undefined; imageUrl?: string | null | undefined; }, { title: string; id: string; origin: "SYSTEM" | "TERREIRO" | "MEDIUM"; description?: string | null | undefined; category?: { id: string; name: string; icon: string; colorClass: string; textColorClass: string; description?: string | undefined; } | undefined; imageUrl?: string | null | undefined; }>>; isLoading: z.ZodOptional; isSubmitting: z.ZodOptional; error: z.ZodOptional; defaultDate: z.ZodOptional; onSubmit: z.ZodOptional; endTime: z.ZodOptional; notes: z.ZodOptional; }, "strip", z.ZodTypeAny, { date: string; startTime?: string | undefined; endTime?: string | undefined; notes?: string | undefined; }, { date: string; startTime?: string | undefined; endTime?: string | undefined; notes?: string | undefined; }>], null>, z.ZodUnion<[z.ZodVoid, z.ZodPromise]>>>; onCancel: z.ZodOptional, z.ZodVoid>>; }, "strip", z.ZodTypeAny, { onSubmit?: ((args_0: { date: string; startTime?: string | undefined; endTime?: string | undefined; notes?: string | undefined; }) => void | Promise) | undefined; error?: string | undefined; isSubmitting?: boolean | undefined; isLoading?: boolean | undefined; onCancel?: (() => void) | undefined; ritualBath?: { title: string; id: string; origin: "SYSTEM" | "TERREIRO" | "MEDIUM"; description?: string | null | undefined; category?: { id: string; name: string; icon: string; colorClass: string; textColorClass: string; description?: string | undefined; } | undefined; imageUrl?: string | null | undefined; } | undefined; defaultDate?: string | undefined; }, { onSubmit?: ((args_0: { date: string; startTime?: string | undefined; endTime?: string | undefined; notes?: string | undefined; }) => void | Promise) | undefined; error?: string | undefined; isSubmitting?: boolean | undefined; isLoading?: boolean | undefined; onCancel?: (() => void) | undefined; ritualBath?: { title: string; id: string; origin: "SYSTEM" | "TERREIRO" | "MEDIUM"; description?: string | null | undefined; category?: { id: string; name: string; icon: string; colorClass: string; textColorClass: string; description?: string | undefined; } | undefined; imageUrl?: string | null | undefined; } | undefined; defaultDate?: string | undefined; }>; type RitualBathSchedulePageProps = z.infer; declare const RitualBathSchedulePage: React__default.FC; declare const PaymentRecordSchema: z.ZodObject<{ id: z.ZodString; amount: z.ZodNumber; date: z.ZodString; description: z.ZodNullable; formattedAmount: z.ZodString; settlementStatus: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }, { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }>; type PaymentRecord = z.infer; declare const PaymentStatusSchema: z.ZodObject<{ hasPaidMonthlyFee: z.ZodBoolean; monthlyFeeAmount: z.ZodNumber; totalPaidThisMonth: z.ZodNumber; projectedPaidThisMonth: z.ZodOptional; totalPlannedThisMonth: z.ZodOptional; consolidatedPaymentsCount: z.ZodOptional; projectedPaymentsCount: z.ZodOptional; payments: z.ZodArray; formattedAmount: z.ZodString; settlementStatus: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }, { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }>, "many">; projectedPayments: z.ZodOptional; formattedAmount: z.ZodString; settlementStatus: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }, { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { hasPaidMonthlyFee: boolean; monthlyFeeAmount: number; totalPaidThisMonth: number; payments: { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; projectedPaidThisMonth?: number | undefined; totalPlannedThisMonth?: number | undefined; consolidatedPaymentsCount?: number | undefined; projectedPaymentsCount?: number | undefined; projectedPayments?: { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }, { hasPaidMonthlyFee: boolean; monthlyFeeAmount: number; totalPaidThisMonth: number; payments: { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; projectedPaidThisMonth?: number | undefined; totalPlannedThisMonth?: number | undefined; consolidatedPaymentsCount?: number | undefined; projectedPaymentsCount?: number | undefined; projectedPayments?: { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }>; type PaymentStatus = z.infer; declare const SharedExpenseItemSchema: z.ZodObject<{ id: z.ZodString; amount: z.ZodNumber; description: z.ZodNullable; shareReason: z.ZodNullable; category: z.ZodString; date: z.ZodString; settlementStatus: z.ZodOptional>; formattedAmount: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }, { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }>; type SharedExpenseItem = z.infer; declare const CategoryExpenseSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; amount: z.ZodNumber; count: z.ZodNumber; formattedAmount: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; amount: number; count: number; formattedAmount: string; }, { id: string; name: string; amount: number; count: number; formattedAmount: string; }>; type CategoryExpense = z.infer; declare const SharedExpensesSchema: z.ZodObject<{ totalAmount: z.ZodNumber; projectedAmount: z.ZodOptional; totalAmountWithProjected: z.ZodOptional; expenseCount: z.ZodNumber; projectedExpenseCount: z.ZodOptional; totalExpenseCount: z.ZodOptional; byCategory: z.ZodArray, "many">; projectedByCategory: z.ZodOptional, "many">>; items: z.ZodArray; shareReason: z.ZodNullable; category: z.ZodString; date: z.ZodString; settlementStatus: z.ZodOptional>; formattedAmount: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }, { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }>, "many">; projectedItems: z.ZodOptional; shareReason: z.ZodNullable; category: z.ZodString; date: z.ZodString; settlementStatus: z.ZodOptional>; formattedAmount: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }, { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { items: { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; totalAmount: number; expenseCount: number; byCategory: { id: string; name: string; amount: number; count: number; formattedAmount: string; }[]; projectedAmount?: number | undefined; totalAmountWithProjected?: number | undefined; projectedExpenseCount?: number | undefined; totalExpenseCount?: number | undefined; projectedByCategory?: { id: string; name: string; amount: number; count: number; formattedAmount: string; }[] | undefined; projectedItems?: { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }, { items: { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; totalAmount: number; expenseCount: number; byCategory: { id: string; name: string; amount: number; count: number; formattedAmount: string; }[]; projectedAmount?: number | undefined; totalAmountWithProjected?: number | undefined; projectedExpenseCount?: number | undefined; totalExpenseCount?: number | undefined; projectedByCategory?: { id: string; name: string; amount: number; count: number; formattedAmount: string; }[] | undefined; projectedItems?: { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }>; type SharedExpenses = z.infer; declare const ContributionImpactSchema: z.ZodObject<{ totalMembers: z.ZodNumber; amountPerMember: z.ZodNumber; monthlyFeeCovers: z.ZodNumber; monthlyFeeCoversTotal: z.ZodNumber; }, "strip", z.ZodTypeAny, { totalMembers: number; amountPerMember: number; monthlyFeeCovers: number; monthlyFeeCoversTotal: number; }, { totalMembers: number; amountPerMember: number; monthlyFeeCovers: number; monthlyFeeCoversTotal: number; }>; type ContributionImpact = z.infer; declare const FormattedValuesSchema: z.ZodObject<{ monthlyFee: z.ZodString; totalSharedExpenses: z.ZodString; projectedSharedExpenses: z.ZodOptional; totalSharedExpensesWithProjected: z.ZodOptional; totalPaidThisMonth: z.ZodString; projectedPaidThisMonth: z.ZodOptional; totalPlannedThisMonth: z.ZodOptional; contributionPerMember: z.ZodString; }, "strip", z.ZodTypeAny, { monthlyFee: string; totalPaidThisMonth: string; totalSharedExpenses: string; contributionPerMember: string; projectedPaidThisMonth?: string | undefined; totalPlannedThisMonth?: string | undefined; projectedSharedExpenses?: string | undefined; totalSharedExpensesWithProjected?: string | undefined; }, { monthlyFee: string; totalPaidThisMonth: string; totalSharedExpenses: string; contributionPerMember: string; projectedPaidThisMonth?: string | undefined; totalPlannedThisMonth?: string | undefined; projectedSharedExpenses?: string | undefined; totalSharedExpensesWithProjected?: string | undefined; }>; type FormattedValues = z.infer; declare const PeriodSchema: z.ZodObject<{ start: z.ZodString; end: z.ZodString; month: z.ZodString; year: z.ZodNumber; }, "strip", z.ZodTypeAny, { end: string; month: string; start: string; year: number; }, { end: string; month: string; start: string; year: number; }>; type Period = z.infer; declare const MediumFinancialTransparencyDataSchema: z.ZodObject<{ medium: z.ZodObject<{ id: z.ZodString; name: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; }, { id: string; name: string; }>; terreiro: z.ZodObject<{ id: z.ZodString; name: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; }, { id: string; name: string; }>; period: z.ZodObject<{ start: z.ZodString; end: z.ZodString; month: z.ZodString; year: z.ZodNumber; }, "strip", z.ZodTypeAny, { end: string; month: string; start: string; year: number; }, { end: string; month: string; start: string; year: number; }>; paymentStatus: z.ZodObject<{ hasPaidMonthlyFee: z.ZodBoolean; monthlyFeeAmount: z.ZodNumber; totalPaidThisMonth: z.ZodNumber; projectedPaidThisMonth: z.ZodOptional; totalPlannedThisMonth: z.ZodOptional; consolidatedPaymentsCount: z.ZodOptional; projectedPaymentsCount: z.ZodOptional; payments: z.ZodArray; formattedAmount: z.ZodString; settlementStatus: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }, { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }>, "many">; projectedPayments: z.ZodOptional; formattedAmount: z.ZodString; settlementStatus: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }, { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { hasPaidMonthlyFee: boolean; monthlyFeeAmount: number; totalPaidThisMonth: number; payments: { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; projectedPaidThisMonth?: number | undefined; totalPlannedThisMonth?: number | undefined; consolidatedPaymentsCount?: number | undefined; projectedPaymentsCount?: number | undefined; projectedPayments?: { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }, { hasPaidMonthlyFee: boolean; monthlyFeeAmount: number; totalPaidThisMonth: number; payments: { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; projectedPaidThisMonth?: number | undefined; totalPlannedThisMonth?: number | undefined; consolidatedPaymentsCount?: number | undefined; projectedPaymentsCount?: number | undefined; projectedPayments?: { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }>; sharedExpenses: z.ZodObject<{ totalAmount: z.ZodNumber; projectedAmount: z.ZodOptional; totalAmountWithProjected: z.ZodOptional; expenseCount: z.ZodNumber; projectedExpenseCount: z.ZodOptional; totalExpenseCount: z.ZodOptional; byCategory: z.ZodArray, "many">; projectedByCategory: z.ZodOptional, "many">>; items: z.ZodArray; shareReason: z.ZodNullable; category: z.ZodString; date: z.ZodString; settlementStatus: z.ZodOptional>; formattedAmount: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }, { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }>, "many">; projectedItems: z.ZodOptional; shareReason: z.ZodNullable; category: z.ZodString; date: z.ZodString; settlementStatus: z.ZodOptional>; formattedAmount: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }, { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { items: { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; totalAmount: number; expenseCount: number; byCategory: { id: string; name: string; amount: number; count: number; formattedAmount: string; }[]; projectedAmount?: number | undefined; totalAmountWithProjected?: number | undefined; projectedExpenseCount?: number | undefined; totalExpenseCount?: number | undefined; projectedByCategory?: { id: string; name: string; amount: number; count: number; formattedAmount: string; }[] | undefined; projectedItems?: { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }, { items: { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; totalAmount: number; expenseCount: number; byCategory: { id: string; name: string; amount: number; count: number; formattedAmount: string; }[]; projectedAmount?: number | undefined; totalAmountWithProjected?: number | undefined; projectedExpenseCount?: number | undefined; totalExpenseCount?: number | undefined; projectedByCategory?: { id: string; name: string; amount: number; count: number; formattedAmount: string; }[] | undefined; projectedItems?: { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }>; contributionImpact: z.ZodObject<{ totalMembers: z.ZodNumber; amountPerMember: z.ZodNumber; monthlyFeeCovers: z.ZodNumber; monthlyFeeCoversTotal: z.ZodNumber; }, "strip", z.ZodTypeAny, { totalMembers: number; amountPerMember: number; monthlyFeeCovers: number; monthlyFeeCoversTotal: number; }, { totalMembers: number; amountPerMember: number; monthlyFeeCovers: number; monthlyFeeCoversTotal: number; }>; formatted: z.ZodObject<{ monthlyFee: z.ZodString; totalSharedExpenses: z.ZodString; projectedSharedExpenses: z.ZodOptional; totalSharedExpensesWithProjected: z.ZodOptional; totalPaidThisMonth: z.ZodString; projectedPaidThisMonth: z.ZodOptional; totalPlannedThisMonth: z.ZodOptional; contributionPerMember: z.ZodString; }, "strip", z.ZodTypeAny, { monthlyFee: string; totalPaidThisMonth: string; totalSharedExpenses: string; contributionPerMember: string; projectedPaidThisMonth?: string | undefined; totalPlannedThisMonth?: string | undefined; projectedSharedExpenses?: string | undefined; totalSharedExpensesWithProjected?: string | undefined; }, { monthlyFee: string; totalPaidThisMonth: string; totalSharedExpenses: string; contributionPerMember: string; projectedPaidThisMonth?: string | undefined; totalPlannedThisMonth?: string | undefined; projectedSharedExpenses?: string | undefined; totalSharedExpensesWithProjected?: string | undefined; }>; }, "strip", z.ZodTypeAny, { medium: { id: string; name: string; }; terreiro: { id: string; name: string; }; formatted: { monthlyFee: string; totalPaidThisMonth: string; totalSharedExpenses: string; contributionPerMember: string; projectedPaidThisMonth?: string | undefined; totalPlannedThisMonth?: string | undefined; projectedSharedExpenses?: string | undefined; totalSharedExpensesWithProjected?: string | undefined; }; period: { end: string; month: string; start: string; year: number; }; contributionImpact: { totalMembers: number; amountPerMember: number; monthlyFeeCovers: number; monthlyFeeCoversTotal: number; }; sharedExpenses: { items: { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; totalAmount: number; expenseCount: number; byCategory: { id: string; name: string; amount: number; count: number; formattedAmount: string; }[]; projectedAmount?: number | undefined; totalAmountWithProjected?: number | undefined; projectedExpenseCount?: number | undefined; totalExpenseCount?: number | undefined; projectedByCategory?: { id: string; name: string; amount: number; count: number; formattedAmount: string; }[] | undefined; projectedItems?: { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }; paymentStatus: { hasPaidMonthlyFee: boolean; monthlyFeeAmount: number; totalPaidThisMonth: number; payments: { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; projectedPaidThisMonth?: number | undefined; totalPlannedThisMonth?: number | undefined; consolidatedPaymentsCount?: number | undefined; projectedPaymentsCount?: number | undefined; projectedPayments?: { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }; }, { medium: { id: string; name: string; }; terreiro: { id: string; name: string; }; formatted: { monthlyFee: string; totalPaidThisMonth: string; totalSharedExpenses: string; contributionPerMember: string; projectedPaidThisMonth?: string | undefined; totalPlannedThisMonth?: string | undefined; projectedSharedExpenses?: string | undefined; totalSharedExpensesWithProjected?: string | undefined; }; period: { end: string; month: string; start: string; year: number; }; contributionImpact: { totalMembers: number; amountPerMember: number; monthlyFeeCovers: number; monthlyFeeCoversTotal: number; }; sharedExpenses: { items: { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; totalAmount: number; expenseCount: number; byCategory: { id: string; name: string; amount: number; count: number; formattedAmount: string; }[]; projectedAmount?: number | undefined; totalAmountWithProjected?: number | undefined; projectedExpenseCount?: number | undefined; totalExpenseCount?: number | undefined; projectedByCategory?: { id: string; name: string; amount: number; count: number; formattedAmount: string; }[] | undefined; projectedItems?: { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }; paymentStatus: { hasPaidMonthlyFee: boolean; monthlyFeeAmount: number; totalPaidThisMonth: number; payments: { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; projectedPaidThisMonth?: number | undefined; totalPlannedThisMonth?: number | undefined; consolidatedPaymentsCount?: number | undefined; projectedPaymentsCount?: number | undefined; projectedPayments?: { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }; }>; type MediumFinancialTransparencyData = z.infer; declare const MediumFinancialTransparencyPagePropsSchema: z.ZodObject<{ /** Financial transparency data from API */ data: z.ZodNullable; terreiro: z.ZodObject<{ id: z.ZodString; name: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; }, { id: string; name: string; }>; period: z.ZodObject<{ start: z.ZodString; end: z.ZodString; month: z.ZodString; year: z.ZodNumber; }, "strip", z.ZodTypeAny, { end: string; month: string; start: string; year: number; }, { end: string; month: string; start: string; year: number; }>; paymentStatus: z.ZodObject<{ hasPaidMonthlyFee: z.ZodBoolean; monthlyFeeAmount: z.ZodNumber; totalPaidThisMonth: z.ZodNumber; projectedPaidThisMonth: z.ZodOptional; totalPlannedThisMonth: z.ZodOptional; consolidatedPaymentsCount: z.ZodOptional; projectedPaymentsCount: z.ZodOptional; payments: z.ZodArray; formattedAmount: z.ZodString; settlementStatus: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }, { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }>, "many">; projectedPayments: z.ZodOptional; formattedAmount: z.ZodString; settlementStatus: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }, { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { hasPaidMonthlyFee: boolean; monthlyFeeAmount: number; totalPaidThisMonth: number; payments: { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; projectedPaidThisMonth?: number | undefined; totalPlannedThisMonth?: number | undefined; consolidatedPaymentsCount?: number | undefined; projectedPaymentsCount?: number | undefined; projectedPayments?: { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }, { hasPaidMonthlyFee: boolean; monthlyFeeAmount: number; totalPaidThisMonth: number; payments: { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; projectedPaidThisMonth?: number | undefined; totalPlannedThisMonth?: number | undefined; consolidatedPaymentsCount?: number | undefined; projectedPaymentsCount?: number | undefined; projectedPayments?: { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }>; sharedExpenses: z.ZodObject<{ totalAmount: z.ZodNumber; projectedAmount: z.ZodOptional; totalAmountWithProjected: z.ZodOptional; expenseCount: z.ZodNumber; projectedExpenseCount: z.ZodOptional; totalExpenseCount: z.ZodOptional; byCategory: z.ZodArray, "many">; projectedByCategory: z.ZodOptional, "many">>; items: z.ZodArray; shareReason: z.ZodNullable; category: z.ZodString; date: z.ZodString; settlementStatus: z.ZodOptional>; formattedAmount: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }, { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }>, "many">; projectedItems: z.ZodOptional; shareReason: z.ZodNullable; category: z.ZodString; date: z.ZodString; settlementStatus: z.ZodOptional>; formattedAmount: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }, { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { items: { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; totalAmount: number; expenseCount: number; byCategory: { id: string; name: string; amount: number; count: number; formattedAmount: string; }[]; projectedAmount?: number | undefined; totalAmountWithProjected?: number | undefined; projectedExpenseCount?: number | undefined; totalExpenseCount?: number | undefined; projectedByCategory?: { id: string; name: string; amount: number; count: number; formattedAmount: string; }[] | undefined; projectedItems?: { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }, { items: { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; totalAmount: number; expenseCount: number; byCategory: { id: string; name: string; amount: number; count: number; formattedAmount: string; }[]; projectedAmount?: number | undefined; totalAmountWithProjected?: number | undefined; projectedExpenseCount?: number | undefined; totalExpenseCount?: number | undefined; projectedByCategory?: { id: string; name: string; amount: number; count: number; formattedAmount: string; }[] | undefined; projectedItems?: { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }>; contributionImpact: z.ZodObject<{ totalMembers: z.ZodNumber; amountPerMember: z.ZodNumber; monthlyFeeCovers: z.ZodNumber; monthlyFeeCoversTotal: z.ZodNumber; }, "strip", z.ZodTypeAny, { totalMembers: number; amountPerMember: number; monthlyFeeCovers: number; monthlyFeeCoversTotal: number; }, { totalMembers: number; amountPerMember: number; monthlyFeeCovers: number; monthlyFeeCoversTotal: number; }>; formatted: z.ZodObject<{ monthlyFee: z.ZodString; totalSharedExpenses: z.ZodString; projectedSharedExpenses: z.ZodOptional; totalSharedExpensesWithProjected: z.ZodOptional; totalPaidThisMonth: z.ZodString; projectedPaidThisMonth: z.ZodOptional; totalPlannedThisMonth: z.ZodOptional; contributionPerMember: z.ZodString; }, "strip", z.ZodTypeAny, { monthlyFee: string; totalPaidThisMonth: string; totalSharedExpenses: string; contributionPerMember: string; projectedPaidThisMonth?: string | undefined; totalPlannedThisMonth?: string | undefined; projectedSharedExpenses?: string | undefined; totalSharedExpensesWithProjected?: string | undefined; }, { monthlyFee: string; totalPaidThisMonth: string; totalSharedExpenses: string; contributionPerMember: string; projectedPaidThisMonth?: string | undefined; totalPlannedThisMonth?: string | undefined; projectedSharedExpenses?: string | undefined; totalSharedExpensesWithProjected?: string | undefined; }>; }, "strip", z.ZodTypeAny, { medium: { id: string; name: string; }; terreiro: { id: string; name: string; }; formatted: { monthlyFee: string; totalPaidThisMonth: string; totalSharedExpenses: string; contributionPerMember: string; projectedPaidThisMonth?: string | undefined; totalPlannedThisMonth?: string | undefined; projectedSharedExpenses?: string | undefined; totalSharedExpensesWithProjected?: string | undefined; }; period: { end: string; month: string; start: string; year: number; }; contributionImpact: { totalMembers: number; amountPerMember: number; monthlyFeeCovers: number; monthlyFeeCoversTotal: number; }; sharedExpenses: { items: { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; totalAmount: number; expenseCount: number; byCategory: { id: string; name: string; amount: number; count: number; formattedAmount: string; }[]; projectedAmount?: number | undefined; totalAmountWithProjected?: number | undefined; projectedExpenseCount?: number | undefined; totalExpenseCount?: number | undefined; projectedByCategory?: { id: string; name: string; amount: number; count: number; formattedAmount: string; }[] | undefined; projectedItems?: { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }; paymentStatus: { hasPaidMonthlyFee: boolean; monthlyFeeAmount: number; totalPaidThisMonth: number; payments: { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; projectedPaidThisMonth?: number | undefined; totalPlannedThisMonth?: number | undefined; consolidatedPaymentsCount?: number | undefined; projectedPaymentsCount?: number | undefined; projectedPayments?: { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }; }, { medium: { id: string; name: string; }; terreiro: { id: string; name: string; }; formatted: { monthlyFee: string; totalPaidThisMonth: string; totalSharedExpenses: string; contributionPerMember: string; projectedPaidThisMonth?: string | undefined; totalPlannedThisMonth?: string | undefined; projectedSharedExpenses?: string | undefined; totalSharedExpensesWithProjected?: string | undefined; }; period: { end: string; month: string; start: string; year: number; }; contributionImpact: { totalMembers: number; amountPerMember: number; monthlyFeeCovers: number; monthlyFeeCoversTotal: number; }; sharedExpenses: { items: { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; totalAmount: number; expenseCount: number; byCategory: { id: string; name: string; amount: number; count: number; formattedAmount: string; }[]; projectedAmount?: number | undefined; totalAmountWithProjected?: number | undefined; projectedExpenseCount?: number | undefined; totalExpenseCount?: number | undefined; projectedByCategory?: { id: string; name: string; amount: number; count: number; formattedAmount: string; }[] | undefined; projectedItems?: { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }; paymentStatus: { hasPaidMonthlyFee: boolean; monthlyFeeAmount: number; totalPaidThisMonth: number; payments: { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; projectedPaidThisMonth?: number | undefined; totalPlannedThisMonth?: number | undefined; consolidatedPaymentsCount?: number | undefined; projectedPaymentsCount?: number | undefined; projectedPayments?: { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }; }>>>; /** Active terreiro scope (enables receipt submission section) */ terreiroId: z.ZodOptional>; /** Receipt form state */ competenceMonth: z.ZodOptional; paidAmount: z.ZodOptional; note: z.ZodOptional; receiptFileName: z.ZodOptional>; latestRequest: z.ZodOptional; rejectionReason: z.ZodNullable; requestedAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED"; competenceMonth: string; rejectionReason: string | null; requestedAt: string; }, { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED"; competenceMonth: string; rejectionReason: string | null; requestedAt: string; }>>>; requestHistory: z.ZodOptional; rejectionReason: z.ZodNullable; requestedAt: z.ZodString; reviewedAt: z.ZodOptional>; reviewedByName: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED"; competenceMonth: string; rejectionReason: string | null; requestedAt: string; reviewedAt?: string | null | undefined; reviewedByName?: string | null | undefined; }, { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED"; competenceMonth: string; rejectionReason: string | null; requestedAt: string; reviewedAt?: string | null | undefined; reviewedByName?: string | null | undefined; }>, "many">>; /** Loading state */ isLoading: z.ZodOptional; isSubmitting: z.ZodOptional; /** Error state */ error: z.ZodNullable>; /** Optional externally controlled inline feedback for receipt actions */ receiptInlineFeedback: z.ZodOptional; message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; severity: "warning" | "error" | "info" | "success"; }, { message: string; severity: "warning" | "error" | "info" | "success"; }>>>; /** Back navigation handler */ onBack: z.ZodOptional, z.ZodVoid>>; /** Refresh data handler */ onRefresh: z.ZodOptional, z.ZodVoid>>; /** Receipt section handlers */ onCompetenceMonthChange: z.ZodOptional, z.ZodVoid>>; onPaidAmountChange: z.ZodOptional, z.ZodVoid>>; onNoteChange: z.ZodOptional, z.ZodVoid>>; onSelectReceipt: z.ZodOptional], null>, z.ZodVoid>>; onSubmitReceipt: z.ZodOptional, z.ZodVoid>>; /** overview = impact and shared expenses; receipt = comprovante; all = both */ section: z.ZodOptional>; }, "strip", z.ZodTypeAny, { data?: { medium: { id: string; name: string; }; terreiro: { id: string; name: string; }; formatted: { monthlyFee: string; totalPaidThisMonth: string; totalSharedExpenses: string; contributionPerMember: string; projectedPaidThisMonth?: string | undefined; totalPlannedThisMonth?: string | undefined; projectedSharedExpenses?: string | undefined; totalSharedExpensesWithProjected?: string | undefined; }; period: { end: string; month: string; start: string; year: number; }; contributionImpact: { totalMembers: number; amountPerMember: number; monthlyFeeCovers: number; monthlyFeeCoversTotal: number; }; sharedExpenses: { items: { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; totalAmount: number; expenseCount: number; byCategory: { id: string; name: string; amount: number; count: number; formattedAmount: string; }[]; projectedAmount?: number | undefined; totalAmountWithProjected?: number | undefined; projectedExpenseCount?: number | undefined; totalExpenseCount?: number | undefined; projectedByCategory?: { id: string; name: string; amount: number; count: number; formattedAmount: string; }[] | undefined; projectedItems?: { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }; paymentStatus: { hasPaidMonthlyFee: boolean; monthlyFeeAmount: number; totalPaidThisMonth: number; payments: { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; projectedPaidThisMonth?: number | undefined; totalPlannedThisMonth?: number | undefined; consolidatedPaymentsCount?: number | undefined; projectedPaymentsCount?: number | undefined; projectedPayments?: { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }; } | null | undefined; section?: "all" | "overview" | "receipt" | undefined; error?: string | null | undefined; note?: string | undefined; onBack?: (() => void) | undefined; isSubmitting?: boolean | undefined; terreiroId?: string | null | undefined; isLoading?: boolean | undefined; onRefresh?: (() => void) | undefined; competenceMonth?: string | undefined; paidAmount?: string | undefined; receiptFileName?: string | null | undefined; latestRequest?: { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED"; competenceMonth: string; rejectionReason: string | null; requestedAt: string; } | null | undefined; requestHistory?: { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED"; competenceMonth: string; rejectionReason: string | null; requestedAt: string; reviewedAt?: string | null | undefined; reviewedByName?: string | null | undefined; }[] | undefined; receiptInlineFeedback?: { message: string; severity: "warning" | "error" | "info" | "success"; } | null | undefined; onCompetenceMonthChange?: ((args_0: string) => void) | undefined; onPaidAmountChange?: ((args_0: string) => void) | undefined; onNoteChange?: ((args_0: string) => void) | undefined; onSelectReceipt?: ((args_0: File | null) => void) | undefined; onSubmitReceipt?: (() => void) | undefined; }, { data?: { medium: { id: string; name: string; }; terreiro: { id: string; name: string; }; formatted: { monthlyFee: string; totalPaidThisMonth: string; totalSharedExpenses: string; contributionPerMember: string; projectedPaidThisMonth?: string | undefined; totalPlannedThisMonth?: string | undefined; projectedSharedExpenses?: string | undefined; totalSharedExpensesWithProjected?: string | undefined; }; period: { end: string; month: string; start: string; year: number; }; contributionImpact: { totalMembers: number; amountPerMember: number; monthlyFeeCovers: number; monthlyFeeCoversTotal: number; }; sharedExpenses: { items: { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; totalAmount: number; expenseCount: number; byCategory: { id: string; name: string; amount: number; count: number; formattedAmount: string; }[]; projectedAmount?: number | undefined; totalAmountWithProjected?: number | undefined; projectedExpenseCount?: number | undefined; totalExpenseCount?: number | undefined; projectedByCategory?: { id: string; name: string; amount: number; count: number; formattedAmount: string; }[] | undefined; projectedItems?: { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }; paymentStatus: { hasPaidMonthlyFee: boolean; monthlyFeeAmount: number; totalPaidThisMonth: number; payments: { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; projectedPaidThisMonth?: number | undefined; totalPlannedThisMonth?: number | undefined; consolidatedPaymentsCount?: number | undefined; projectedPaymentsCount?: number | undefined; projectedPayments?: { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }; } | null | undefined; section?: "all" | "overview" | "receipt" | undefined; error?: string | null | undefined; note?: string | undefined; onBack?: (() => void) | undefined; isSubmitting?: boolean | undefined; terreiroId?: string | null | undefined; isLoading?: boolean | undefined; onRefresh?: (() => void) | undefined; competenceMonth?: string | undefined; paidAmount?: string | undefined; receiptFileName?: string | null | undefined; latestRequest?: { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED"; competenceMonth: string; rejectionReason: string | null; requestedAt: string; } | null | undefined; requestHistory?: { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED"; competenceMonth: string; rejectionReason: string | null; requestedAt: string; reviewedAt?: string | null | undefined; reviewedByName?: string | null | undefined; }[] | undefined; receiptInlineFeedback?: { message: string; severity: "warning" | "error" | "info" | "success"; } | null | undefined; onCompetenceMonthChange?: ((args_0: string) => void) | undefined; onPaidAmountChange?: ((args_0: string) => void) | undefined; onNoteChange?: ((args_0: string) => void) | undefined; onSelectReceipt?: ((args_0: File | null) => void) | undefined; onSubmitReceipt?: (() => void) | undefined; }>; type MediumFinancialTransparencyPageProps = z.infer; declare const MediumFinancialTransparencyPage: React__default.FC; declare const useMediumFinancialTransparencyPage: (props: MediumFinancialTransparencyPageProps) => { data: { transparencyData: { medium: { id: string; name: string; }; terreiro: { id: string; name: string; }; formatted: { monthlyFee: string; totalPaidThisMonth: string; totalSharedExpenses: string; contributionPerMember: string; projectedPaidThisMonth?: string | undefined; totalPlannedThisMonth?: string | undefined; projectedSharedExpenses?: string | undefined; totalSharedExpensesWithProjected?: string | undefined; }; period: { end: string; month: string; start: string; year: number; }; contributionImpact: { totalMembers: number; amountPerMember: number; monthlyFeeCovers: number; monthlyFeeCoversTotal: number; }; sharedExpenses: { items: { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; totalAmount: number; expenseCount: number; byCategory: { id: string; name: string; amount: number; count: number; formattedAmount: string; }[]; projectedAmount?: number | undefined; totalAmountWithProjected?: number | undefined; projectedExpenseCount?: number | undefined; totalExpenseCount?: number | undefined; projectedByCategory?: { id: string; name: string; amount: number; count: number; formattedAmount: string; }[] | undefined; projectedItems?: { id: string; date: string; description: string | null; amount: number; category: string; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }; paymentStatus: { hasPaidMonthlyFee: boolean; monthlyFeeAmount: number; totalPaidThisMonth: number; payments: { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; projectedPaidThisMonth?: number | undefined; totalPlannedThisMonth?: number | undefined; consolidatedPaymentsCount?: number | undefined; projectedPaymentsCount?: number | undefined; projectedPayments?: { id: string; date: string; description: string | null; amount: number; formattedAmount: string; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }; } | null | undefined; terreiroId: string | null | undefined; competenceMonth: string; paidAmount: string; note: string; receiptFileName: string | null | undefined; latestRequest: { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED"; competenceMonth: string; rejectionReason: string | null; requestedAt: string; } | null | undefined; requestHistory: { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED"; competenceMonth: string; rejectionReason: string | null; requestedAt: string; reviewedAt?: string | null | undefined; reviewedByName?: string | null | undefined; }[]; periodMonth: string; periodYear: number; periodLabel: string; terreiroName: string; mediumName: string; hasPaid: boolean; hasSharedExpenses: boolean; isLoading: boolean; isSubmitting: boolean; error: string | null | undefined; hasData: boolean; localReceiptError: string | null; localReceiptFeedback: { severity: "success" | "error" | "info" | "warning"; message: string; } | null; paidAmountError: string | null; formattedTotalPaidThisMonth: string | undefined; canSubmitReceipt: boolean; receiptHint: string; }; fns: { handleBack: () => void; handleRefresh: () => void; handleCompetenceMonthChange: (value: string) => void; handlePaidAmountChange: (value: string) => void; handleNoteChange: (value: string) => void; handleSelectReceipt: (file: File | null) => void; handleSubmitReceipt: () => void; }; }; interface PaymentStatusBannerProps { /** Payment status data */ paymentStatus?: PaymentStatus; /** Formatted monthly fee string */ formattedMonthlyFee?: string; /** Current period month name */ periodMonth?: string; /** Loading state */ isLoading?: boolean; /** Handler to navigate to payment */ onPayNow?: () => void; } declare const PaymentStatusBanner: React__default.FC; interface ContributionImpactCardProps { /** Contribution impact data */ contributionImpact?: ContributionImpact; /** Formatted contribution per member */ formattedContributionPerMember?: string; /** Formatted monthly fee */ formattedMonthlyFee?: string; /** Formatted total shared expenses */ formattedTotalSharedExpenses?: string; /** Loading state */ isLoading?: boolean; } declare const ContributionImpactCard: React__default.FC; interface SharedExpensesCardProps { /** Shared expenses data */ sharedExpenses?: SharedExpenses; /** Formatted total shared expenses */ formattedTotalExpenses?: string; /** Formatted projected shared expenses */ formattedProjectedExpenses?: string; /** Loading state */ isLoading?: boolean; /** Default expanded state for category list */ defaultExpandedCategories?: boolean; /** Default expanded state for items list */ defaultExpandedItems?: boolean; } declare const SharedExpensesCard: React__default.FC; declare const RankingScopeEnum: z.ZodEnum<["TERREIRO", "CITY", "STATE", "COUNTRY"]>; type RankingScope = z.infer; declare const RANKING_SCOPE_LABELS: Record; declare const RankingPeriodEnum: z.ZodEnum<["WEEKLY", "MONTHLY", "YEARLY", "ALL_TIME"]>; type RankingPeriod = z.infer; declare const RANKING_PERIOD_LABELS: Record; declare const GamificationBadgeTypeEnum: z.ZodEnum<["PARTICIPATION", "STREAK", "FIRST_STEPS", "SPECIAL", "MILESTONE"]>; type GamificationBadgeType = z.infer; declare const BADGE_TYPE_LABELS: Record; declare const GamificationBadgeTierEnum: z.ZodEnum<["BRONZE", "SILVER", "GOLD", "PLATINUM", "DIAMOND"]>; type GamificationBadgeTier = z.infer; declare const BADGE_TIER_LABELS: Record; declare const BADGE_TIER_COLORS: Record; declare const RankingEntrySchema: z.ZodObject<{ position: z.ZodNumber; mediumId: z.ZodString; mediumName: z.ZodString; avatarUrl: z.ZodNullable; terreiroName: z.ZodOptional>; points: z.ZodNumber; participationCount: z.ZodNumber; previousPosition: z.ZodNullable; positionChange: z.ZodNumber; }, "strip", z.ZodTypeAny, { position: number; points: number; avatarUrl: string | null; mediumId: string; mediumName: string; positionChange: number; participationCount: number; previousPosition: number | null; terreiroName?: string | null | undefined; }, { position: number; points: number; avatarUrl: string | null; mediumId: string; mediumName: string; positionChange: number; participationCount: number; previousPosition: number | null; terreiroName?: string | null | undefined; }>; type RankingEntry = z.infer; declare const RankingResultSchema: z.ZodObject<{ scope: z.ZodEnum<["TERREIRO", "CITY", "STATE", "COUNTRY"]>; scopeId: z.ZodNullable; period: z.ZodEnum<["WEEKLY", "MONTHLY", "YEARLY", "ALL_TIME"]>; entries: z.ZodArray; terreiroName: z.ZodOptional>; points: z.ZodNumber; participationCount: z.ZodNumber; previousPosition: z.ZodNullable; positionChange: z.ZodNumber; }, "strip", z.ZodTypeAny, { position: number; points: number; avatarUrl: string | null; mediumId: string; mediumName: string; positionChange: number; participationCount: number; previousPosition: number | null; terreiroName?: string | null | undefined; }, { position: number; points: number; avatarUrl: string | null; mediumId: string; mediumName: string; positionChange: number; participationCount: number; previousPosition: number | null; terreiroName?: string | null | undefined; }>, "many">; totalEntries: z.ZodNumber; calculatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { entries: { position: number; points: number; avatarUrl: string | null; mediumId: string; mediumName: string; positionChange: number; participationCount: number; previousPosition: number | null; terreiroName?: string | null | undefined; }[]; scope: "TERREIRO" | "CITY" | "STATE" | "COUNTRY"; period: "WEEKLY" | "MONTHLY" | "YEARLY" | "ALL_TIME"; totalEntries: number; scopeId: string | null; calculatedAt: string; }, { entries: { position: number; points: number; avatarUrl: string | null; mediumId: string; mediumName: string; positionChange: number; participationCount: number; previousPosition: number | null; terreiroName?: string | null | undefined; }[]; scope: "TERREIRO" | "CITY" | "STATE" | "COUNTRY"; period: "WEEKLY" | "MONTHLY" | "YEARLY" | "ALL_TIME"; totalEntries: number; scopeId: string | null; calculatedAt: string; }>; type RankingResult = z.infer; declare const GamificationBadgeSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; iconUrl: z.ZodNullable; type: z.ZodEnum<["PARTICIPATION", "STREAK", "FIRST_STEPS", "SPECIAL", "MILESTONE"]>; tier: z.ZodEnum<["BRONZE", "SILVER", "GOLD", "PLATINUM", "DIAMOND"]>; requirement: z.ZodNumber; points: z.ZodNumber; }, "strip", z.ZodTypeAny, { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "FIRST_STEPS"; name: string; points: number; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; iconUrl: string | null; requirement: number; }, { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "FIRST_STEPS"; name: string; points: number; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; iconUrl: string | null; requirement: number; }>; type GamificationBadge = z.infer; declare const MediumBadgeSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; iconUrl: z.ZodNullable; type: z.ZodEnum<["PARTICIPATION", "STREAK", "FIRST_STEPS", "SPECIAL", "MILESTONE"]>; tier: z.ZodEnum<["BRONZE", "SILVER", "GOLD", "PLATINUM", "DIAMOND"]>; requirement: z.ZodNumber; points: z.ZodNumber; } & { earnedAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "FIRST_STEPS"; name: string; points: number; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; iconUrl: string | null; earnedAt: string; requirement: number; }, { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "FIRST_STEPS"; name: string; points: number; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; iconUrl: string | null; earnedAt: string; requirement: number; }>; type MediumBadge = z.infer; declare const MediumPointsSchema: z.ZodObject<{ id: z.ZodString; mediumId: z.ZodString; terreiroId: z.ZodString; totalPoints: z.ZodNumber; monthlyPoints: z.ZodNumber; weeklyPoints: z.ZodNumber; currentStreak: z.ZodNumber; longestStreak: z.ZodNumber; lastActivityDate: z.ZodNullable; }, "strip", z.ZodTypeAny, { id: string; mediumId: string; terreiroId: string; lastActivityDate: string | null; totalPoints: number; monthlyPoints: number; weeklyPoints: number; currentStreak: number; longestStreak: number; }, { id: string; mediumId: string; terreiroId: string; lastActivityDate: string | null; totalPoints: number; monthlyPoints: number; weeklyPoints: number; currentStreak: number; longestStreak: number; }>; type MediumPoints = z.infer; declare const LeaderboardPagePropsSchema: z.ZodObject<{ /** Page title */ title: z.ZodOptional; /** Callback when back button is clicked */ onBack: z.ZodOptional, z.ZodVoid>>; /** Empty state message */ emptyMessage: z.ZodOptional; /** Ranking data */ data: z.ZodOptional; scopeId: z.ZodNullable; period: z.ZodEnum<["WEEKLY", "MONTHLY", "YEARLY", "ALL_TIME"]>; entries: z.ZodArray; terreiroName: z.ZodOptional>; points: z.ZodNumber; participationCount: z.ZodNumber; previousPosition: z.ZodNullable; positionChange: z.ZodNumber; }, "strip", z.ZodTypeAny, { position: number; points: number; avatarUrl: string | null; mediumId: string; mediumName: string; positionChange: number; participationCount: number; previousPosition: number | null; terreiroName?: string | null | undefined; }, { position: number; points: number; avatarUrl: string | null; mediumId: string; mediumName: string; positionChange: number; participationCount: number; previousPosition: number | null; terreiroName?: string | null | undefined; }>, "many">; totalEntries: z.ZodNumber; calculatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { entries: { position: number; points: number; avatarUrl: string | null; mediumId: string; mediumName: string; positionChange: number; participationCount: number; previousPosition: number | null; terreiroName?: string | null | undefined; }[]; scope: "TERREIRO" | "CITY" | "STATE" | "COUNTRY"; period: "WEEKLY" | "MONTHLY" | "YEARLY" | "ALL_TIME"; totalEntries: number; scopeId: string | null; calculatedAt: string; }, { entries: { position: number; points: number; avatarUrl: string | null; mediumId: string; mediumName: string; positionChange: number; participationCount: number; previousPosition: number | null; terreiroName?: string | null | undefined; }[]; scope: "TERREIRO" | "CITY" | "STATE" | "COUNTRY"; period: "WEEKLY" | "MONTHLY" | "YEARLY" | "ALL_TIME"; totalEntries: number; scopeId: string | null; calculatedAt: string; }>>>; /** Current medium's position (for highlighting) */ currentMediumId: z.ZodOptional; /** Loading state */ isLoading: z.ZodOptional; /** Error message */ error: z.ZodOptional; /** Current scope */ currentScope: z.ZodOptional>; /** Current period */ currentPeriod: z.ZodOptional>; /** Callback when scope changes */ onScopeChange: z.ZodOptional], z.ZodUnknown>, z.ZodVoid>>; /** Callback when period changes */ onPeriodChange: z.ZodOptional], z.ZodUnknown>, z.ZodVoid>>; /** Callback when entry is clicked */ onEntryClick: z.ZodOptional, z.ZodVoid>>; /** Available scopes (based on user's location) */ availableScopes: z.ZodOptional, "many">>; /** Show scope selector */ showScopeSelector: z.ZodOptional; /** Show period selector */ showPeriodSelector: z.ZodOptional; /** Leaderboard display mode */ leaderboardViewMode: z.ZodOptional>; /** Show tie-break explanation block */ showTieBreakInfo: z.ZodOptional; /** Custom tie-break explanation message */ tieBreakMessage: z.ZodOptional; /** Optional callback for opening full gamification explanation */ onLearnGamification: z.ZodOptional, z.ZodVoid>>; /** CTA label for learn gamification action */ learnGamificationLabel: z.ZodOptional; }, "strip", z.ZodTypeAny, { title?: string | undefined; data?: { entries: { position: number; points: number; avatarUrl: string | null; mediumId: string; mediumName: string; positionChange: number; participationCount: number; previousPosition: number | null; terreiroName?: string | null | undefined; }[]; scope: "TERREIRO" | "CITY" | "STATE" | "COUNTRY"; period: "WEEKLY" | "MONTHLY" | "YEARLY" | "ALL_TIME"; totalEntries: number; scopeId: string | null; calculatedAt: string; } | null | undefined; error?: string | undefined; onBack?: ((...args: unknown[]) => void) | undefined; isLoading?: boolean | undefined; onLearnGamification?: ((...args: unknown[]) => void) | undefined; onPeriodChange?: ((args_0: "WEEKLY" | "MONTHLY" | "YEARLY" | "ALL_TIME", ...args: unknown[]) => void) | undefined; currentMediumId?: string | undefined; emptyMessage?: string | undefined; currentScope?: "TERREIRO" | "CITY" | "STATE" | "COUNTRY" | undefined; currentPeriod?: "WEEKLY" | "MONTHLY" | "YEARLY" | "ALL_TIME" | undefined; onScopeChange?: ((args_0: "TERREIRO" | "CITY" | "STATE" | "COUNTRY", ...args: unknown[]) => void) | undefined; onEntryClick?: ((args_0: string, ...args: unknown[]) => void) | undefined; availableScopes?: ("TERREIRO" | "CITY" | "STATE" | "COUNTRY")[] | undefined; showScopeSelector?: boolean | undefined; showPeriodSelector?: boolean | undefined; leaderboardViewMode?: "list" | "podium" | undefined; showTieBreakInfo?: boolean | undefined; tieBreakMessage?: string | undefined; learnGamificationLabel?: string | undefined; }, { title?: string | undefined; data?: { entries: { position: number; points: number; avatarUrl: string | null; mediumId: string; mediumName: string; positionChange: number; participationCount: number; previousPosition: number | null; terreiroName?: string | null | undefined; }[]; scope: "TERREIRO" | "CITY" | "STATE" | "COUNTRY"; period: "WEEKLY" | "MONTHLY" | "YEARLY" | "ALL_TIME"; totalEntries: number; scopeId: string | null; calculatedAt: string; } | null | undefined; error?: string | undefined; onBack?: ((...args: unknown[]) => void) | undefined; isLoading?: boolean | undefined; onLearnGamification?: ((...args: unknown[]) => void) | undefined; onPeriodChange?: ((args_0: "WEEKLY" | "MONTHLY" | "YEARLY" | "ALL_TIME", ...args: unknown[]) => void) | undefined; currentMediumId?: string | undefined; emptyMessage?: string | undefined; currentScope?: "TERREIRO" | "CITY" | "STATE" | "COUNTRY" | undefined; currentPeriod?: "WEEKLY" | "MONTHLY" | "YEARLY" | "ALL_TIME" | undefined; onScopeChange?: ((args_0: "TERREIRO" | "CITY" | "STATE" | "COUNTRY", ...args: unknown[]) => void) | undefined; onEntryClick?: ((args_0: string, ...args: unknown[]) => void) | undefined; availableScopes?: ("TERREIRO" | "CITY" | "STATE" | "COUNTRY")[] | undefined; showScopeSelector?: boolean | undefined; showPeriodSelector?: boolean | undefined; leaderboardViewMode?: "list" | "podium" | undefined; showTieBreakInfo?: boolean | undefined; tieBreakMessage?: string | undefined; learnGamificationLabel?: string | undefined; }>; type LeaderboardPageProps = z.infer; declare const LeaderboardPage: React__default.FC; declare const useLeaderboardPage: (props: LeaderboardPageProps) => { data: { title: string; emptyMessage: string; entries: { position: number; points: number; avatarUrl: string | null; mediumId: string; mediumName: string; positionChange: number; participationCount: number; previousPosition: number | null; terreiroName?: string | null | undefined; }[]; totalEntries: number; topThree: { position: number; points: number; avatarUrl: string | null; mediumId: string; mediumName: string; positionChange: number; participationCount: number; previousPosition: number | null; terreiroName?: string | null | undefined; }[]; restOfList: { position: number; points: number; avatarUrl: string | null; mediumId: string; mediumName: string; positionChange: number; participationCount: number; previousPosition: number | null; terreiroName?: string | null | undefined; }[]; currentMediumPosition: { position: number; points: number; avatarUrl: string | null; mediumId: string; mediumName: string; positionChange: number; participationCount: number; previousPosition: number | null; terreiroName?: string | null | undefined; } | null; currentScope: "TERREIRO" | "CITY" | "STATE" | "COUNTRY"; currentPeriod: "WEEKLY" | "MONTHLY" | "YEARLY" | "ALL_TIME"; leaderboardViewMode: "list" | "podium"; showTieBreakInfo: boolean; tieBreakMessage: string; learnGamificationLabel: string; availableScopes: ("TERREIRO" | "CITY" | "STATE" | "COUNTRY")[]; showScopeSelector: boolean; showPeriodSelector: boolean; isLoading: boolean; error: string | undefined; hasNoData: boolean; entriesForList: { position: number; points: number; avatarUrl: string | null; mediumId: string; mediumName: string; positionChange: number; participationCount: number; previousPosition: number | null; terreiroName?: string | null | undefined; }[]; }; fns: { handleBack: () => void; handleScopeChange: (scope: RankingScope) => void; handlePeriodChange: (period: RankingPeriod) => void; handleEntryClick: (entry: RankingEntry) => void; handleLearnGamification: () => void; getPositionChangeIndicator: (change: number) => { icon: string; color: string; label: string; }; isCurrentMedium: (mediumId: string) => boolean; }; }; declare const GamificationHelpTopicSchema: z.ZodObject<{ id: z.ZodString; chipLabel: z.ZodOptional; title: z.ZodString; description: z.ZodString; bullets: z.ZodOptional>; }, "strip", z.ZodTypeAny, { title: string; id: string; description: string; chipLabel?: string | undefined; bullets?: string[] | undefined; }, { title: string; id: string; description: string; chipLabel?: string | undefined; bullets?: string[] | undefined; }>; type GamificationHelpTopic = z.infer; declare const GamificationHelpPagePropsSchema: z.ZodObject<{ title: z.ZodOptional; subtitle: z.ZodOptional; supportingText: z.ZodOptional; backLabel: z.ZodOptional; closeLabel: z.ZodOptional; onBack: z.ZodOptional, z.ZodVoid>>; onClose: z.ZodOptional, z.ZodVoid>>; customTopics: z.ZodOptional; title: z.ZodString; description: z.ZodString; bullets: z.ZodOptional>; }, "strip", z.ZodTypeAny, { title: string; id: string; description: string; chipLabel?: string | undefined; bullets?: string[] | undefined; }, { title: string; id: string; description: string; chipLabel?: string | undefined; bullets?: string[] | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { title?: string | undefined; onClose?: ((...args: unknown[]) => void) | undefined; onBack?: ((...args: unknown[]) => void) | undefined; closeLabel?: string | undefined; subtitle?: string | undefined; supportingText?: string | undefined; backLabel?: string | undefined; customTopics?: { title: string; id: string; description: string; chipLabel?: string | undefined; bullets?: string[] | undefined; }[] | undefined; }, { title?: string | undefined; onClose?: ((...args: unknown[]) => void) | undefined; onBack?: ((...args: unknown[]) => void) | undefined; closeLabel?: string | undefined; subtitle?: string | undefined; supportingText?: string | undefined; backLabel?: string | undefined; customTopics?: { title: string; id: string; description: string; chipLabel?: string | undefined; bullets?: string[] | undefined; }[] | undefined; }>; type GamificationHelpPageProps = z.infer; declare const GamificationHelpPage: React__default.FC; declare const useGamificationHelpPage: (props: GamificationHelpPageProps) => { data: { title: string; subtitle: string; supportingText: string; backLabel: string; closeLabel: string; topics: { title: string; id: string; description: string; chipLabel?: string | undefined; bullets?: string[] | undefined; }[]; }; fns: { handleBack: () => void; handleClose: () => void; }; }; declare const BadgeTierSchema: z.ZodEnum<["BRONZE", "SILVER", "GOLD", "PLATINUM", "DIAMOND"]>; type BadgeTier = z.infer; declare const BadgeTypeSchema: z.ZodEnum<["FIRST_STEPS", "PARTICIPATION", "STREAK", "MILESTONE", "SPECIAL"]>; type BadgeType = z.infer; declare const BadgeInfoSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; icon: z.ZodString; type: z.ZodEnum<["FIRST_STEPS", "PARTICIPATION", "STREAK", "MILESTONE", "SPECIAL"]>; tier: z.ZodEnum<["BRONZE", "SILVER", "GOLD", "PLATINUM", "DIAMOND"]>; requirement: z.ZodOptional; pointsRequired: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "FIRST_STEPS"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; requirement?: string | undefined; pointsRequired?: number | null | undefined; }, { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "FIRST_STEPS"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; requirement?: string | undefined; pointsRequired?: number | null | undefined; }>; type BadgeInfo = z.infer; declare const BadgeProgressSchema: z.ZodObject<{ badge: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; icon: z.ZodString; type: z.ZodEnum<["FIRST_STEPS", "PARTICIPATION", "STREAK", "MILESTONE", "SPECIAL"]>; tier: z.ZodEnum<["BRONZE", "SILVER", "GOLD", "PLATINUM", "DIAMOND"]>; requirement: z.ZodOptional; pointsRequired: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "FIRST_STEPS"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; requirement?: string | undefined; pointsRequired?: number | null | undefined; }, { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "FIRST_STEPS"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; requirement?: string | undefined; pointsRequired?: number | null | undefined; }>; earned: z.ZodBoolean; progress: z.ZodNumber; earnedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { progress: number; badge: { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "FIRST_STEPS"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; requirement?: string | undefined; pointsRequired?: number | null | undefined; }; earned: boolean; earnedAt?: string | undefined; }, { progress: number; badge: { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "FIRST_STEPS"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; requirement?: string | undefined; pointsRequired?: number | null | undefined; }; earned: boolean; earnedAt?: string | undefined; }>; type BadgeProgress = z.infer; declare const BadgesPagePropsSchema: z.ZodObject<{ badges: z.ZodNullable; tier: z.ZodEnum<["BRONZE", "SILVER", "GOLD", "PLATINUM", "DIAMOND"]>; requirement: z.ZodOptional; pointsRequired: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "FIRST_STEPS"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; requirement?: string | undefined; pointsRequired?: number | null | undefined; }, { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "FIRST_STEPS"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; requirement?: string | undefined; pointsRequired?: number | null | undefined; }>; earned: z.ZodBoolean; progress: z.ZodNumber; earnedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { progress: number; badge: { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "FIRST_STEPS"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; requirement?: string | undefined; pointsRequired?: number | null | undefined; }; earned: boolean; earnedAt?: string | undefined; }, { progress: number; badge: { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "FIRST_STEPS"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; requirement?: string | undefined; pointsRequired?: number | null | undefined; }; earned: boolean; earnedAt?: string | undefined; }>, "many">>; earnedBadges: z.ZodOptional; tier: z.ZodEnum<["BRONZE", "SILVER", "GOLD", "PLATINUM", "DIAMOND"]>; requirement: z.ZodOptional; pointsRequired: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "FIRST_STEPS"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; requirement?: string | undefined; pointsRequired?: number | null | undefined; }, { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "FIRST_STEPS"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; requirement?: string | undefined; pointsRequired?: number | null | undefined; }>; earned: z.ZodBoolean; progress: z.ZodNumber; earnedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { progress: number; badge: { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "FIRST_STEPS"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; requirement?: string | undefined; pointsRequired?: number | null | undefined; }; earned: boolean; earnedAt?: string | undefined; }, { progress: number; badge: { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "FIRST_STEPS"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; requirement?: string | undefined; pointsRequired?: number | null | undefined; }; earned: boolean; earnedAt?: string | undefined; }>, "many">>; isLoading: z.ZodOptional; error: z.ZodOptional; mediumName: z.ZodOptional; totalPoints: z.ZodOptional; currentStreak: z.ZodOptional; onBack: z.ZodOptional, z.ZodUnknown>>; onBadgeClick: z.ZodOptional, z.ZodUnknown>>; title: z.ZodOptional; emptyMessage: z.ZodOptional; }, "strip", z.ZodTypeAny, { badges: { progress: number; badge: { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "FIRST_STEPS"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; requirement?: string | undefined; pointsRequired?: number | null | undefined; }; earned: boolean; earnedAt?: string | undefined; }[] | null; title?: string | undefined; error?: string | undefined; onBack?: ((...args: unknown[]) => unknown) | undefined; onBadgeClick?: ((...args: unknown[]) => unknown) | undefined; isLoading?: boolean | undefined; mediumName?: string | undefined; totalPoints?: number | undefined; currentStreak?: number | undefined; emptyMessage?: string | undefined; earnedBadges?: { progress: number; badge: { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "FIRST_STEPS"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; requirement?: string | undefined; pointsRequired?: number | null | undefined; }; earned: boolean; earnedAt?: string | undefined; }[] | undefined; }, { badges: { progress: number; badge: { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "FIRST_STEPS"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; requirement?: string | undefined; pointsRequired?: number | null | undefined; }; earned: boolean; earnedAt?: string | undefined; }[] | null; title?: string | undefined; error?: string | undefined; onBack?: ((...args: unknown[]) => unknown) | undefined; onBadgeClick?: ((...args: unknown[]) => unknown) | undefined; isLoading?: boolean | undefined; mediumName?: string | undefined; totalPoints?: number | undefined; currentStreak?: number | undefined; emptyMessage?: string | undefined; earnedBadges?: { progress: number; badge: { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "FIRST_STEPS"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; requirement?: string | undefined; pointsRequired?: number | null | undefined; }; earned: boolean; earnedAt?: string | undefined; }[] | undefined; }>; type BadgesPageProps = z.infer; declare const BadgesPage: React__default.FC; declare const useBadgesPage: (props: BadgesPageProps) => { data: { badges: { progress: number; badge: { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "FIRST_STEPS"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; requirement?: string | undefined; pointsRequired?: number | null | undefined; }; earned: boolean; earnedAt?: string | undefined; }[] | null; earned: { progress: number; badge: { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "FIRST_STEPS"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; requirement?: string | undefined; pointsRequired?: number | null | undefined; }; earned: boolean; earnedAt?: string | undefined; }[]; inProgress: { progress: number; badge: { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "FIRST_STEPS"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; requirement?: string | undefined; pointsRequired?: number | null | undefined; }; earned: boolean; earnedAt?: string | undefined; }[]; locked: { progress: number; badge: { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "FIRST_STEPS"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; requirement?: string | undefined; pointsRequired?: number | null | undefined; }; earned: boolean; earnedAt?: string | undefined; }[]; earnedBadges: { progress: number; badge: { id: string; type: "PARTICIPATION" | "STREAK" | "MILESTONE" | "SPECIAL" | "FIRST_STEPS"; name: string; icon: string; description: string; tier: "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "DIAMOND"; requirement?: string | undefined; pointsRequired?: number | null | undefined; }; earned: boolean; earnedAt?: string | undefined; }[]; isLoading: boolean; error: string | undefined; mediumName: string | undefined; totalPoints: number; currentStreak: number; title: string; emptyMessage: string; stats: { totalBadges: number; earnedCount: number; inProgressCount: number; lockedCount: number; completionRate: number; }; hasData: boolean; }; fns: { handleBack: () => void; handleBadgeClick: (badgeId: string) => void; getBadgeTierColor: (tier: BadgeTier) => string; getBadgeTierGradient: (tier: BadgeTier) => string; getBadgeTypeLabel: (type: string) => string; getBadgeTierLabel: (tier: BadgeTier) => string; }; }; declare const RoleSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodNullable>; terreiroId: z.ZodString; isDefault: z.ZodBoolean; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; permissions: z.ZodOptional; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; code: string; name: string; description: string; category: "ACTIVITIES" | "EVENTS" | "FINANCIAL" | "MONTHLY_FEES" | "MEMBERS" | "INVENTORY" | "RITUAL_BATHS" | "TERREIRO" | "SETTINGS" | "REPORTS" | "REQUESTS" | "ADMINISTRATION"; updatedAt?: string | undefined; createdAt?: string | undefined; }, { id: string; code: string; name: string; description: string; category: "ACTIVITIES" | "EVENTS" | "FINANCIAL" | "MONTHLY_FEES" | "MEMBERS" | "INVENTORY" | "RITUAL_BATHS" | "TERREIRO" | "SETTINGS" | "REPORTS" | "REQUESTS" | "ADMINISTRATION"; updatedAt?: string | undefined; createdAt?: string | undefined; }>, "many">>; permissionCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; name: string; terreiroId: string; isDefault: boolean; description?: string | null | undefined; updatedAt?: string | undefined; createdAt?: string | undefined; permissions?: { id: string; code: string; name: string; description: string; category: "ACTIVITIES" | "EVENTS" | "FINANCIAL" | "MONTHLY_FEES" | "MEMBERS" | "INVENTORY" | "RITUAL_BATHS" | "TERREIRO" | "SETTINGS" | "REPORTS" | "REQUESTS" | "ADMINISTRATION"; updatedAt?: string | undefined; createdAt?: string | undefined; }[] | undefined; permissionCount?: number | undefined; }, { id: string; name: string; terreiroId: string; isDefault: boolean; description?: string | null | undefined; updatedAt?: string | undefined; createdAt?: string | undefined; permissions?: { id: string; code: string; name: string; description: string; category: "ACTIVITIES" | "EVENTS" | "FINANCIAL" | "MONTHLY_FEES" | "MEMBERS" | "INVENTORY" | "RITUAL_BATHS" | "TERREIRO" | "SETTINGS" | "REPORTS" | "REQUESTS" | "ADMINISTRATION"; updatedAt?: string | undefined; createdAt?: string | undefined; }[] | undefined; permissionCount?: number | undefined; }>; type Role = z.infer; declare const RoleFormValuesSchema: z.ZodObject<{ name: z.ZodString; description: z.ZodOptional; permissionCodes: z.ZodArray; }, "strip", z.ZodTypeAny, { name: string; permissionCodes: string[]; description?: string | undefined; }, { name: string; permissionCodes: string[]; description?: string | undefined; }>; type RoleFormValues = z.infer; declare const FormModeSchema: z.ZodEnum<["create", "edit"]>; type FormMode = z.infer; interface ValidationErrors { name?: string; description?: string; permissionCodes?: string; } declare const RoleFormPagePropsSchema: z.ZodObject<{ /** Form mode: create new role or edit existing */ mode: z.ZodEnum<["create", "edit"]>; /** All available permissions */ permissions: z.ZodArray; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; code: string; name: string; description: string; category: "ACTIVITIES" | "EVENTS" | "FINANCIAL" | "MONTHLY_FEES" | "MEMBERS" | "INVENTORY" | "RITUAL_BATHS" | "TERREIRO" | "SETTINGS" | "REPORTS" | "REQUESTS" | "ADMINISTRATION"; updatedAt?: string | undefined; createdAt?: string | undefined; }, { id: string; code: string; name: string; description: string; category: "ACTIVITIES" | "EVENTS" | "FINANCIAL" | "MONTHLY_FEES" | "MEMBERS" | "INVENTORY" | "RITUAL_BATHS" | "TERREIRO" | "SETTINGS" | "REPORTS" | "REQUESTS" | "ADMINISTRATION"; updatedAt?: string | undefined; createdAt?: string | undefined; }>, "many">; /** Initial role data (required for edit mode) */ initialRole: z.ZodOptional>; terreiroId: z.ZodString; isDefault: z.ZodBoolean; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; permissions: z.ZodOptional; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; code: string; name: string; description: string; category: "ACTIVITIES" | "EVENTS" | "FINANCIAL" | "MONTHLY_FEES" | "MEMBERS" | "INVENTORY" | "RITUAL_BATHS" | "TERREIRO" | "SETTINGS" | "REPORTS" | "REQUESTS" | "ADMINISTRATION"; updatedAt?: string | undefined; createdAt?: string | undefined; }, { id: string; code: string; name: string; description: string; category: "ACTIVITIES" | "EVENTS" | "FINANCIAL" | "MONTHLY_FEES" | "MEMBERS" | "INVENTORY" | "RITUAL_BATHS" | "TERREIRO" | "SETTINGS" | "REPORTS" | "REQUESTS" | "ADMINISTRATION"; updatedAt?: string | undefined; createdAt?: string | undefined; }>, "many">>; permissionCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; name: string; terreiroId: string; isDefault: boolean; description?: string | null | undefined; updatedAt?: string | undefined; createdAt?: string | undefined; permissions?: { id: string; code: string; name: string; description: string; category: "ACTIVITIES" | "EVENTS" | "FINANCIAL" | "MONTHLY_FEES" | "MEMBERS" | "INVENTORY" | "RITUAL_BATHS" | "TERREIRO" | "SETTINGS" | "REPORTS" | "REQUESTS" | "ADMINISTRATION"; updatedAt?: string | undefined; createdAt?: string | undefined; }[] | undefined; permissionCount?: number | undefined; }, { id: string; name: string; terreiroId: string; isDefault: boolean; description?: string | null | undefined; updatedAt?: string | undefined; createdAt?: string | undefined; permissions?: { id: string; code: string; name: string; description: string; category: "ACTIVITIES" | "EVENTS" | "FINANCIAL" | "MONTHLY_FEES" | "MEMBERS" | "INVENTORY" | "RITUAL_BATHS" | "TERREIRO" | "SETTINGS" | "REPORTS" | "REQUESTS" | "ADMINISTRATION"; updatedAt?: string | undefined; createdAt?: string | undefined; }[] | undefined; permissionCount?: number | undefined; }>>; /** Callback on form submit */ onSubmit: z.ZodFunction; permissionCodes: z.ZodArray; }, "strip", z.ZodTypeAny, { name: string; permissionCodes: string[]; description?: string | undefined; }, { name: string; permissionCodes: string[]; description?: string | undefined; }>], z.ZodUnknown>, z.ZodPromise>; /** Callback on cancel */ onCancel: z.ZodFunction, z.ZodVoid>; /** Loading state during permissions fetch */ isLoadingPermissions: z.ZodOptional; /** Submitting state */ isSubmitting: z.ZodOptional; /** Error message */ error: z.ZodNullable>; /** Disable form */ disabled: z.ZodOptional; /** Read-only detail mode (system roles) */ isReadOnly: z.ZodOptional; }, "strip", z.ZodTypeAny, { onSubmit: (args_0: { name: string; permissionCodes: string[]; description?: string | undefined; }, ...args: unknown[]) => Promise; mode: "create" | "edit"; permissions: { id: string; code: string; name: string; description: string; category: "ACTIVITIES" | "EVENTS" | "FINANCIAL" | "MONTHLY_FEES" | "MEMBERS" | "INVENTORY" | "RITUAL_BATHS" | "TERREIRO" | "SETTINGS" | "REPORTS" | "REQUESTS" | "ADMINISTRATION"; updatedAt?: string | undefined; createdAt?: string | undefined; }[]; onCancel: (...args: unknown[]) => void; disabled?: boolean | undefined; error?: string | null | undefined; isSubmitting?: boolean | undefined; isReadOnly?: boolean | undefined; initialRole?: { id: string; name: string; terreiroId: string; isDefault: boolean; description?: string | null | undefined; updatedAt?: string | undefined; createdAt?: string | undefined; permissions?: { id: string; code: string; name: string; description: string; category: "ACTIVITIES" | "EVENTS" | "FINANCIAL" | "MONTHLY_FEES" | "MEMBERS" | "INVENTORY" | "RITUAL_BATHS" | "TERREIRO" | "SETTINGS" | "REPORTS" | "REQUESTS" | "ADMINISTRATION"; updatedAt?: string | undefined; createdAt?: string | undefined; }[] | undefined; permissionCount?: number | undefined; } | undefined; isLoadingPermissions?: boolean | undefined; }, { onSubmit: (args_0: { name: string; permissionCodes: string[]; description?: string | undefined; }, ...args: unknown[]) => Promise; mode: "create" | "edit"; permissions: { id: string; code: string; name: string; description: string; category: "ACTIVITIES" | "EVENTS" | "FINANCIAL" | "MONTHLY_FEES" | "MEMBERS" | "INVENTORY" | "RITUAL_BATHS" | "TERREIRO" | "SETTINGS" | "REPORTS" | "REQUESTS" | "ADMINISTRATION"; updatedAt?: string | undefined; createdAt?: string | undefined; }[]; onCancel: (...args: unknown[]) => void; disabled?: boolean | undefined; error?: string | null | undefined; isSubmitting?: boolean | undefined; isReadOnly?: boolean | undefined; initialRole?: { id: string; name: string; terreiroId: string; isDefault: boolean; description?: string | null | undefined; updatedAt?: string | undefined; createdAt?: string | undefined; permissions?: { id: string; code: string; name: string; description: string; category: "ACTIVITIES" | "EVENTS" | "FINANCIAL" | "MONTHLY_FEES" | "MEMBERS" | "INVENTORY" | "RITUAL_BATHS" | "TERREIRO" | "SETTINGS" | "REPORTS" | "REQUESTS" | "ADMINISTRATION"; updatedAt?: string | undefined; createdAt?: string | undefined; }[] | undefined; permissionCount?: number | undefined; } | undefined; isLoadingPermissions?: boolean | undefined; }>; type RoleFormPageProps = z.infer; declare const FORM_CONFIG: { nameMaxLength: number; descriptionMaxLength: number; submitButtonText: { create: string; edit: string; }; cancelButtonText: string; title: { create: string; edit: string; }; subtitle: { create: string; edit: string; }; readOnlyBadgeText: string; readOnlyHelperText: string; }; /** * RoleFormPage Component * * Form for creating or editing custom roles with permission assignment. * Supports create/edit modes with validation and state management. */ declare const RoleFormPage: React__default.FC; /** * Hook for managing RoleFormPage state and logic. * * DATA LOSS PREVENTION: * This hook protects against accidentally clearing all permissions when editing * a role that was passed without permissions loaded (initialRole.permissions === undefined). * * Key behaviors: * - Tracks if permissions were initially provided via `permissionsWereProvided` * - Exposes `shouldUpdatePermissions` flag in returned data * - Consumers should check this flag: if false, preserve existing permissions on save * - Validation skips permissionCodes if not provided and not touched by user * * Example consumer usage: * ```ts * const { data, fns } = useRoleFormPage(props); * * const handleSubmit = async (values: RoleFormValues) => { * const payload = { * name: values.name, * description: values.description, * // Only update permissions if flag is true * ...(data.shouldUpdatePermissions && { * permissionCodes: values.permissionCodes * }) * }; * await updateRole(payload); * }; * ``` */ declare const useRoleFormPage: (props: RoleFormPageProps) => { data: { mode: "create" | "edit"; formValues: { name: string; permissionCodes: string[]; description?: string | undefined; }; validationErrors: ValidationErrors; touched: Record; permissions: { id: string; code: string; name: string; description: string; category: "ACTIVITIES" | "EVENTS" | "FINANCIAL" | "MONTHLY_FEES" | "MEMBERS" | "INVENTORY" | "RITUAL_BATHS" | "TERREIRO" | "SETTINGS" | "REPORTS" | "REQUESTS" | "ADMINISTRATION"; updatedAt?: string | undefined; createdAt?: string | undefined; }[]; isLoadingPermissions: boolean; isSubmitting: boolean; error: string | null | undefined; disabled: boolean; isReadOnly: boolean; isDirty: boolean; isValid: boolean; canSubmit: boolean; shouldUpdatePermissions: boolean; }; fns: { handleNameChange: (value: string) => void; handleDescriptionChange: (value: string) => void; handlePermissionCodesChange: (codes: string[]) => void; handleSubmit: (e?: React.FormEvent) => Promise; handleCancel: () => void; handleReset: () => void; getFieldError: (field: keyof ValidationErrors) => string | undefined; validateForm: () => boolean; }; }; declare const RoleManagementPagePropsSchema: z.ZodObject<{ /** All roles (default + custom) */ roles: z.ZodArray>; terreiroId: z.ZodString; isDefault: z.ZodBoolean; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; permissions: z.ZodOptional; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; code: string; name: string; description: string; category: "ACTIVITIES" | "EVENTS" | "FINANCIAL" | "MONTHLY_FEES" | "MEMBERS" | "INVENTORY" | "RITUAL_BATHS" | "TERREIRO" | "SETTINGS" | "REPORTS" | "REQUESTS" | "ADMINISTRATION"; updatedAt?: string | undefined; createdAt?: string | undefined; }, { id: string; code: string; name: string; description: string; category: "ACTIVITIES" | "EVENTS" | "FINANCIAL" | "MONTHLY_FEES" | "MEMBERS" | "INVENTORY" | "RITUAL_BATHS" | "TERREIRO" | "SETTINGS" | "REPORTS" | "REQUESTS" | "ADMINISTRATION"; updatedAt?: string | undefined; createdAt?: string | undefined; }>, "many">>; permissionCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; name: string; terreiroId: string; isDefault: boolean; description?: string | null | undefined; updatedAt?: string | undefined; createdAt?: string | undefined; permissions?: { id: string; code: string; name: string; description: string; category: "ACTIVITIES" | "EVENTS" | "FINANCIAL" | "MONTHLY_FEES" | "MEMBERS" | "INVENTORY" | "RITUAL_BATHS" | "TERREIRO" | "SETTINGS" | "REPORTS" | "REQUESTS" | "ADMINISTRATION"; updatedAt?: string | undefined; createdAt?: string | undefined; }[] | undefined; permissionCount?: number | undefined; }, { id: string; name: string; terreiroId: string; isDefault: boolean; description?: string | null | undefined; updatedAt?: string | undefined; createdAt?: string | undefined; permissions?: { id: string; code: string; name: string; description: string; category: "ACTIVITIES" | "EVENTS" | "FINANCIAL" | "MONTHLY_FEES" | "MEMBERS" | "INVENTORY" | "RITUAL_BATHS" | "TERREIRO" | "SETTINGS" | "REPORTS" | "REQUESTS" | "ADMINISTRATION"; updatedAt?: string | undefined; createdAt?: string | undefined; }[] | undefined; permissionCount?: number | undefined; }>, "many">; /** Loading state */ isLoading: z.ZodOptional; /** Error message */ error: z.ZodNullable>; /** Callback to navigate to the create role page */ onCreateRole: z.ZodFunction, z.ZodVoid>; /** Callback to navigate to the edit role page */ onEditRole: z.ZodFunction, z.ZodVoid>; /** Callback when deleting a role (inline with confirmation dialog) */ onDeleteRole: z.ZodFunction, z.ZodPromise>; /** Callback when back button is clicked */ onBack: z.ZodOptional, z.ZodVoid>>; /** Submitting state (for delete) */ isSubmitting: z.ZodOptional; }, "strip", z.ZodTypeAny, { roles: { id: string; name: string; terreiroId: string; isDefault: boolean; description?: string | null | undefined; updatedAt?: string | undefined; createdAt?: string | undefined; permissions?: { id: string; code: string; name: string; description: string; category: "ACTIVITIES" | "EVENTS" | "FINANCIAL" | "MONTHLY_FEES" | "MEMBERS" | "INVENTORY" | "RITUAL_BATHS" | "TERREIRO" | "SETTINGS" | "REPORTS" | "REQUESTS" | "ADMINISTRATION"; updatedAt?: string | undefined; createdAt?: string | undefined; }[] | undefined; permissionCount?: number | undefined; }[]; onCreateRole: (...args: unknown[]) => void; onEditRole: (args_0: string, ...args: unknown[]) => void; onDeleteRole: (args_0: string, ...args: unknown[]) => Promise; error?: string | null | undefined; onBack?: ((...args: unknown[]) => void) | undefined; isSubmitting?: boolean | undefined; isLoading?: boolean | undefined; }, { roles: { id: string; name: string; terreiroId: string; isDefault: boolean; description?: string | null | undefined; updatedAt?: string | undefined; createdAt?: string | undefined; permissions?: { id: string; code: string; name: string; description: string; category: "ACTIVITIES" | "EVENTS" | "FINANCIAL" | "MONTHLY_FEES" | "MEMBERS" | "INVENTORY" | "RITUAL_BATHS" | "TERREIRO" | "SETTINGS" | "REPORTS" | "REQUESTS" | "ADMINISTRATION"; updatedAt?: string | undefined; createdAt?: string | undefined; }[] | undefined; permissionCount?: number | undefined; }[]; onCreateRole: (...args: unknown[]) => void; onEditRole: (args_0: string, ...args: unknown[]) => void; onDeleteRole: (args_0: string, ...args: unknown[]) => Promise; error?: string | null | undefined; onBack?: ((...args: unknown[]) => void) | undefined; isSubmitting?: boolean | undefined; isLoading?: boolean | undefined; }>; type RoleManagementPageProps = z.infer; interface DeleteDialogState { open: boolean; roleId: string | null; } interface RoleStats { totalRoles: number; customRoles: number; defaultRoles: number; } /** * RoleManagementPage Component * * Manage custom roles with CRUD operations. * Shows default roles as read-only, allows full management of custom roles. */ declare const RoleManagementPage: React__default.FC; declare const useRoleManagementPage: (props: RoleManagementPageProps) => { data: { roles: { id: string; name: string; terreiroId: string; isDefault: boolean; description?: string | null | undefined; updatedAt?: string | undefined; createdAt?: string | undefined; permissions?: { id: string; code: string; name: string; description: string; category: "ACTIVITIES" | "EVENTS" | "FINANCIAL" | "MONTHLY_FEES" | "MEMBERS" | "INVENTORY" | "RITUAL_BATHS" | "TERREIRO" | "SETTINGS" | "REPORTS" | "REQUESTS" | "ADMINISTRATION"; updatedAt?: string | undefined; createdAt?: string | undefined; }[] | undefined; permissionCount?: number | undefined; }[]; customRoles: { id: string; name: string; terreiroId: string; isDefault: boolean; description?: string | null | undefined; updatedAt?: string | undefined; createdAt?: string | undefined; permissions?: { id: string; code: string; name: string; description: string; category: "ACTIVITIES" | "EVENTS" | "FINANCIAL" | "MONTHLY_FEES" | "MEMBERS" | "INVENTORY" | "RITUAL_BATHS" | "TERREIRO" | "SETTINGS" | "REPORTS" | "REQUESTS" | "ADMINISTRATION"; updatedAt?: string | undefined; createdAt?: string | undefined; }[] | undefined; permissionCount?: number | undefined; }[]; defaultRoles: { id: string; name: string; terreiroId: string; isDefault: boolean; description?: string | null | undefined; updatedAt?: string | undefined; createdAt?: string | undefined; permissions?: { id: string; code: string; name: string; description: string; category: "ACTIVITIES" | "EVENTS" | "FINANCIAL" | "MONTHLY_FEES" | "MEMBERS" | "INVENTORY" | "RITUAL_BATHS" | "TERREIRO" | "SETTINGS" | "REPORTS" | "REQUESTS" | "ADMINISTRATION"; updatedAt?: string | undefined; createdAt?: string | undefined; }[] | undefined; permissionCount?: number | undefined; }[]; filteredCustomRoles: { id: string; name: string; terreiroId: string; isDefault: boolean; description?: string | null | undefined; updatedAt?: string | undefined; createdAt?: string | undefined; permissions?: { id: string; code: string; name: string; description: string; category: "ACTIVITIES" | "EVENTS" | "FINANCIAL" | "MONTHLY_FEES" | "MEMBERS" | "INVENTORY" | "RITUAL_BATHS" | "TERREIRO" | "SETTINGS" | "REPORTS" | "REQUESTS" | "ADMINISTRATION"; updatedAt?: string | undefined; createdAt?: string | undefined; }[] | undefined; permissionCount?: number | undefined; }[]; searchQuery: string; deleteDialog: DeleteDialogState; selectedRole: { id: string; name: string; terreiroId: string; isDefault: boolean; description?: string | null | undefined; updatedAt?: string | undefined; createdAt?: string | undefined; permissions?: { id: string; code: string; name: string; description: string; category: "ACTIVITIES" | "EVENTS" | "FINANCIAL" | "MONTHLY_FEES" | "MEMBERS" | "INVENTORY" | "RITUAL_BATHS" | "TERREIRO" | "SETTINGS" | "REPORTS" | "REQUESTS" | "ADMINISTRATION"; updatedAt?: string | undefined; createdAt?: string | undefined; }[] | undefined; permissionCount?: number | undefined; } | undefined; isLoading: boolean; error: string | null | undefined; isSubmitting: boolean; stats: RoleStats; hasResults: boolean; showEmptyState: boolean; showNoResults: boolean; }; fns: { setSearchQuery: React$1.Dispatch>; handleClearSearch: () => void; handleCreateRole: () => void; handleEditRole: (roleId: string) => void; handleOpenDeleteDialog: (roleId: string) => void; handleCloseDeleteDialog: () => void; handleDeleteRole: () => Promise; getRoleById: (roleId: string) => Role | undefined; }; }; declare const UsageQuotaPagePropsSchema: z.ZodObject<{ currentPlanId: z.ZodString; usageTracking: z.ZodObject<{ tier: z.ZodOptional; plan: z.ZodOptional; planName: z.ZodOptional; context: z.ZodOptional; upgradeRecommended: z.ZodOptional; nearingLimits: z.ZodOptional>; usage: z.ZodOptional>; members: z.ZodOptional>; activities: z.ZodOptional>; inventoryItems: z.ZodOptional>; bankAccounts: z.ZodOptional>; incomingTransactions: z.ZodOptional>; outcomeTransactions: z.ZodOptional>; ritualBaths: z.ZodOptional>; }, "strip", z.ZodTypeAny, { events?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; members?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; activities?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; inventoryItems?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; bankAccounts?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; incomingTransactions?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; outcomeTransactions?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; ritualBaths?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; }, { events?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; members?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; activities?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; inventoryItems?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; bankAccounts?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; incomingTransactions?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; outcomeTransactions?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; ritualBaths?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; }>>; features: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { tier?: string | undefined; plan?: string | undefined; planName?: string | undefined; context?: string | undefined; upgradeRecommended?: boolean | undefined; nearingLimits?: string[] | undefined; usage?: { events?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; members?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; activities?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; inventoryItems?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; bankAccounts?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; incomingTransactions?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; outcomeTransactions?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; ritualBaths?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; } | undefined; features?: Record | undefined; }, { tier?: string | undefined; plan?: string | undefined; planName?: string | undefined; context?: string | undefined; upgradeRecommended?: boolean | undefined; nearingLimits?: string[] | undefined; usage?: { events?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; members?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; activities?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; inventoryItems?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; bankAccounts?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; incomingTransactions?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; outcomeTransactions?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; ritualBaths?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; } | undefined; features?: Record | undefined; }>; isPersonalProfile: z.ZodDefault>; /** Manual partner grant — shows Parceiro branding next to the plan name. */ isPartnerGranted: z.ZodDefault>; onBack: z.ZodOptional, z.ZodVoid>>; onViewPlanManagement: z.ZodOptional, z.ZodVoid>>; }, "strip", z.ZodTypeAny, { isPartnerGranted: boolean; currentPlanId: string; usageTracking: { tier?: string | undefined; plan?: string | undefined; planName?: string | undefined; context?: string | undefined; upgradeRecommended?: boolean | undefined; nearingLimits?: string[] | undefined; usage?: { events?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; members?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; activities?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; inventoryItems?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; bankAccounts?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; incomingTransactions?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; outcomeTransactions?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; ritualBaths?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; } | undefined; features?: Record | undefined; }; isPersonalProfile: boolean; onBack?: (() => void) | undefined; onViewPlanManagement?: (() => void) | undefined; }, { currentPlanId: string; usageTracking: { tier?: string | undefined; plan?: string | undefined; planName?: string | undefined; context?: string | undefined; upgradeRecommended?: boolean | undefined; nearingLimits?: string[] | undefined; usage?: { events?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; members?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; activities?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; inventoryItems?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; bankAccounts?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; incomingTransactions?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; outcomeTransactions?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; ritualBaths?: { current: number; limit: number; percentage: number; nearingLimit: boolean; } | undefined; } | undefined; features?: Record | undefined; }; isPartnerGranted?: boolean | undefined; onBack?: (() => void) | undefined; onViewPlanManagement?: (() => void) | undefined; isPersonalProfile?: boolean | undefined; }>; type UsageQuotaPageProps = z.infer; declare const UsageQuotaPage: React__default.FC; declare const useUsageQuotaPage: (props: UsageQuotaPageProps) => { data: { planName: string; featureStats: ({ currentUsage: number; limit: number; isUnlimited: boolean; key: FeatureKey; label: string; apiKey: "maxEventsPerMonth"; legacyKey: "events"; } | { currentUsage: number; limit: number; isUnlimited: boolean; key: FeatureKey; label: string; apiKey: "maxActivitiesPerMonth"; legacyKey: "activities"; } | { currentUsage: number; limit: number; isUnlimited: boolean; key: FeatureKey; label: string; apiKey: "maxIncomesPerMonth"; legacyKey: "incomingTransactions"; } | { currentUsage: number; limit: number; isUnlimited: boolean; key: FeatureKey; label: string; apiKey: "maxOutcomesPerMonth"; legacyKey: "outcomeTransactions"; } | { currentUsage: number; limit: number; isUnlimited: boolean; key: FeatureKey; label: string; apiKey: "maxMembers"; legacyKey: "members"; } | { currentUsage: number; limit: number; isUnlimited: boolean; key: FeatureKey; label: string; apiKey: "maxInventoryItems"; legacyKey: "inventoryItems"; } | { currentUsage: number; limit: number; isUnlimited: boolean; key: FeatureKey; label: string; apiKey: "maxRitualBaths"; legacyKey: "ritualBaths"; } | { currentUsage: number; limit: number; isUnlimited: boolean; key: FeatureKey; label: string; apiKey: "maxBankAccounts"; legacyKey: "bankAccounts"; })[]; canViewPlanManagement: boolean; }; fns: { handleViewPlanManagement: () => void; }; }; /** CONTRATO-v1 §1.2 · integer cents + BRL only. */ declare const MoneySchema: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; type Money = z.infer; declare const BAND_ID_VALUES: readonly ["f8", "f30", "f60", "f120", "f250", "f500"]; declare const BandIdSchema: z.ZodEnum<["f8", "f30", "f60", "f120", "f250", "f500"]>; type BandId = z.infer; declare const PLUGIN_ID_VALUES: readonly ["financeiro", "estoque", "whatsapp", "relatorios"]; declare const PluginIdSchema: z.ZodEnum<["financeiro", "estoque", "whatsapp", "relatorios"]>; type PluginId = z.infer; declare const IntervalSchema: z.ZodEnum<["month", "year"]>; type Interval = z.infer; declare const PricingModelSchema: z.ZodEnum<["legacy", "bands_v1"]>; type PricingModel = z.infer; declare const PluginStateSchema: z.ZodEnum<["available", "coming_soon", "active", "locked"]>; type PluginState = z.infer; declare const BandViewSchema: z.ZodObject<{ id: z.ZodEnum<["f8", "f30", "f60", "f120", "f250", "f500"]>; label: z.ZodString; minMediums: z.ZodNumber; maxMediums: z.ZodNumber; }, "strict", z.ZodTypeAny, { id: "f8" | "f30" | "f60" | "f120" | "f250" | "f500"; label: string; minMediums: number; maxMediums: number; }, { id: "f8" | "f30" | "f60" | "f120" | "f250" | "f500"; label: string; minMediums: number; maxMediums: number; }>; type BandView = z.infer; declare const PluginViewSchema: z.ZodObject<{ id: z.ZodEnum<["financeiro", "estoque", "whatsapp", "relatorios"]>; name: z.ZodString; description: z.ZodOptional; state: z.ZodEnum<["available", "coming_soon", "active", "locked"]>; price: z.ZodOptional; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; effective: z.ZodOptional; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>>; /** * `monthly_equivalent` — valor mensal de lista (ex.: plugin no bucket year). * `interval_charge_total` — total cobrado no ciclo (ex.: chargeTotal anual). */ amountKind: z.ZodOptional>; }, "strict", z.ZodTypeAny, { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; }, { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; }>>; year: z.ZodOptional; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; effective: z.ZodOptional; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>>; /** * `monthly_equivalent` — valor mensal de lista (ex.: plugin no bucket year). * `interval_charge_total` — total cobrado no ciclo (ex.: chargeTotal anual). */ amountKind: z.ZodOptional>; }, "strict", z.ZodTypeAny, { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; }, { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; }>>; }, "strict", z.ZodTypeAny, { month?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; year?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; }, { month?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; year?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; }>>; note: z.ZodOptional; selected: z.ZodOptional; }, "strict", z.ZodTypeAny, { id: "whatsapp" | "financeiro" | "estoque" | "relatorios"; name: string; state: "active" | "available" | "coming_soon" | "locked"; note?: string | undefined; selected?: boolean | undefined; description?: string | undefined; price?: { month?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; year?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; } | undefined; }, { id: "whatsapp" | "financeiro" | "estoque" | "relatorios"; name: string; state: "active" | "available" | "coming_soon" | "locked"; note?: string | undefined; selected?: boolean | undefined; description?: string | undefined; price?: { month?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; year?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; } | undefined; }>; type PluginView = z.infer; declare const OverageSchema: z.ZodObject<{ excessBlocks: z.ZodNumber; software: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; whatsapp: z.ZodNullable; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>>; extraMessages: z.ZodNumber; }, "strict", z.ZodTypeAny, { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; }, { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; }>; type Overage = z.infer; declare const LeverSchema: z.ZodEnum<["none", "pack", "annual"]>; type Lever = z.infer; declare const PriceSummaryViewSchema: z.ZodObject<{ interval: z.ZodEnum<["month", "year"]>; softwareList: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; whatsapp: z.ZodNullable; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>>; overage: z.ZodNullable; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; whatsapp: z.ZodNullable; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>>; extraMessages: z.ZodNumber; }, "strict", z.ZodTypeAny, { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; }, { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; }>>; lever: z.ZodEnum<["none", "pack", "annual"]>; leverLabel: z.ZodString; softwareEffective: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; servicesTotal: z.ZodOptional; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>>; monthlyTotal: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; chargeTotal: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; savings: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; perMedium: z.ZodNullable; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; }, "strict", z.ZodTypeAny, { mediums: number; amount: { currency: "BRL"; cents: number; }; }, { mediums: number; amount: { currency: "BRL"; cents: number; }; }>>; trialDays: z.ZodOptional>; leverCapped: z.ZodBoolean; packEligible: z.ZodOptional; packMissing: z.ZodOptional, "many">>; }, "strict", z.ZodTypeAny, { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; }, { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; }>; type PriceSummaryView = z.infer; declare const QuoteStateSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{ status: z.ZodLiteral<"loading">; }, "strict", z.ZodTypeAny, { status: "loading"; }, { status: "loading"; }>, z.ZodObject<{ status: z.ZodLiteral<"error">; message: z.ZodOptional; }, "strict", z.ZodTypeAny, { status: "error"; message?: string | undefined; }, { status: "error"; message?: string | undefined; }>, z.ZodObject<{ status: z.ZodLiteral<"ready">; quotes: z.ZodObject<{ month: z.ZodOptional; softwareList: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; whatsapp: z.ZodNullable; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>>; overage: z.ZodNullable; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; whatsapp: z.ZodNullable; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>>; extraMessages: z.ZodNumber; }, "strict", z.ZodTypeAny, { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; }, { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; }>>; lever: z.ZodEnum<["none", "pack", "annual"]>; leverLabel: z.ZodString; softwareEffective: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; servicesTotal: z.ZodOptional; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>>; monthlyTotal: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; chargeTotal: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; savings: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; perMedium: z.ZodNullable; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; }, "strict", z.ZodTypeAny, { mediums: number; amount: { currency: "BRL"; cents: number; }; }, { mediums: number; amount: { currency: "BRL"; cents: number; }; }>>; trialDays: z.ZodOptional>; leverCapped: z.ZodBoolean; packEligible: z.ZodOptional; packMissing: z.ZodOptional, "many">>; }, "strict", z.ZodTypeAny, { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; }, { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; }>>; year: z.ZodOptional; softwareList: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; whatsapp: z.ZodNullable; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>>; overage: z.ZodNullable; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; whatsapp: z.ZodNullable; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>>; extraMessages: z.ZodNumber; }, "strict", z.ZodTypeAny, { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; }, { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; }>>; lever: z.ZodEnum<["none", "pack", "annual"]>; leverLabel: z.ZodString; softwareEffective: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; servicesTotal: z.ZodOptional; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>>; monthlyTotal: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; chargeTotal: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; savings: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; perMedium: z.ZodNullable; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; }, "strict", z.ZodTypeAny, { mediums: number; amount: { currency: "BRL"; cents: number; }; }, { mediums: number; amount: { currency: "BRL"; cents: number; }; }>>; trialDays: z.ZodOptional>; leverCapped: z.ZodBoolean; packEligible: z.ZodOptional; packMissing: z.ZodOptional, "many">>; }, "strict", z.ZodTypeAny, { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; }, { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; }>>; }, "strict", z.ZodTypeAny, { month?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; year?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; }, { month?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; year?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; }>; stale: z.ZodOptional; }, "strict", z.ZodTypeAny, { quotes: { month?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; year?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; }; status: "ready"; stale?: boolean | undefined; }, { quotes: { month?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; year?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; }; status: "ready"; stale?: boolean | undefined; }>]>; type QuoteState = z.infer; declare const OnboardingRecommendationViewSchema: z.ZodObject<{ planId: z.ZodOptional; planName: z.ZodString; reasonText: z.ZodOptional; trial: z.ZodOptional>>; pricingModel: z.ZodOptional>; band: z.ZodOptional; label: z.ZodString; minMediums: z.ZodNumber; maxMediums: z.ZodNumber; }, "strict", z.ZodTypeAny, { id: "f8" | "f30" | "f60" | "f120" | "f250" | "f500"; label: string; minMediums: number; maxMediums: number; }, { id: "f8" | "f30" | "f60" | "f120" | "f250" | "f500"; label: string; minMediums: number; maxMediums: number; }>>; plugins: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; state: z.ZodEnum<["available", "coming_soon", "active", "locked"]>; price: z.ZodOptional; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; effective: z.ZodOptional; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>>; /** * `monthly_equivalent` — valor mensal de lista (ex.: plugin no bucket year). * `interval_charge_total` — total cobrado no ciclo (ex.: chargeTotal anual). */ amountKind: z.ZodOptional>; }, "strict", z.ZodTypeAny, { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; }, { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; }>>; year: z.ZodOptional; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; effective: z.ZodOptional; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>>; /** * `monthly_equivalent` — valor mensal de lista (ex.: plugin no bucket year). * `interval_charge_total` — total cobrado no ciclo (ex.: chargeTotal anual). */ amountKind: z.ZodOptional>; }, "strict", z.ZodTypeAny, { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; }, { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; }>>; }, "strict", z.ZodTypeAny, { month?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; year?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; }, { month?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; year?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; }>>; note: z.ZodOptional; selected: z.ZodOptional; }, "strict", z.ZodTypeAny, { id: "whatsapp" | "financeiro" | "estoque" | "relatorios"; name: string; state: "active" | "available" | "coming_soon" | "locked"; note?: string | undefined; selected?: boolean | undefined; description?: string | undefined; price?: { month?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; year?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; } | undefined; }, { id: "whatsapp" | "financeiro" | "estoque" | "relatorios"; name: string; state: "active" | "available" | "coming_soon" | "locked"; note?: string | undefined; selected?: boolean | undefined; description?: string | undefined; price?: { month?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; year?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; } | undefined; }>, "many">>; reasons: z.ZodOptional>; text: z.ZodString; }, "strict", z.ZodTypeAny, { text: string; pluginId?: "whatsapp" | "financeiro" | "estoque" | "relatorios" | undefined; }, { text: string; pluginId?: "whatsapp" | "financeiro" | "estoque" | "relatorios" | undefined; }>, "many">>; ruleVersion: z.ZodOptional; quote: z.ZodOptional; }, "strict", z.ZodTypeAny, { status: "loading"; }, { status: "loading"; }>, z.ZodObject<{ status: z.ZodLiteral<"error">; message: z.ZodOptional; }, "strict", z.ZodTypeAny, { status: "error"; message?: string | undefined; }, { status: "error"; message?: string | undefined; }>, z.ZodObject<{ status: z.ZodLiteral<"ready">; quotes: z.ZodObject<{ month: z.ZodOptional; softwareList: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; whatsapp: z.ZodNullable; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>>; overage: z.ZodNullable; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; whatsapp: z.ZodNullable; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>>; extraMessages: z.ZodNumber; }, "strict", z.ZodTypeAny, { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; }, { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; }>>; lever: z.ZodEnum<["none", "pack", "annual"]>; leverLabel: z.ZodString; softwareEffective: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; servicesTotal: z.ZodOptional; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>>; monthlyTotal: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; chargeTotal: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; savings: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; perMedium: z.ZodNullable; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; }, "strict", z.ZodTypeAny, { mediums: number; amount: { currency: "BRL"; cents: number; }; }, { mediums: number; amount: { currency: "BRL"; cents: number; }; }>>; trialDays: z.ZodOptional>; leverCapped: z.ZodBoolean; packEligible: z.ZodOptional; packMissing: z.ZodOptional, "many">>; }, "strict", z.ZodTypeAny, { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; }, { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; }>>; year: z.ZodOptional; softwareList: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; whatsapp: z.ZodNullable; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>>; overage: z.ZodNullable; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; whatsapp: z.ZodNullable; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>>; extraMessages: z.ZodNumber; }, "strict", z.ZodTypeAny, { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; }, { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; }>>; lever: z.ZodEnum<["none", "pack", "annual"]>; leverLabel: z.ZodString; softwareEffective: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; servicesTotal: z.ZodOptional; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>>; monthlyTotal: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; chargeTotal: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; savings: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; perMedium: z.ZodNullable; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; }, "strict", z.ZodTypeAny, { mediums: number; amount: { currency: "BRL"; cents: number; }; }, { mediums: number; amount: { currency: "BRL"; cents: number; }; }>>; trialDays: z.ZodOptional>; leverCapped: z.ZodBoolean; packEligible: z.ZodOptional; packMissing: z.ZodOptional, "many">>; }, "strict", z.ZodTypeAny, { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; }, { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; }>>; }, "strict", z.ZodTypeAny, { month?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; year?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; }, { month?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; year?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; }>; stale: z.ZodOptional; }, "strict", z.ZodTypeAny, { quotes: { month?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; year?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; }; status: "ready"; stale?: boolean | undefined; }, { quotes: { month?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; year?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; }; status: "ready"; stale?: boolean | undefined; }>]>>; }, "strict", z.ZodTypeAny, { planName: string; planId?: string | undefined; reasonText?: string | undefined; trial?: { days: number; } | null | undefined; pricingModel?: "legacy" | "bands_v1" | undefined; band?: { id: "f8" | "f30" | "f60" | "f120" | "f250" | "f500"; label: string; minMediums: number; maxMediums: number; } | undefined; plugins?: { id: "whatsapp" | "financeiro" | "estoque" | "relatorios"; name: string; state: "active" | "available" | "coming_soon" | "locked"; note?: string | undefined; selected?: boolean | undefined; description?: string | undefined; price?: { month?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; year?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; } | undefined; }[] | undefined; reasons?: { text: string; pluginId?: "whatsapp" | "financeiro" | "estoque" | "relatorios" | undefined; }[] | undefined; ruleVersion?: string | undefined; quote?: { status: "loading"; } | { status: "error"; message?: string | undefined; } | { quotes: { month?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; year?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; }; status: "ready"; stale?: boolean | undefined; } | undefined; }, { planName: string; planId?: string | undefined; reasonText?: string | undefined; trial?: { days: number; } | null | undefined; pricingModel?: "legacy" | "bands_v1" | undefined; band?: { id: "f8" | "f30" | "f60" | "f120" | "f250" | "f500"; label: string; minMediums: number; maxMediums: number; } | undefined; plugins?: { id: "whatsapp" | "financeiro" | "estoque" | "relatorios"; name: string; state: "active" | "available" | "coming_soon" | "locked"; note?: string | undefined; selected?: boolean | undefined; description?: string | undefined; price?: { month?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; year?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; } | undefined; }[] | undefined; reasons?: { text: string; pluginId?: "whatsapp" | "financeiro" | "estoque" | "relatorios" | undefined; }[] | undefined; ruleVersion?: string | undefined; quote?: { status: "loading"; } | { status: "error"; message?: string | undefined; } | { quotes: { month?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; year?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; }; status: "ready"; stale?: boolean | undefined; } | undefined; }>; type OnboardingRecommendationView = z.infer; declare const SubscriptionViewSchema: z.ZodDiscriminatedUnion<"pricingModel", [z.ZodObject<{ pricingModel: z.ZodLiteral<"legacy">; planManagement: z.ZodObject<{ activePlan: z.ZodObject<{ tier: z.ZodString; name: z.ZodString; description: z.ZodString; monthlyPriceCents: z.ZodNumber; yearlyPriceCents: z.ZodOptional; currency: z.ZodString; monthlyPriceId: z.ZodOptional; yearlyPriceId: z.ZodOptional; isFree: z.ZodBoolean; mediumLimit: z.ZodNumber; topIncluded: z.ZodArray; topUnlocks: z.ZodArray; isBestValue: z.ZodOptional; statusLabel: z.ZodOptional; renewalDate: z.ZodOptional; isUnknown: z.ZodOptional; reasonCode: z.ZodOptional; activePriceId: z.ZodOptional>; costPerMediumCents: z.ZodNullable; mediumUsage: z.ZodNumber; isPartnerGranted: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }, { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }>; otherPlans: z.ZodArray; currency: z.ZodString; monthlyPriceId: z.ZodOptional; yearlyPriceId: z.ZodOptional; isFree: z.ZodBoolean; mediumLimit: z.ZodNumber; topIncluded: z.ZodArray; topUnlocks: z.ZodArray; isBestValue: z.ZodOptional; statusLabel: z.ZodOptional; renewalDate: z.ZodOptional; isUnknown: z.ZodOptional; reasonCode: z.ZodOptional; activePriceId: z.ZodOptional>; costPerMediumCents: z.ZodNullable; mediumUsage: z.ZodNumber; isPartnerGranted: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }, { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }>, "many">; usageLabel: z.ZodString; isPartnerGranted: z.ZodOptional; }, "strip", z.ZodTypeAny, { activePlan: { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }; otherPlans: { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }[]; usageLabel: string; isPartnerGranted?: boolean | undefined; }, { activePlan: { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }; otherPlans: { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }[]; usageLabel: string; isPartnerGranted?: boolean | undefined; }>; grandfathered: z.ZodOptional>>; }, "strict", z.ZodTypeAny, { planManagement: { activePlan: { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }; otherPlans: { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }[]; usageLabel: string; isPartnerGranted?: boolean | undefined; }; pricingModel: "legacy"; grandfathered?: { label: string; until: string; } | null | undefined; }, { planManagement: { activePlan: { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }; otherPlans: { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }[]; usageLabel: string; isPartnerGranted?: boolean | undefined; }; pricingModel: "legacy"; grandfathered?: { label: string; until: string; } | null | undefined; }>, z.ZodObject<{ pricingModel: z.ZodLiteral<"bands_v1">; status: z.ZodEnum<["trialing", "active", "past_due", "canceled", "none"]>; statusLabel: z.ZodOptional; trialEnd: z.ZodNullable; hasPaymentMethod: z.ZodBoolean; band: z.ZodObject<{ id: z.ZodEnum<["f8", "f30", "f60", "f120", "f250", "f500"]>; label: z.ZodString; minMediums: z.ZodNumber; maxMediums: z.ZodNumber; mediumCount: z.ZodNumber; next: z.ZodOptional; label: z.ZodString; minMediums: z.ZodNumber; maxMediums: z.ZodNumber; }, "strict", z.ZodTypeAny, { id: "f8" | "f30" | "f60" | "f120" | "f250" | "f500"; label: string; minMediums: number; maxMediums: number; }, { id: "f8" | "f30" | "f60" | "f120" | "f250" | "f500"; label: string; minMediums: number; maxMediums: number; }>>>; excessBlocks: z.ZodNumber; }, "strict", z.ZodTypeAny, { id: "f8" | "f30" | "f60" | "f120" | "f250" | "f500"; label: string; minMediums: number; maxMediums: number; excessBlocks: number; mediumCount: number; next?: { id: "f8" | "f30" | "f60" | "f120" | "f250" | "f500"; label: string; minMediums: number; maxMediums: number; } | null | undefined; }, { id: "f8" | "f30" | "f60" | "f120" | "f250" | "f500"; label: string; minMediums: number; maxMediums: number; excessBlocks: number; mediumCount: number; next?: { id: "f8" | "f30" | "f60" | "f120" | "f250" | "f500"; label: string; minMediums: number; maxMediums: number; } | null | undefined; }>; plugins: z.ZodArray; name: z.ZodString; description: z.ZodOptional; state: z.ZodEnum<["available", "coming_soon", "active", "locked"]>; price: z.ZodOptional; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; effective: z.ZodOptional; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>>; /** * `monthly_equivalent` — valor mensal de lista (ex.: plugin no bucket year). * `interval_charge_total` — total cobrado no ciclo (ex.: chargeTotal anual). */ amountKind: z.ZodOptional>; }, "strict", z.ZodTypeAny, { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; }, { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; }>>; year: z.ZodOptional; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; effective: z.ZodOptional; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>>; /** * `monthly_equivalent` — valor mensal de lista (ex.: plugin no bucket year). * `interval_charge_total` — total cobrado no ciclo (ex.: chargeTotal anual). */ amountKind: z.ZodOptional>; }, "strict", z.ZodTypeAny, { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; }, { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; }>>; }, "strict", z.ZodTypeAny, { month?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; year?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; }, { month?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; year?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; }>>; note: z.ZodOptional; selected: z.ZodOptional; }, "strict", z.ZodTypeAny, { id: "whatsapp" | "financeiro" | "estoque" | "relatorios"; name: string; state: "active" | "available" | "coming_soon" | "locked"; note?: string | undefined; selected?: boolean | undefined; description?: string | undefined; price?: { month?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; year?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; } | undefined; }, { id: "whatsapp" | "financeiro" | "estoque" | "relatorios"; name: string; state: "active" | "available" | "coming_soon" | "locked"; note?: string | undefined; selected?: boolean | undefined; description?: string | undefined; price?: { month?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; year?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; } | undefined; }>, "many">; quote: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{ status: z.ZodLiteral<"loading">; }, "strict", z.ZodTypeAny, { status: "loading"; }, { status: "loading"; }>, z.ZodObject<{ status: z.ZodLiteral<"error">; message: z.ZodOptional; }, "strict", z.ZodTypeAny, { status: "error"; message?: string | undefined; }, { status: "error"; message?: string | undefined; }>, z.ZodObject<{ status: z.ZodLiteral<"ready">; quotes: z.ZodObject<{ month: z.ZodOptional; softwareList: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; whatsapp: z.ZodNullable; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>>; overage: z.ZodNullable; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; whatsapp: z.ZodNullable; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>>; extraMessages: z.ZodNumber; }, "strict", z.ZodTypeAny, { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; }, { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; }>>; lever: z.ZodEnum<["none", "pack", "annual"]>; leverLabel: z.ZodString; softwareEffective: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; servicesTotal: z.ZodOptional; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>>; monthlyTotal: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; chargeTotal: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; savings: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; perMedium: z.ZodNullable; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; }, "strict", z.ZodTypeAny, { mediums: number; amount: { currency: "BRL"; cents: number; }; }, { mediums: number; amount: { currency: "BRL"; cents: number; }; }>>; trialDays: z.ZodOptional>; leverCapped: z.ZodBoolean; packEligible: z.ZodOptional; packMissing: z.ZodOptional, "many">>; }, "strict", z.ZodTypeAny, { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; }, { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; }>>; year: z.ZodOptional; softwareList: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; whatsapp: z.ZodNullable; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>>; overage: z.ZodNullable; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; whatsapp: z.ZodNullable; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>>; extraMessages: z.ZodNumber; }, "strict", z.ZodTypeAny, { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; }, { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; }>>; lever: z.ZodEnum<["none", "pack", "annual"]>; leverLabel: z.ZodString; softwareEffective: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; servicesTotal: z.ZodOptional; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>>; monthlyTotal: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; chargeTotal: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; savings: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; perMedium: z.ZodNullable; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; }, "strict", z.ZodTypeAny, { mediums: number; amount: { currency: "BRL"; cents: number; }; }, { mediums: number; amount: { currency: "BRL"; cents: number; }; }>>; trialDays: z.ZodOptional>; leverCapped: z.ZodBoolean; packEligible: z.ZodOptional; packMissing: z.ZodOptional, "many">>; }, "strict", z.ZodTypeAny, { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; }, { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; }>>; }, "strict", z.ZodTypeAny, { month?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; year?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; }, { month?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; year?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; }>; stale: z.ZodOptional; }, "strict", z.ZodTypeAny, { quotes: { month?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; year?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; }; status: "ready"; stale?: boolean | undefined; }, { quotes: { month?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; year?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; }; status: "ready"; stale?: boolean | undefined; }>]>; interval: z.ZodEnum<["month", "year"]>; renewalDate: z.ZodOptional>; isPartnerGranted: z.ZodOptional; canManageBilling: z.ZodBoolean; }, "strict", z.ZodTypeAny, { status: "none" | "active" | "trialing" | "past_due" | "canceled"; interval: "month" | "year"; pricingModel: "bands_v1"; band: { id: "f8" | "f30" | "f60" | "f120" | "f250" | "f500"; label: string; minMediums: number; maxMediums: number; excessBlocks: number; mediumCount: number; next?: { id: "f8" | "f30" | "f60" | "f120" | "f250" | "f500"; label: string; minMediums: number; maxMediums: number; } | null | undefined; }; plugins: { id: "whatsapp" | "financeiro" | "estoque" | "relatorios"; name: string; state: "active" | "available" | "coming_soon" | "locked"; note?: string | undefined; selected?: boolean | undefined; description?: string | undefined; price?: { month?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; year?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; } | undefined; }[]; quote: { status: "loading"; } | { status: "error"; message?: string | undefined; } | { quotes: { month?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; year?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; }; status: "ready"; stale?: boolean | undefined; }; trialEnd: string | null; hasPaymentMethod: boolean; canManageBilling: boolean; statusLabel?: string | undefined; renewalDate?: string | null | undefined; isPartnerGranted?: boolean | undefined; }, { status: "none" | "active" | "trialing" | "past_due" | "canceled"; interval: "month" | "year"; pricingModel: "bands_v1"; band: { id: "f8" | "f30" | "f60" | "f120" | "f250" | "f500"; label: string; minMediums: number; maxMediums: number; excessBlocks: number; mediumCount: number; next?: { id: "f8" | "f30" | "f60" | "f120" | "f250" | "f500"; label: string; minMediums: number; maxMediums: number; } | null | undefined; }; plugins: { id: "whatsapp" | "financeiro" | "estoque" | "relatorios"; name: string; state: "active" | "available" | "coming_soon" | "locked"; note?: string | undefined; selected?: boolean | undefined; description?: string | undefined; price?: { month?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; year?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; } | undefined; }[]; quote: { status: "loading"; } | { status: "error"; message?: string | undefined; } | { quotes: { month?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; year?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; }; status: "ready"; stale?: boolean | undefined; }; trialEnd: string | null; hasPaymentMethod: boolean; canManageBilling: boolean; statusLabel?: string | undefined; renewalDate?: string | null | undefined; isPartnerGranted?: boolean | undefined; }>]>; type SubscriptionView = z.infer; declare const SelectionPayloadSchema: z.ZodObject<{ bandId: z.ZodEnum<["f8", "f30", "f60", "f120", "f250", "f500"]>; pluginIds: z.ZodArray, "many">; interval: z.ZodEnum<["month", "year"]>; mediumCount: z.ZodNumber; }, "strict", z.ZodTypeAny, { interval: "month" | "year"; mediumCount: number; bandId: "f8" | "f30" | "f60" | "f120" | "f250" | "f500"; pluginIds: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[]; }, { interval: "month" | "year"; mediumCount: number; bandId: "f8" | "f30" | "f60" | "f120" | "f250" | "f500"; pluginIds: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[]; }>; type SelectionPayload = z.infer; declare function mulDivRound(amountCents: number, multiplier: number, divisor: number): number; /** * Regra de anualização bands_v1: * - base e plugins de software: `round(mensal × 85 / 100) × 12` (−15% sobre a faixa mensal, depois ×12 meses) * - WhatsApp: `mensal × 12` (sem desconto anual na regra atual) */ declare function bandsV1YearlyUnitAmountCents(monthlyCents: number, pluginId?: PluginId | "base"): number; declare const annualBandBaseChargeCents: (baseMonthlyCents: number) => number; declare const annualPluginChargeCents: (pluginId: PluginId, monthlyCents: number) => number; type BandsV1AnnualPluginInput = { id: PluginId; centsMonthly: number; }; type BandsV1AnnualSummaryCents = { softwareListCents: number; softwareEffectiveCents: number; servicesTotalCents: number; whatsappAnnualCents: number; savingsCents: number; chargeTotalCents: number; }; declare function computeBandsV1AnnualSummaryCents(params: { bandCentsMonthly: number; plugins: readonly BandsV1AnnualPluginInput[]; }): BandsV1AnnualSummaryCents; type PricingRenderMode = "legacy" | "bands_v1" | "error"; declare function resolveRenderMode(input: { hasNewPricingProps: boolean; pricingModel?: PricingModel; }): PricingRenderMode; /** UI display: 0¢ → «Grátis»; numeric formatting stays in formatMoney. */ declare function formatPriceLine(money: Money): string; type PriceSummaryLabels = { base?: string; softwareEffective?: string; whatsapp?: string; overageSoftware?: string; overageWhatsapp?: string; overageMessages?: string; lever?: string; savings?: string; servicesTotal?: string; monthlyTotal?: string; chargeTotalMonth?: string; chargeTotalYear?: string; perMedium?: string; trialDays?: string; packMissing?: string; error?: string; loading?: string; updating?: string; }; type PriceSummaryProps = { quote?: QuoteState; summary?: PriceSummaryView; variant?: "default" | "compact"; /** Dark onboarding sticky footer surface (no outer border/radius). */ appearance?: "default" | "inverseFooter"; labels?: PriceSummaryLabels; showPackHint?: boolean; interval?: Interval; errorMessage?: string; onRetryQuote?: () => void; retryQuoteLabel?: string; }; declare function PriceSummary({ quote, summary, variant, appearance, labels, showPackHint, interval, errorMessage, onRetryQuote, retryQuoteLabel, }: PriceSummaryProps): React__default.JSX.Element | null; type PluginSelectorProps = { plugins: PluginView[]; interval?: Interval; context?: "onboarding" | "settings"; comingSoonLabel?: string; /** Section heading. Defaults to "Serviços". */ title?: string; onTogglePlugin: (payload: { pluginId: PluginId; on: boolean; }) => void; }; declare function PluginSelector({ plugins, interval, context, comingSoonLabel, title, onTogglePlugin, }: PluginSelectorProps): React__default.JSX.Element | null; type PricingBillingIntervalToggleProps = { value: Interval; onChange: (interval: Interval) => void; monthLabel?: string; yearLabel?: string; monthTestId?: string; yearTestId?: string; groupAriaLabel?: string; promotionLabel?: string; toggleGroupSx?: SxProps; }; declare function PricingBillingIntervalToggle({ value, onChange, monthLabel, yearLabel, monthTestId, yearTestId, groupAriaLabel, promotionLabel, toggleGroupSx, }: PricingBillingIntervalToggleProps): React__default.JSX.Element; declare const BillingIntervalSchema: z.ZodEnum<["month", "year"]>; type BillingInterval = z.infer; declare const PlanChangePayloadSchema: z.ZodObject<{ tier: z.ZodString; interval: z.ZodEnum<["month", "year"]>; monthlyPriceId: z.ZodOptional; yearlyPriceId: z.ZodOptional; }, "strip", z.ZodTypeAny, { tier: string; interval: "month" | "year"; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; }, { tier: string; interval: "month" | "year"; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; }>; type PlanChangePayload = z.infer; declare const PlanManagementPagePropsSchema: z.ZodObject<{ planManagement: z.ZodObject<{ activePlan: z.ZodObject<{ tier: z.ZodString; name: z.ZodString; description: z.ZodString; monthlyPriceCents: z.ZodNumber; yearlyPriceCents: z.ZodOptional; currency: z.ZodString; monthlyPriceId: z.ZodOptional; yearlyPriceId: z.ZodOptional; isFree: z.ZodBoolean; mediumLimit: z.ZodNumber; topIncluded: z.ZodArray; topUnlocks: z.ZodArray; isBestValue: z.ZodOptional; statusLabel: z.ZodOptional; renewalDate: z.ZodOptional; isUnknown: z.ZodOptional; reasonCode: z.ZodOptional; activePriceId: z.ZodOptional>; costPerMediumCents: z.ZodNullable; mediumUsage: z.ZodNumber; isPartnerGranted: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }, { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }>; otherPlans: z.ZodArray; currency: z.ZodString; monthlyPriceId: z.ZodOptional; yearlyPriceId: z.ZodOptional; isFree: z.ZodBoolean; mediumLimit: z.ZodNumber; topIncluded: z.ZodArray; topUnlocks: z.ZodArray; isBestValue: z.ZodOptional; statusLabel: z.ZodOptional; renewalDate: z.ZodOptional; isUnknown: z.ZodOptional; reasonCode: z.ZodOptional; activePriceId: z.ZodOptional>; costPerMediumCents: z.ZodNullable; mediumUsage: z.ZodNumber; isPartnerGranted: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }, { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }>, "many">; usageLabel: z.ZodString; isPartnerGranted: z.ZodOptional; }, "strip", z.ZodTypeAny, { activePlan: { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }; otherPlans: { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }[]; usageLabel: string; isPartnerGranted?: boolean | undefined; }, { activePlan: { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }; otherPlans: { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }[]; usageLabel: string; isPartnerGranted?: boolean | undefined; }>; billingInterval: z.ZodOptional>>; onChangePlan: z.ZodFunction; monthlyPriceId: z.ZodOptional; yearlyPriceId: z.ZodOptional; }, "strip", z.ZodTypeAny, { tier: string; interval: "month" | "year"; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; }, { tier: string; interval: "month" | "year"; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; }>], null>, z.ZodVoid>; onManageBilling: z.ZodOptional, z.ZodVoid>>; onBack: z.ZodOptional, z.ZodVoid>>; isPersonalProfile: z.ZodDefault>; subscription: z.ZodOptional; planManagement: z.ZodObject<{ activePlan: z.ZodObject<{ tier: z.ZodString; name: z.ZodString; description: z.ZodString; monthlyPriceCents: z.ZodNumber; yearlyPriceCents: z.ZodOptional; currency: z.ZodString; monthlyPriceId: z.ZodOptional; yearlyPriceId: z.ZodOptional; isFree: z.ZodBoolean; mediumLimit: z.ZodNumber; topIncluded: z.ZodArray; topUnlocks: z.ZodArray; isBestValue: z.ZodOptional; statusLabel: z.ZodOptional; renewalDate: z.ZodOptional; isUnknown: z.ZodOptional; reasonCode: z.ZodOptional; activePriceId: z.ZodOptional>; costPerMediumCents: z.ZodNullable; mediumUsage: z.ZodNumber; isPartnerGranted: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }, { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }>; otherPlans: z.ZodArray; currency: z.ZodString; monthlyPriceId: z.ZodOptional; yearlyPriceId: z.ZodOptional; isFree: z.ZodBoolean; mediumLimit: z.ZodNumber; topIncluded: z.ZodArray; topUnlocks: z.ZodArray; isBestValue: z.ZodOptional; statusLabel: z.ZodOptional; renewalDate: z.ZodOptional; isUnknown: z.ZodOptional; reasonCode: z.ZodOptional; activePriceId: z.ZodOptional>; costPerMediumCents: z.ZodNullable; mediumUsage: z.ZodNumber; isPartnerGranted: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }, { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }>, "many">; usageLabel: z.ZodString; isPartnerGranted: z.ZodOptional; }, "strip", z.ZodTypeAny, { activePlan: { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }; otherPlans: { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }[]; usageLabel: string; isPartnerGranted?: boolean | undefined; }, { activePlan: { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }; otherPlans: { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }[]; usageLabel: string; isPartnerGranted?: boolean | undefined; }>; grandfathered: z.ZodOptional>>; }, "strict", z.ZodTypeAny, { planManagement: { activePlan: { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }; otherPlans: { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }[]; usageLabel: string; isPartnerGranted?: boolean | undefined; }; pricingModel: "legacy"; grandfathered?: { label: string; until: string; } | null | undefined; }, { planManagement: { activePlan: { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }; otherPlans: { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }[]; usageLabel: string; isPartnerGranted?: boolean | undefined; }; pricingModel: "legacy"; grandfathered?: { label: string; until: string; } | null | undefined; }>, z.ZodObject<{ pricingModel: z.ZodLiteral<"bands_v1">; status: z.ZodEnum<["trialing", "active", "past_due", "canceled", "none"]>; statusLabel: z.ZodOptional; trialEnd: z.ZodNullable; hasPaymentMethod: z.ZodBoolean; band: z.ZodObject<{ id: z.ZodEnum<["f8", "f30", "f60", "f120", "f250", "f500"]>; label: z.ZodString; minMediums: z.ZodNumber; maxMediums: z.ZodNumber; mediumCount: z.ZodNumber; next: z.ZodOptional; label: z.ZodString; minMediums: z.ZodNumber; maxMediums: z.ZodNumber; }, "strict", z.ZodTypeAny, { id: "f8" | "f30" | "f60" | "f120" | "f250" | "f500"; label: string; minMediums: number; maxMediums: number; }, { id: "f8" | "f30" | "f60" | "f120" | "f250" | "f500"; label: string; minMediums: number; maxMediums: number; }>>>; excessBlocks: z.ZodNumber; }, "strict", z.ZodTypeAny, { id: "f8" | "f30" | "f60" | "f120" | "f250" | "f500"; label: string; minMediums: number; maxMediums: number; excessBlocks: number; mediumCount: number; next?: { id: "f8" | "f30" | "f60" | "f120" | "f250" | "f500"; label: string; minMediums: number; maxMediums: number; } | null | undefined; }, { id: "f8" | "f30" | "f60" | "f120" | "f250" | "f500"; label: string; minMediums: number; maxMediums: number; excessBlocks: number; mediumCount: number; next?: { id: "f8" | "f30" | "f60" | "f120" | "f250" | "f500"; label: string; minMediums: number; maxMediums: number; } | null | undefined; }>; plugins: z.ZodArray; name: z.ZodString; description: z.ZodOptional; state: z.ZodEnum<["available", "coming_soon", "active", "locked"]>; price: z.ZodOptional; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; effective: z.ZodOptional; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>>; amountKind: z.ZodOptional>; }, "strict", z.ZodTypeAny, { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; }, { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; }>>; year: z.ZodOptional; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; effective: z.ZodOptional; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>>; amountKind: z.ZodOptional>; }, "strict", z.ZodTypeAny, { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; }, { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; }>>; }, "strict", z.ZodTypeAny, { month?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; year?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; }, { month?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; year?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; }>>; note: z.ZodOptional; selected: z.ZodOptional; }, "strict", z.ZodTypeAny, { id: "whatsapp" | "financeiro" | "estoque" | "relatorios"; name: string; state: "active" | "available" | "coming_soon" | "locked"; note?: string | undefined; selected?: boolean | undefined; description?: string | undefined; price?: { month?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; year?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; } | undefined; }, { id: "whatsapp" | "financeiro" | "estoque" | "relatorios"; name: string; state: "active" | "available" | "coming_soon" | "locked"; note?: string | undefined; selected?: boolean | undefined; description?: string | undefined; price?: { month?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; year?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; } | undefined; }>, "many">; quote: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{ status: z.ZodLiteral<"loading">; }, "strict", z.ZodTypeAny, { status: "loading"; }, { status: "loading"; }>, z.ZodObject<{ status: z.ZodLiteral<"error">; message: z.ZodOptional; }, "strict", z.ZodTypeAny, { status: "error"; message?: string | undefined; }, { status: "error"; message?: string | undefined; }>, z.ZodObject<{ status: z.ZodLiteral<"ready">; quotes: z.ZodObject<{ month: z.ZodOptional; softwareList: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; whatsapp: z.ZodNullable; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>>; overage: z.ZodNullable; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; whatsapp: z.ZodNullable; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>>; extraMessages: z.ZodNumber; }, "strict", z.ZodTypeAny, { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; }, { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; }>>; lever: z.ZodEnum<["none", "pack", "annual"]>; leverLabel: z.ZodString; softwareEffective: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; servicesTotal: z.ZodOptional; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>>; monthlyTotal: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; chargeTotal: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; savings: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; perMedium: z.ZodNullable; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; }, "strict", z.ZodTypeAny, { mediums: number; amount: { currency: "BRL"; cents: number; }; }, { mediums: number; amount: { currency: "BRL"; cents: number; }; }>>; trialDays: z.ZodOptional>; leverCapped: z.ZodBoolean; packEligible: z.ZodOptional; packMissing: z.ZodOptional, "many">>; }, "strict", z.ZodTypeAny, { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; }, { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; }>>; year: z.ZodOptional; softwareList: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; whatsapp: z.ZodNullable; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>>; overage: z.ZodNullable; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; whatsapp: z.ZodNullable; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>>; extraMessages: z.ZodNumber; }, "strict", z.ZodTypeAny, { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; }, { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; }>>; lever: z.ZodEnum<["none", "pack", "annual"]>; leverLabel: z.ZodString; softwareEffective: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; servicesTotal: z.ZodOptional; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>>; monthlyTotal: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; chargeTotal: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; savings: z.ZodObject<{ cents: z.ZodNumber; currency: z.ZodLiteral<"BRL">; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; perMedium: z.ZodNullable; }, "strict", z.ZodTypeAny, { currency: "BRL"; cents: number; }, { currency: "BRL"; cents: number; }>; }, "strict", z.ZodTypeAny, { mediums: number; amount: { currency: "BRL"; cents: number; }; }, { mediums: number; amount: { currency: "BRL"; cents: number; }; }>>; trialDays: z.ZodOptional>; leverCapped: z.ZodBoolean; packEligible: z.ZodOptional; packMissing: z.ZodOptional, "many">>; }, "strict", z.ZodTypeAny, { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; }, { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; }>>; }, "strict", z.ZodTypeAny, { month?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; year?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; }, { month?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; year?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; }>; stale: z.ZodOptional; }, "strict", z.ZodTypeAny, { quotes: { month?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; year?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; }; status: "ready"; stale?: boolean | undefined; }, { quotes: { month?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; year?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; }; status: "ready"; stale?: boolean | undefined; }>]>; interval: z.ZodEnum<["month", "year"]>; renewalDate: z.ZodOptional>; isPartnerGranted: z.ZodOptional; canManageBilling: z.ZodBoolean; }, "strict", z.ZodTypeAny, { status: "none" | "active" | "trialing" | "past_due" | "canceled"; interval: "month" | "year"; pricingModel: "bands_v1"; band: { id: "f8" | "f30" | "f60" | "f120" | "f250" | "f500"; label: string; minMediums: number; maxMediums: number; excessBlocks: number; mediumCount: number; next?: { id: "f8" | "f30" | "f60" | "f120" | "f250" | "f500"; label: string; minMediums: number; maxMediums: number; } | null | undefined; }; plugins: { id: "whatsapp" | "financeiro" | "estoque" | "relatorios"; name: string; state: "active" | "available" | "coming_soon" | "locked"; note?: string | undefined; selected?: boolean | undefined; description?: string | undefined; price?: { month?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; year?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; } | undefined; }[]; quote: { status: "loading"; } | { status: "error"; message?: string | undefined; } | { quotes: { month?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; year?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; }; status: "ready"; stale?: boolean | undefined; }; trialEnd: string | null; hasPaymentMethod: boolean; canManageBilling: boolean; statusLabel?: string | undefined; renewalDate?: string | null | undefined; isPartnerGranted?: boolean | undefined; }, { status: "none" | "active" | "trialing" | "past_due" | "canceled"; interval: "month" | "year"; pricingModel: "bands_v1"; band: { id: "f8" | "f30" | "f60" | "f120" | "f250" | "f500"; label: string; minMediums: number; maxMediums: number; excessBlocks: number; mediumCount: number; next?: { id: "f8" | "f30" | "f60" | "f120" | "f250" | "f500"; label: string; minMediums: number; maxMediums: number; } | null | undefined; }; plugins: { id: "whatsapp" | "financeiro" | "estoque" | "relatorios"; name: string; state: "active" | "available" | "coming_soon" | "locked"; note?: string | undefined; selected?: boolean | undefined; description?: string | undefined; price?: { month?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; year?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; } | undefined; }[]; quote: { status: "loading"; } | { status: "error"; message?: string | undefined; } | { quotes: { month?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; year?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; }; status: "ready"; stale?: boolean | undefined; }; trialEnd: string | null; hasPaymentMethod: boolean; canManageBilling: boolean; statusLabel?: string | undefined; renewalDate?: string | null | undefined; isPartnerGranted?: boolean | undefined; }>]>>; onIntervalChange: z.ZodOptional], null>, z.ZodVoid>>; onRetryQuote: z.ZodOptional, z.ZodVoid>>; readOnly: z.ZodOptional; readOnlyNotice: z.ZodOptional; }, "strip", z.ZodTypeAny, { planManagement: { activePlan: { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }; otherPlans: { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }[]; usageLabel: string; isPartnerGranted?: boolean | undefined; }; isPersonalProfile: boolean; onChangePlan: (args_0: { tier: string; interval: "month" | "year"; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; }) => void; readOnly?: boolean | undefined; onBack?: (() => void) | undefined; subscription?: { planManagement: { activePlan: { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }; otherPlans: { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }[]; usageLabel: string; isPartnerGranted?: boolean | undefined; }; pricingModel: "legacy"; grandfathered?: { label: string; until: string; } | null | undefined; } | { status: "none" | "active" | "trialing" | "past_due" | "canceled"; interval: "month" | "year"; pricingModel: "bands_v1"; band: { id: "f8" | "f30" | "f60" | "f120" | "f250" | "f500"; label: string; minMediums: number; maxMediums: number; excessBlocks: number; mediumCount: number; next?: { id: "f8" | "f30" | "f60" | "f120" | "f250" | "f500"; label: string; minMediums: number; maxMediums: number; } | null | undefined; }; plugins: { id: "whatsapp" | "financeiro" | "estoque" | "relatorios"; name: string; state: "active" | "available" | "coming_soon" | "locked"; note?: string | undefined; selected?: boolean | undefined; description?: string | undefined; price?: { month?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; year?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; } | undefined; }[]; quote: { status: "loading"; } | { status: "error"; message?: string | undefined; } | { quotes: { month?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; year?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; }; status: "ready"; stale?: boolean | undefined; }; trialEnd: string | null; hasPaymentMethod: boolean; canManageBilling: boolean; statusLabel?: string | undefined; renewalDate?: string | null | undefined; isPartnerGranted?: boolean | undefined; } | undefined; onRetryQuote?: (() => void) | undefined; billingInterval?: "month" | "year" | null | undefined; onManageBilling?: (() => void) | undefined; onIntervalChange?: ((args_0: "month" | "year") => void) | undefined; readOnlyNotice?: string | undefined; }, { planManagement: { activePlan: { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }; otherPlans: { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }[]; usageLabel: string; isPartnerGranted?: boolean | undefined; }; onChangePlan: (args_0: { tier: string; interval: "month" | "year"; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; }) => void; readOnly?: boolean | undefined; onBack?: (() => void) | undefined; isPersonalProfile?: boolean | undefined; subscription?: { planManagement: { activePlan: { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }; otherPlans: { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }[]; usageLabel: string; isPartnerGranted?: boolean | undefined; }; pricingModel: "legacy"; grandfathered?: { label: string; until: string; } | null | undefined; } | { status: "none" | "active" | "trialing" | "past_due" | "canceled"; interval: "month" | "year"; pricingModel: "bands_v1"; band: { id: "f8" | "f30" | "f60" | "f120" | "f250" | "f500"; label: string; minMediums: number; maxMediums: number; excessBlocks: number; mediumCount: number; next?: { id: "f8" | "f30" | "f60" | "f120" | "f250" | "f500"; label: string; minMediums: number; maxMediums: number; } | null | undefined; }; plugins: { id: "whatsapp" | "financeiro" | "estoque" | "relatorios"; name: string; state: "active" | "available" | "coming_soon" | "locked"; note?: string | undefined; selected?: boolean | undefined; description?: string | undefined; price?: { month?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; year?: { list: { currency: "BRL"; cents: number; }; effective?: { currency: "BRL"; cents: number; } | undefined; amountKind?: "monthly_equivalent" | "interval_charge_total" | undefined; } | undefined; } | undefined; }[]; quote: { status: "loading"; } | { status: "error"; message?: string | undefined; } | { quotes: { month?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; year?: { interval: "month" | "year"; whatsapp: { currency: "BRL"; cents: number; } | null; softwareList: { currency: "BRL"; cents: number; }; overage: { whatsapp: { currency: "BRL"; cents: number; } | null; excessBlocks: number; software: { currency: "BRL"; cents: number; }; extraMessages: number; } | null; lever: "none" | "pack" | "annual"; leverLabel: string; softwareEffective: { currency: "BRL"; cents: number; }; monthlyTotal: { currency: "BRL"; cents: number; }; chargeTotal: { currency: "BRL"; cents: number; }; savings: { currency: "BRL"; cents: number; }; perMedium: { mediums: number; amount: { currency: "BRL"; cents: number; }; } | null; leverCapped: boolean; trialDays?: number | null | undefined; servicesTotal?: { currency: "BRL"; cents: number; } | undefined; packEligible?: boolean | undefined; packMissing?: ("whatsapp" | "financeiro" | "estoque" | "relatorios")[] | undefined; } | undefined; }; status: "ready"; stale?: boolean | undefined; }; trialEnd: string | null; hasPaymentMethod: boolean; canManageBilling: boolean; statusLabel?: string | undefined; renewalDate?: string | null | undefined; isPartnerGranted?: boolean | undefined; } | undefined; onRetryQuote?: (() => void) | undefined; billingInterval?: "month" | "year" | null | undefined; onManageBilling?: (() => void) | undefined; onIntervalChange?: ((args_0: "month" | "year") => void) | undefined; readOnlyNotice?: string | undefined; }>; type PlanManagementPageProps = z.infer; declare const PlanManagementPage: React__default.FC; declare const usePlanManagementPage: (props: PlanManagementPageProps) => { data: { selectedInterval: "month" | "year"; activePlan: { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }; usageLabel: string; otherPlansSorted: { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; statusLabel?: string | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; isPartnerGranted?: boolean | undefined; }[]; isPartnerGranted: boolean; canManageBilling: boolean; activePriceCents: number; activeCostPerMediumCents: number | null; }; fns: { handleIntervalChange: (value: string) => void; handleChangePlan: (plan: PlanCardViewModel) => void; handleManageBilling: () => void; canSubscribe: (plan: PlanCardViewModel) => boolean; resolveIntervalPriceCents: (plan: PlanCardViewModel) => number; resolveIntervalCostPerMedium: (plan: PlanCardViewModel) => number | null; }; }; declare const NotificationSettingsSchema: z.ZodObject<{ email: z.ZodBoolean; push: z.ZodBoolean; sms: z.ZodBoolean; inApp: z.ZodBoolean; whatsapp: z.ZodDefault; }, "strip", z.ZodTypeAny, { push: boolean; email: boolean; sms: boolean; inApp: boolean; whatsapp: boolean; }, { push: boolean; email: boolean; sms: boolean; inApp: boolean; whatsapp?: boolean | undefined; }>; type NotificationSettings = z.infer; declare const NotificationTypePreferenceSchema: z.ZodObject<{ type: z.ZodString; push: z.ZodBoolean; }, "strip", z.ZodTypeAny, { push: boolean; type: string; }, { push: boolean; type: string; }>; type NotificationTypePreference = z.infer; declare const PushPermissionStateSchema: z.ZodEnum<["granted", "denied", "default", "unsupported"]>; type PushPermissionState = z.infer; declare const NotificationSettingsPagePropsSchema: z.ZodObject<{ currentNotifications: z.ZodObject<{ email: z.ZodBoolean; push: z.ZodBoolean; sms: z.ZodBoolean; inApp: z.ZodBoolean; whatsapp: z.ZodDefault; }, "strip", z.ZodTypeAny, { push: boolean; email: boolean; sms: boolean; inApp: boolean; whatsapp: boolean; }, { push: boolean; email: boolean; sms: boolean; inApp: boolean; whatsapp?: boolean | undefined; }>; onNotificationChange: z.ZodFunction, z.ZodBoolean], null>, z.ZodVoid>; pushPermission: z.ZodOptional>; typePreferences: z.ZodOptional, "many">>; onTypePushChange: z.ZodOptional, z.ZodVoid>>; canUseWhatsAppNotifications: z.ZodDefault>; onBack: z.ZodOptional, z.ZodVoid>>; }, "strip", z.ZodTypeAny, { canUseWhatsAppNotifications: boolean; currentNotifications: { push: boolean; email: boolean; sms: boolean; inApp: boolean; whatsapp: boolean; }; onNotificationChange: (args_0: "push" | "email" | "sms" | "inApp" | "whatsapp", args_1: boolean) => void; pushPermission?: "default" | "granted" | "denied" | "unsupported" | undefined; typePreferences?: { push: boolean; type: string; }[] | undefined; onBack?: (() => void) | undefined; onTypePushChange?: ((args_0: string, args_1: boolean) => void) | undefined; }, { currentNotifications: { push: boolean; email: boolean; sms: boolean; inApp: boolean; whatsapp?: boolean | undefined; }; onNotificationChange: (args_0: "push" | "email" | "sms" | "inApp" | "whatsapp", args_1: boolean) => void; canUseWhatsAppNotifications?: boolean | undefined; pushPermission?: "default" | "granted" | "denied" | "unsupported" | undefined; typePreferences?: { push: boolean; type: string; }[] | undefined; onBack?: (() => void) | undefined; onTypePushChange?: ((args_0: string, args_1: boolean) => void) | undefined; }>; type NotificationSettingsPageProps = z.infer; declare const NotificationSettingsPage: React__default.FC; declare const useNotificationSettingsPage: (props: NotificationSettingsPageProps) => { data: { currentNotifications: { whatsapp: boolean; push: boolean; email: boolean; sms: boolean; inApp: boolean; }; pushPermission: "default" | "granted" | "denied" | "unsupported"; typePreferences: { push: boolean; type: string; }[]; canUseWhatsAppNotifications: boolean; preferenceMap: Map; }; fns: { handleNotificationChange: (type: "email" | "push" | "sms" | "inApp" | "whatsapp", value: boolean) => void; handleTypePushChange: (type: string, enabled: boolean) => void; }; }; declare const TerreiroPolicyPagePropsSchema: z.ZodObject<{ policy: z.ZodOptional; key: z.ZodString; title: z.ZodString; markdown: z.ZodString; version: z.ZodOptional; updatedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; source: "SYSTEM" | "CUSTOM"; key: string; markdown: string; version?: number | undefined; updatedAt?: string | undefined; }, { title: string; source: "SYSTEM" | "CUSTOM"; key: string; markdown: string; version?: number | undefined; updatedAt?: string | undefined; }>>>; canManage: z.ZodDefault>; isLoading: z.ZodDefault>; isSaving: z.ZodDefault>; onSaveCustomPolicy: z.ZodOptional], null>, z.ZodVoid>>; onChangeSource: z.ZodOptional], null>, z.ZodVoid>>; onBack: z.ZodOptional, z.ZodVoid>>; }, "strip", z.ZodTypeAny, { isLoading: boolean; isSaving: boolean; canManage: boolean; onBack?: (() => void) | undefined; policy?: { title: string; source: "SYSTEM" | "CUSTOM"; key: string; markdown: string; version?: number | undefined; updatedAt?: string | undefined; } | null | undefined; onSaveCustomPolicy?: ((args_0: { title: string; markdown: string; }) => void) | undefined; onChangeSource?: ((args_0: "SYSTEM" | "CUSTOM") => void) | undefined; }, { onBack?: (() => void) | undefined; isLoading?: boolean | undefined; isSaving?: boolean | undefined; policy?: { title: string; source: "SYSTEM" | "CUSTOM"; key: string; markdown: string; version?: number | undefined; updatedAt?: string | undefined; } | null | undefined; canManage?: boolean | undefined; onSaveCustomPolicy?: ((args_0: { title: string; markdown: string; }) => void) | undefined; onChangeSource?: ((args_0: "SYSTEM" | "CUSTOM") => void) | undefined; }>; type TerreiroPolicyPageProps = z.infer; declare const TerreiroPolicyPage: React__default.FC; declare const useTerreiroPolicyPage: (props: TerreiroPolicyPageProps) => { data: { policy: { title: string; source: "SYSTEM" | "CUSTOM"; key: string; markdown: string; version?: number | undefined; updatedAt?: string | undefined; } | null | undefined; canManage: boolean; isLoading: boolean; isSaving: boolean; isCustom: boolean; draftTitle: string; draftMarkdown: string; canSaveCustomPolicy: boolean; canChangeSource: boolean; previewTitle: string | undefined; previewMarkdown: string | undefined; }; fns: { setDraftTitle: React$1.Dispatch>; setDraftMarkdown: React$1.Dispatch>; handleSave: () => void; handleChangeSource: () => void; }; }; declare const DetailedPermissionSchema: z.ZodObject<{ id: z.ZodString; code: z.ZodString; name: z.ZodString; description: z.ZodNullable; category: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; code: string; name: string; description: string | null; category: string; }, { id: string; code: string; name: string; description: string | null; category: string; }>; declare const RoleInfoSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; slug: z.ZodOptional>; description: z.ZodNullable; }, "strip", z.ZodTypeAny, { id: string; name: string; description: string | null; slug?: string | null | undefined; }, { id: string; name: string; description: string | null; slug?: string | null | undefined; }>; declare const PermissionStatsSchema: z.ZodObject<{ totalPermissions: z.ZodNumber; categoriesCount: z.ZodNumber; rolesCount: z.ZodNumber; }, "strip", z.ZodTypeAny, { totalPermissions: number; categoriesCount: number; rolesCount: number; }, { totalPermissions: number; categoriesCount: number; rolesCount: number; }>; declare const MyPermissionsDetailedSchema: z.ZodObject<{ userId: z.ZodString; terreiroId: z.ZodString; hasFullAccess: z.ZodBoolean; roles: z.ZodArray>; description: z.ZodNullable; }, "strip", z.ZodTypeAny, { id: string; name: string; description: string | null; slug?: string | null | undefined; }, { id: string; name: string; description: string | null; slug?: string | null | undefined; }>, "many">; permissions: z.ZodArray; category: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; code: string; name: string; description: string | null; category: string; }, { id: string; code: string; name: string; description: string | null; category: string; }>, "many">; permissionsByCategory: z.ZodRecord; category: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; code: string; name: string; description: string | null; category: string; }, { id: string; code: string; name: string; description: string | null; category: string; }>, "many">>; stats: z.ZodObject<{ totalPermissions: z.ZodNumber; categoriesCount: z.ZodNumber; rolesCount: z.ZodNumber; }, "strip", z.ZodTypeAny, { totalPermissions: number; categoriesCount: number; rolesCount: number; }, { totalPermissions: number; categoriesCount: number; rolesCount: number; }>; }, "strip", z.ZodTypeAny, { roles: { id: string; name: string; description: string | null; slug?: string | null | undefined; }[]; userId: string; terreiroId: string; permissions: { id: string; code: string; name: string; description: string | null; category: string; }[]; stats: { totalPermissions: number; categoriesCount: number; rolesCount: number; }; hasFullAccess: boolean; permissionsByCategory: Record; }, { roles: { id: string; name: string; description: string | null; slug?: string | null | undefined; }[]; userId: string; terreiroId: string; permissions: { id: string; code: string; name: string; description: string | null; category: string; }[]; stats: { totalPermissions: number; categoriesCount: number; rolesCount: number; }; hasFullAccess: boolean; permissionsByCategory: Record; }>; declare const MyPermissionsPagePropsSchema: z.ZodObject<{ /** Detailed permissions data */ data: z.ZodNullable>; description: z.ZodNullable; }, "strip", z.ZodTypeAny, { id: string; name: string; description: string | null; slug?: string | null | undefined; }, { id: string; name: string; description: string | null; slug?: string | null | undefined; }>, "many">; permissions: z.ZodArray; category: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; code: string; name: string; description: string | null; category: string; }, { id: string; code: string; name: string; description: string | null; category: string; }>, "many">; permissionsByCategory: z.ZodRecord; category: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; code: string; name: string; description: string | null; category: string; }, { id: string; code: string; name: string; description: string | null; category: string; }>, "many">>; stats: z.ZodObject<{ totalPermissions: z.ZodNumber; categoriesCount: z.ZodNumber; rolesCount: z.ZodNumber; }, "strip", z.ZodTypeAny, { totalPermissions: number; categoriesCount: number; rolesCount: number; }, { totalPermissions: number; categoriesCount: number; rolesCount: number; }>; }, "strip", z.ZodTypeAny, { roles: { id: string; name: string; description: string | null; slug?: string | null | undefined; }[]; userId: string; terreiroId: string; permissions: { id: string; code: string; name: string; description: string | null; category: string; }[]; stats: { totalPermissions: number; categoriesCount: number; rolesCount: number; }; hasFullAccess: boolean; permissionsByCategory: Record; }, { roles: { id: string; name: string; description: string | null; slug?: string | null | undefined; }[]; userId: string; terreiroId: string; permissions: { id: string; code: string; name: string; description: string | null; category: string; }[]; stats: { totalPermissions: number; categoriesCount: number; rolesCount: number; }; hasFullAccess: boolean; permissionsByCategory: Record; }>>>; /** Loading state */ isLoading: z.ZodOptional; /** Error message */ error: z.ZodNullable>; /** Back button callback */ onBack: z.ZodOptional, z.ZodVoid>>; }, "strip", z.ZodTypeAny, { data?: { roles: { id: string; name: string; description: string | null; slug?: string | null | undefined; }[]; userId: string; terreiroId: string; permissions: { id: string; code: string; name: string; description: string | null; category: string; }[]; stats: { totalPermissions: number; categoriesCount: number; rolesCount: number; }; hasFullAccess: boolean; permissionsByCategory: Record; } | null | undefined; error?: string | null | undefined; onBack?: ((...args: unknown[]) => void) | undefined; isLoading?: boolean | undefined; }, { data?: { roles: { id: string; name: string; description: string | null; slug?: string | null | undefined; }[]; userId: string; terreiroId: string; permissions: { id: string; code: string; name: string; description: string | null; category: string; }[]; stats: { totalPermissions: number; categoriesCount: number; rolesCount: number; }; hasFullAccess: boolean; permissionsByCategory: Record; } | null | undefined; error?: string | null | undefined; onBack?: ((...args: unknown[]) => void) | undefined; isLoading?: boolean | undefined; }>; type DetailedPermission = z.infer; type RoleInfo = z.infer; type PermissionStats = z.infer; type MyPermissionsDetailed = z.infer; type MyPermissionsPageProps = z.infer; /** * MyPermissionsPage Component * * Displays user's permissions in a terreiro, organized by category. * Shows assigned roles and full permission details with search functionality. */ declare const MyPermissionsPage: React__default.FC; type CategoryPresentation = { label: string; icon: string; }; /** * Business logic hook for MyPermissionsPage * Handles search, filtering, and category expansion */ declare const useMyPermissionsPage: (props: MyPermissionsPageProps) => { data: { myPermissions: { roles: { id: string; name: string; description: string | null; slug?: string | null | undefined; }[]; userId: string; terreiroId: string; permissions: { id: string; code: string; name: string; description: string | null; category: string; }[]; stats: { totalPermissions: number; categoriesCount: number; rolesCount: number; }; hasFullAccess: boolean; permissionsByCategory: Record; } | null | undefined; isLoading: boolean; error: string | null; searchTerm: string; expandedCategories: Set; filteredPermissions: { id: string; code: string; name: string; description: string | null; category: string; }[]; filteredCategories: Record; sortedCategoryKeys: string[]; getCategoryPresentation: (category: string) => CategoryPresentation; hasData: boolean; hasPermissions: boolean; hasSearch: boolean; hasResults: boolean; }; fns: { setSearchTerm: React$1.Dispatch>; handleToggleCategory: (category: string) => void; handleExpandAll: () => void; handleCollapseAll: () => void; handleClearSearch: () => void; handleBack: () => void; }; }; declare const InviteLandingViewStateSchema: z.ZodEnum<["loading", "error", "expired", "consent", "submitting", "success", "unauthenticated"]>; type InviteLandingViewState = z.infer; /** Monthly fee information from the terreiro */ declare const MonthlyFeeInfoSchema: z.ZodObject<{ /** Fee amount as a number (e.g. 50.00) */ amount: z.ZodNumber; /** Day of the month the fee is due (1-31) */ dueDay: z.ZodNumber; /** Payment method label (e.g. "PIX", "Transferência") */ paymentMethod: z.ZodNullable>; }, "strip", z.ZodTypeAny, { amount: number; dueDay: number; paymentMethod?: string | null | undefined; }, { amount: number; dueDay: number; paymentMethod?: string | null | undefined; }>; type MonthlyFeeInfo = z.infer; /** Public terreiro information resolved from the invite code */ declare const InviteTerreiroInfoSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; imageUrl: z.ZodNullable>; privacyPolicyUrl: z.ZodNullable>; policyContent: z.ZodNullable, z.ZodLiteral<"CUSTOM">]>; key: z.ZodString; title: z.ZodString; markdown: z.ZodString; version: z.ZodOptional; updatedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; source: "SYSTEM" | "CUSTOM"; key: string; markdown: string; version?: number | undefined; updatedAt?: string | undefined; }, { title: string; source: "SYSTEM" | "CUSTOM"; key: string; markdown: string; version?: number | undefined; updatedAt?: string | undefined; }>>>; /** Latest monthly fee, if any */ monthlyFee: z.ZodNullable>; }, "strip", z.ZodTypeAny, { amount: number; dueDay: number; paymentMethod?: string | null | undefined; }, { amount: number; dueDay: number; paymentMethod?: string | null | undefined; }>>>; inviteExpiresAt: z.ZodOptional; inviteUsageMode: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; name: string; imageUrl?: string | null | undefined; monthlyFee?: { amount: number; dueDay: number; paymentMethod?: string | null | undefined; } | null | undefined; privacyPolicyUrl?: string | null | undefined; policyContent?: { title: string; source: "SYSTEM" | "CUSTOM"; key: string; markdown: string; version?: number | undefined; updatedAt?: string | undefined; } | null | undefined; inviteExpiresAt?: string | undefined; inviteUsageMode?: "single_use" | "multi_until_expiry" | undefined; }, { id: string; name: string; imageUrl?: string | null | undefined; monthlyFee?: { amount: number; dueDay: number; paymentMethod?: string | null | undefined; } | null | undefined; privacyPolicyUrl?: string | null | undefined; policyContent?: { title: string; source: "SYSTEM" | "CUSTOM"; key: string; markdown: string; version?: number | undefined; updatedAt?: string | undefined; } | null | undefined; inviteExpiresAt?: string | undefined; inviteUsageMode?: "single_use" | "multi_until_expiry" | undefined; }>; type InviteTerreiroInfo = z.infer; declare const InviteLandingPagePropsSchema: z.ZodObject<{ /** Resolved terreiro info (null while loading or on error) */ terreiro: z.ZodNullable>; privacyPolicyUrl: z.ZodNullable>; policyContent: z.ZodNullable, z.ZodLiteral<"CUSTOM">]>; key: z.ZodString; title: z.ZodString; markdown: z.ZodString; version: z.ZodOptional; updatedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; source: "SYSTEM" | "CUSTOM"; key: string; markdown: string; version?: number | undefined; updatedAt?: string | undefined; }, { title: string; source: "SYSTEM" | "CUSTOM"; key: string; markdown: string; version?: number | undefined; updatedAt?: string | undefined; }>>>; /** Latest monthly fee, if any */ monthlyFee: z.ZodNullable>; }, "strip", z.ZodTypeAny, { amount: number; dueDay: number; paymentMethod?: string | null | undefined; }, { amount: number; dueDay: number; paymentMethod?: string | null | undefined; }>>>; inviteExpiresAt: z.ZodOptional; inviteUsageMode: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; name: string; imageUrl?: string | null | undefined; monthlyFee?: { amount: number; dueDay: number; paymentMethod?: string | null | undefined; } | null | undefined; privacyPolicyUrl?: string | null | undefined; policyContent?: { title: string; source: "SYSTEM" | "CUSTOM"; key: string; markdown: string; version?: number | undefined; updatedAt?: string | undefined; } | null | undefined; inviteExpiresAt?: string | undefined; inviteUsageMode?: "single_use" | "multi_until_expiry" | undefined; }, { id: string; name: string; imageUrl?: string | null | undefined; monthlyFee?: { amount: number; dueDay: number; paymentMethod?: string | null | undefined; } | null | undefined; privacyPolicyUrl?: string | null | undefined; policyContent?: { title: string; source: "SYSTEM" | "CUSTOM"; key: string; markdown: string; version?: number | undefined; updatedAt?: string | undefined; } | null | undefined; inviteExpiresAt?: string | undefined; inviteUsageMode?: "single_use" | "multi_until_expiry" | undefined; }>>>; /** The invite code from the URL */ inviteCode: z.ZodOptional; isLoading: z.ZodOptional; isSubmitting: z.ZodOptional; isSuccess: z.ZodOptional; error: z.ZodNullable>; isExpired: z.ZodOptional; expiredReason: z.ZodOptional>; /** Whether the user is currently authenticated. When false, auth CTA buttons are shown instead of consent form */ isAuthenticated: z.ZodOptional; /** Called when user submits the join request with consent */ onJoinRequest: z.ZodOptional; feeDueDaySnapshot: z.ZodOptional; }, "strip", z.ZodTypeAny, { acceptedPrivacyPolicy: boolean; acknowledgedFee: boolean; feeAmountSnapshot?: number | undefined; feeDueDaySnapshot?: number | undefined; }, { acceptedPrivacyPolicy: boolean; acknowledgedFee: boolean; feeAmountSnapshot?: number | undefined; feeDueDaySnapshot?: number | undefined; }>], null>, z.ZodVoid>>; /** Called when user taps the back / go home button */ onBack: z.ZodOptional, z.ZodVoid>>; /** Called when user wants to navigate to "my terreiros" after success */ onGoToTerreiros: z.ZodOptional, z.ZodVoid>>; /** Called when unauthenticated user wants to sign in */ onSignIn: z.ZodOptional, z.ZodVoid>>; /** Called when unauthenticated user wants to create an account via form */ onSignUp: z.ZodOptional, z.ZodVoid>>; /** Called when unauthenticated user wants to create an account with Google */ onSignUpWithGoogle: z.ZodOptional, z.ZodVoid>>; /** Called when unauthenticated user wants to create an account with Facebook */ onSignUpWithFacebook: z.ZodOptional, z.ZodVoid>>; }, "strip", z.ZodTypeAny, { error?: string | null | undefined; onBack?: (() => void) | undefined; terreiro?: { id: string; name: string; imageUrl?: string | null | undefined; monthlyFee?: { amount: number; dueDay: number; paymentMethod?: string | null | undefined; } | null | undefined; privacyPolicyUrl?: string | null | undefined; policyContent?: { title: string; source: "SYSTEM" | "CUSTOM"; key: string; markdown: string; version?: number | undefined; updatedAt?: string | undefined; } | null | undefined; inviteExpiresAt?: string | undefined; inviteUsageMode?: "single_use" | "multi_until_expiry" | undefined; } | null | undefined; isSubmitting?: boolean | undefined; isLoading?: boolean | undefined; inviteCode?: string | undefined; isExpired?: boolean | undefined; isSuccess?: boolean | undefined; expiredReason?: "expired" | "consumed" | "revoked" | undefined; isAuthenticated?: boolean | undefined; onJoinRequest?: ((args_0: { acceptedPrivacyPolicy: boolean; acknowledgedFee: boolean; feeAmountSnapshot?: number | undefined; feeDueDaySnapshot?: number | undefined; }) => void) | undefined; onGoToTerreiros?: (() => void) | undefined; onSignIn?: (() => void) | undefined; onSignUp?: (() => void) | undefined; onSignUpWithGoogle?: (() => void) | undefined; onSignUpWithFacebook?: (() => void) | undefined; }, { error?: string | null | undefined; onBack?: (() => void) | undefined; terreiro?: { id: string; name: string; imageUrl?: string | null | undefined; monthlyFee?: { amount: number; dueDay: number; paymentMethod?: string | null | undefined; } | null | undefined; privacyPolicyUrl?: string | null | undefined; policyContent?: { title: string; source: "SYSTEM" | "CUSTOM"; key: string; markdown: string; version?: number | undefined; updatedAt?: string | undefined; } | null | undefined; inviteExpiresAt?: string | undefined; inviteUsageMode?: "single_use" | "multi_until_expiry" | undefined; } | null | undefined; isSubmitting?: boolean | undefined; isLoading?: boolean | undefined; inviteCode?: string | undefined; isExpired?: boolean | undefined; isSuccess?: boolean | undefined; expiredReason?: "expired" | "consumed" | "revoked" | undefined; isAuthenticated?: boolean | undefined; onJoinRequest?: ((args_0: { acceptedPrivacyPolicy: boolean; acknowledgedFee: boolean; feeAmountSnapshot?: number | undefined; feeDueDaySnapshot?: number | undefined; }) => void) | undefined; onGoToTerreiros?: (() => void) | undefined; onSignIn?: (() => void) | undefined; onSignUp?: (() => void) | undefined; onSignUpWithGoogle?: (() => void) | undefined; onSignUpWithFacebook?: (() => void) | undefined; }>; type InviteLandingPageProps = z.infer; declare const InviteLandingPage: React__default.FC; declare const useInviteLandingPage: (props: InviteLandingPageProps) => { data: { viewState: "error" | "success" | "loading" | "submitting" | "expired" | "consent" | "unauthenticated"; terreiro: { id: string; name: string; imageUrl?: string | null | undefined; monthlyFee?: { amount: number; dueDay: number; paymentMethod?: string | null | undefined; } | null | undefined; privacyPolicyUrl?: string | null | undefined; policyContent?: { title: string; source: "SYSTEM" | "CUSTOM"; key: string; markdown: string; version?: number | undefined; updatedAt?: string | undefined; } | null | undefined; inviteExpiresAt?: string | undefined; inviteUsageMode?: "single_use" | "multi_until_expiry" | undefined; } | null | undefined; inviteCode: string | undefined; hasFee: boolean; hasPrivacyPolicy: boolean; acceptedPrivacyPolicy: boolean; acknowledgedFee: boolean; canSubmit: boolean; canProceedToAuth: boolean; showSignUpModal: boolean; isSubmitting: boolean; isAuthenticated: boolean; error: string | null | undefined; expiredCopy: { title: string; description: string; }; inviteUsageBanner: string | null; }; fns: { handleTogglePrivacyPolicy: () => void; handleToggleFeeAcknowledgement: () => void; handleJoinRequest: () => void; handleBack: () => void; handleGoToTerreiros: () => void; handleSignIn: () => void; handleSignUp: () => void; handleSignUpWithForm: () => void; handleSignUpWithGoogle: () => void; handleSignUpWithFacebook: () => void; handleCloseSignUpModal: () => void; }; }; type SocialHomeTab = "para-voce" | "seguindo"; type SocialHomePageProps = { /** Mixed for-you feed (experiences + questions). Preferred over `experiences`. */ feedItems?: SocialFeedItem[]; /** Mixed following feed. Preferred over `followingExperiences`. */ followingFeedItems?: SocialFeedItem[]; /** @deprecated Prefer feedItems. Flat experiences are wrapped as feed items. */ experiences?: Experience[]; /** @deprecated Prefer followingFeedItems. */ followingExperiences?: Experience[]; currentUser?: SocialHomeCurrentUser; /** When set, missing author on the viewer's own posts shows "Você". */ viewerUserId?: string; isLoading?: boolean; error?: string; hasNextPage?: boolean; isFetchingNextPage?: boolean; followingIsLoading?: boolean; followingError?: string; followingHasNextPage?: boolean; followingIsFetchingNextPage?: boolean; postGiraEventTitle?: string; alsoExperiencedLoadingId?: string | null; bottomNavActive?: "home" | "messages" | "notifications" | "search"; /** Unread direct messages (messaging inbox). */ messagesUnreadCount?: number; /** Unread Social notifications (excludes DMs). */ notificationsUnreadCount?: number; /** Inbound PENDING follow requests; shown on drawer Pedidos row. */ pendingFollowersCount?: number; onLoadMore?: () => void | Promise; onLoadMoreFollowing?: () => void | Promise; onRetry?: () => void; onRetryFollowing?: () => void; /** @deprecated Prefer onExitToApp from the account drawer. */ onBack?: () => void; onCreateExperience?: () => void; /** Opens nova pergunta create flow from the home create sheet. */ onCreateQuestion?: () => void; /** Opens messaging compose / inbox from the home create sheet. */ onComposeMessage?: () => void; /** Fired when the create FAB opens the actions sheet. */ onCreateFabOpen?: () => void; /** Fired when a create sheet option is chosen. */ onCreateOptionSelected?: (kind: "experience" | "question" | "message") => void; onOpenExperience?: (id: string) => void; onAlsoExperienced?: (id: string) => void; onReactionToggle?: (id: string, type: ExperienceReactionType) => void; onShareExperience?: (id: string) => void; onReportExperience?: (id: string) => void; onEditExperience?: (id: string, value: { content: string; title?: string | null; }) => void | Promise; onDeleteExperience?: (id: string) => void | Promise; onCommentExperience?: (id: string) => void; onBookmarkExperience?: (id: string) => void; onOpenQuestionAnswers?: (id: string) => void; onBookmarkQuestion?: (id: string) => void; onShareQuestion?: (id: string) => void; onReactionToggleQuestion?: (id: string, type: ExperienceReactionType) => void; onOpenPerson?: (userId: string, username?: string) => void; /** Comments sheet data for the open experience (presentational). */ comments?: ExperienceComment[]; commentsCount?: number; commentsLoading?: boolean; commentsFetchingMore?: boolean; commentsHasMore?: boolean; commentsSubmitting?: boolean; commentsError?: string | null; commentsComposerDisabled?: boolean; onLoadMoreComments?: () => void; onLoadMoreReplies?: (rootCommentId: string) => void | Promise; onSubmitComment?: (body: string, meta?: ExperienceCommentSubmitMeta) => void | Promise; onToggleCommentLike?: (comment: ExperienceComment) => void; onEditComment?: (comment: ExperienceComment, body: string) => void | Promise; onDeleteComment?: (comment: ExperienceComment) => void | Promise; onCloseComments?: () => void; onRetryComments?: () => void; answers?: QuestionAnswer[]; answersCount?: number; answersLoading?: boolean; answersSubmitting?: boolean; answersError?: string | null; onSubmitAnswer?: (content: string) => void | Promise; onCloseAnswers?: () => void; onRetryAnswers?: () => void; onPostGiraShare?: () => void; onPostGiraDismiss?: () => void; onOpenFollow?: () => void; /** Active feed visibility. Null shows every visibility the feed already returns. */ visibilityFilter?: SocialVisibility | null; onVisibilityFilterChange?: (value: SocialVisibility | null) => void; onOpenProfile?: () => void; onOpenSaved?: () => void; onOpenFollowing?: () => void; onOpenFollowers?: () => void; onOpenRequests?: () => void; onOpenVerificationProgress?: () => void; verificationSummary?: { verified: boolean; activeDays7: number; daysRequired: number; daysRemaining?: number | null; } | null; onExitToApp?: () => void; onNavigateHome?: () => void; onOpenMessages?: () => void; onOpenNotifications?: () => void; onOpenSearch?: () => void; /** Alias for search / Explorar until dedicated search exists. */ onDiscover?: () => void; onParaVoceMenu?: (action: string) => void; /** @deprecated Kept for app compile compat. */ questions?: Question[]; /** @deprecated Kept for app compile compat. */ similarPeople?: SimilarPerson[]; /** @deprecated Prefer onOpenQuestionAnswers. */ onOpenQuestion?: (id: string) => void; /** @deprecated */ onConnectPerson?: (userId: string) => void; }; declare const SocialHomePage: React__default.FC; declare const SocialOnboardingValuesSchema: z$1.ZodObject<{ username: z$1.ZodString; displayName: z$1.ZodOptional; traditionLabel: z$1.ZodOptional; bio: z$1.ZodOptional; avatarUrl: z$1.ZodOptional>; } & { profileVisibility: z$1.ZodEnum<["PRIVATE", "TERREIRO", "COMMUNITY"]>; }, "strip", z$1.ZodTypeAny, { username: string; profileVisibility: "TERREIRO" | "PRIVATE" | "COMMUNITY"; displayName?: string | undefined; avatarUrl?: string | null | undefined; traditionLabel?: string | undefined; bio?: string | undefined; }, { username: string; profileVisibility: "TERREIRO" | "PRIVATE" | "COMMUNITY"; displayName?: string | undefined; avatarUrl?: string | null | undefined; traditionLabel?: string | undefined; bio?: string | undefined; }>; type SocialOnboardingValues = z$1.infer; type SocialOnboardingInitialValues = Partial; type SocialOnboardingSummary = SocialOnboardingInitialValues; type SocialOnboardingStep = "social-identity" | "social-profile" | "social-privacy" | "review" | "complete"; type SocialOnboardingPageProps = { messages: FormChatMessage[]; currentStep?: SocialOnboardingStep; fieldInput?: FormChatFieldInput; fieldOptions?: FormChatListOption[]; selectedOption?: FormChatListOption; quickReplies?: string[]; summary?: SocialOnboardingSummary; activeField?: string; privacySelection?: SocialVisibility | null; privacyOptions?: SocialVisibility[]; isLoading?: boolean; error?: FormChatApiError | null; editInteraction?: FormChatEditInteraction; editingFieldLabel?: string; editableFieldOptions?: FormChatEditableFieldOption[]; confirmLabel?: string; onSendMessage: (message: string, options?: FormChatSendOptions) => void; onSelectOption?: (selection: FormChatSelectionPayload) => void; onPrivacyChange: (value: SocialVisibility) => void; onConfirm?: () => void; onEdit?: () => void; onEditField?: (fieldKey: string) => void; onCancelEdit?: () => void; onRetry?: () => void; onReset?: () => void; onBack?: () => void; }; declare const SOCIAL_ONBOARDING_STEP_LABELS: { readonly "social-identity": "Sua identidade"; readonly "social-profile": "Sobre sua jornada"; readonly "social-privacy": "Privacidade"; readonly review: "Revisão"; readonly complete: "Concluído"; }; declare const SOCIAL_ONBOARDING_STEP_ORDER: readonly ["social-identity", "social-profile", "social-privacy", "review"]; declare const SocialOnboardingPage: React__default.FC; type SocialOnboardingIntroStep = { id: string; title: string; description: string; imageSrc: string; imageAlt: string; }; declare const SOCIAL_ONBOARDING_INTRO_STEPS: SocialOnboardingIntroStep[]; type SocialOnboardingIntroProps = { steps?: SocialOnboardingIntroStep[]; initialStepIndex?: number; onComplete: () => void; onBack?: () => void; }; declare const SocialOnboardingIntro: React__default.FC; declare const CreateExperienceValuesSchema: z$1.ZodObject<{ content: z$1.ZodString; title: z$1.ZodOptional>; traditionLabel: z$1.ZodOptional>; category: z$1.ZodOptional>>; locationLabel: z$1.ZodOptional>; visibility: z$1.ZodEnum<["PRIVATE", "TERREIRO", "COMMUNITY"]>; eventId: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { content: string; visibility: "TERREIRO" | "PRIVATE" | "COMMUNITY"; title?: string | null | undefined; category?: "OTHER" | "DESENVOLVIMENTO" | "GIRA" | "INCORPORACAO" | "APRENDIZADO" | "SENTIMENTO" | "ANCESTRALIDADE" | "ESPIRITUALIDADE" | "DUVIDA_DESCOBERTA" | null | undefined; eventId?: string | null | undefined; traditionLabel?: string | null | undefined; locationLabel?: string | null | undefined; }, { content: string; visibility: "TERREIRO" | "PRIVATE" | "COMMUNITY"; title?: string | null | undefined; category?: "OTHER" | "DESENVOLVIMENTO" | "GIRA" | "INCORPORACAO" | "APRENDIZADO" | "SENTIMENTO" | "ANCESTRALIDADE" | "ESPIRITUALIDADE" | "DUVIDA_DESCOBERTA" | null | undefined; eventId?: string | null | undefined; traditionLabel?: string | null | undefined; locationLabel?: string | null | undefined; }>; type CreateExperienceValues = z$1.infer; type CreateExperienceSummary = Partial; type CreateExperienceStep = "social-experience" | "social-privacy" | "review" | "complete"; type CreateExperiencePageProps = { messages: FormChatMessage[]; currentStep?: CreateExperienceStep; fieldInput?: FormChatFieldInput; fieldOptions?: FormChatListOption[]; selectedOption?: FormChatListOption; quickReplies?: string[]; summary?: CreateExperienceSummary; activeField?: string; privacySelection?: SocialVisibility | null; privacyOptions?: SocialVisibility[]; eventTitle?: string; isLoading?: boolean; error?: FormChatApiError | null; editInteraction?: FormChatEditInteraction; editingFieldLabel?: string; editableFieldOptions?: FormChatEditableFieldOption[]; confirmLabel?: string; onSendMessage: (message: string, options?: FormChatSendOptions) => void; onSelectOption?: (selection: FormChatSelectionPayload) => void; onPrivacyChange: (value: SocialVisibility) => void; onConfirm?: () => void; onEdit?: () => void; onEditField?: (fieldKey: string) => void; onCancelEdit?: () => void; onRetry?: () => void; onReset?: () => void; onBack?: () => void; }; declare const CREATE_EXPERIENCE_STEP_LABELS: { readonly "social-experience": "Experiência"; readonly "social-privacy": "Privacidade"; readonly review: "Revisão"; readonly complete: "Concluído"; }; declare const CREATE_EXPERIENCE_STEP_ORDER: readonly ["social-experience", "social-privacy", "review"]; declare const CreateExperiencePage: React__default.FC; type ExperienceDetailPageProps = { experience?: Experience | null; similarExperiences?: Experience[]; viewerUserId?: string; isLoading?: boolean; error?: string; alsoExperiencedLoading?: boolean; shareOpen?: boolean; reportOpen?: boolean; sharePreviewText?: string; shareUrl?: string; comments?: ExperienceComment[]; commentsCount?: number; commentsLoading?: boolean; commentsFetchingMore?: boolean; commentsHasMore?: boolean; commentsSubmitting?: boolean; commentsError?: string | null; commentsComposerDisabled?: boolean; onBack?: () => void; onAlsoExperienced?: () => void; onReactionToggle?: (type: ExperienceReactionType) => void; onShare?: () => void; onShareClose?: () => void; onWhatsAppShare?: () => void; onCopyLink?: () => void; onShareStarted?: (channel: "WHATSAPP" | "LINK") => void; onReport?: () => void; onEditExperience?: (value: { content: string; title?: string | null; }) => void | Promise; onDeleteExperience?: () => void | Promise; onReportClose?: () => void; onReportSubmit?: (payload: { reason: SocialReportReason; details?: string; }) => void; onAuthorClick?: () => void; onSimilarOpen?: (id: string) => void; onRetry?: () => void; onOpenComments?: () => void; onCloseComments?: () => void; onLoadMoreComments?: () => void; onLoadMoreReplies?: (rootCommentId: string) => void | Promise; onSubmitComment?: (body: string, meta?: ExperienceCommentSubmitMeta) => void | Promise; onToggleCommentLike?: (comment: ExperienceComment) => void; onEditComment?: (comment: ExperienceComment, body: string) => void | Promise; onDeleteComment?: (comment: ExperienceComment) => void | Promise; onRetryComments?: () => void; onCommentAuthorClick?: (userId: string, username?: string) => void; commentsOpen?: boolean; }; declare const ExperienceDetailPage: React__default.FC; type QuestionsPageProps = { questions?: Question[]; isLoading?: boolean; error?: string; onBack?: () => void; onRetry?: () => void; onOpenQuestion?: (id: string) => void; onCreateQuestion?: () => void; }; declare const QuestionsPage: React__default.FC; declare const CreateQuestionValuesSchema: z$1.ZodObject<{ title: z$1.ZodString; description: z$1.ZodOptional>; traditionLabel: z$1.ZodOptional>; category: z$1.ZodOptional>>; visibility: z$1.ZodEnum<["PRIVATE", "TERREIRO", "COMMUNITY"]>; }, "strip", z$1.ZodTypeAny, { title: string; visibility: "TERREIRO" | "PRIVATE" | "COMMUNITY"; description?: string | null | undefined; category?: "OTHER" | "DESENVOLVIMENTO" | "GIRA" | "INCORPORACAO" | "APRENDIZADO" | "SENTIMENTO" | "ANCESTRALIDADE" | "ESPIRITUALIDADE" | "DUVIDA_DESCOBERTA" | null | undefined; traditionLabel?: string | null | undefined; }, { title: string; visibility: "TERREIRO" | "PRIVATE" | "COMMUNITY"; description?: string | null | undefined; category?: "OTHER" | "DESENVOLVIMENTO" | "GIRA" | "INCORPORACAO" | "APRENDIZADO" | "SENTIMENTO" | "ANCESTRALIDADE" | "ESPIRITUALIDADE" | "DUVIDA_DESCOBERTA" | null | undefined; traditionLabel?: string | null | undefined; }>; type CreateQuestionValues = z$1.infer; type CreateQuestionSummary = Partial; type CreateQuestionStep = "social-question" | "social-privacy" | "review" | "complete"; type CreateQuestionPageProps = { messages: FormChatMessage[]; currentStep?: CreateQuestionStep; fieldInput?: FormChatFieldInput; fieldOptions?: FormChatListOption[]; selectedOption?: FormChatListOption; quickReplies?: string[]; summary?: CreateQuestionSummary; activeField?: string; privacySelection?: SocialVisibility | null; privacyOptions?: SocialVisibility[]; isLoading?: boolean; error?: FormChatApiError | null; editInteraction?: FormChatEditInteraction; editingFieldLabel?: string; editableFieldOptions?: FormChatEditableFieldOption[]; confirmLabel?: string; onSendMessage: (message: string, options?: FormChatSendOptions) => void; onSelectOption?: (selection: FormChatSelectionPayload) => void; onPrivacyChange: (value: SocialVisibility) => void; onConfirm?: () => void; onEdit?: () => void; onEditField?: (fieldKey: string) => void; onCancelEdit?: () => void; onRetry?: () => void; onReset?: () => void; onBack?: () => void; }; declare const CREATE_QUESTION_STEP_LABELS: { readonly "social-question": "Pergunta"; readonly "social-privacy": "Privacidade"; readonly review: "Revisão"; readonly complete: "Concluído"; }; declare const CREATE_QUESTION_STEP_ORDER: readonly ["social-question", "social-privacy", "review"]; declare const CreateQuestionPage: React__default.FC; type QuestionDetailPageProps = { question?: Question | null; answers?: QuestionAnswer[]; isLoading?: boolean; error?: string; submittingAnswer?: boolean; onBack?: () => void; onRetry?: () => void; onSubmitAnswer?: (content: string) => void; onAuthorClick?: (userId: string, username?: string) => void; }; declare const QuestionDetailPage: React__default.FC; type SimilarPageProps = { experiences?: Experience[]; people?: SimilarPerson[]; isLoading?: boolean; error?: string; onBack?: () => void; onRetry?: () => void; onOpenExperience?: (id: string) => void; onOpenPerson?: (userId: string, username?: string) => void; onConnectPerson?: (userId: string) => void; }; declare const SimilarPage: React__default.FC; type JourneyProfilePageProps = { profile?: SocialProfile | null; experiences?: Experience[]; similarPeople?: SimilarPerson[]; isLoading?: boolean; error?: string; isOwnProfile?: boolean; viewerUserId?: string; connectionLoading?: boolean; blockOpen?: boolean; showVerificationBanner?: boolean; verificationBannerMode?: "earn" | "expiring"; verificationDaysRemaining?: number | null; onBack?: () => void; onRetry?: () => void; onEdit?: () => void; onShare?: () => void; onSearch?: () => void; onMore?: () => void; onConnect?: () => void; onDisconnect?: () => void; onMessage?: () => void; onOpenExperience?: (id: string) => void; onEditExperience?: (id: string, value: { content: string; title?: string | null; }) => void | Promise; onDeleteExperience?: (id: string) => void | Promise; onCreateExperience?: () => void; onBlockOpen?: () => void; onBlockClose?: () => void; onBlockConfirm?: () => void; onOpenVerificationProgress?: () => void; /** @deprecated Use onOpenVerificationProgress */ onGetVerification?: () => void; onDismissVerification?: () => void; onOpenJoined?: () => void; onOpenFollowing?: () => void; onOpenFollowers?: () => void; onOpenPerson?: (userId: string, username?: string) => void; onConnectPerson?: (userId: string) => void; onShowMorePeople?: () => void; experiencesCount?: number; connectionsCount?: number; /** Comments sheet for answering on profile posts. */ comments?: ExperienceComment[]; commentsCount?: number; commentsLoading?: boolean; commentsFetchingMore?: boolean; commentsHasMore?: boolean; commentsSubmitting?: boolean; commentsError?: string | null; commentsComposerDisabled?: boolean; onCommentExperience?: (id: string) => void; onLoadMoreComments?: () => void; onLoadMoreReplies?: (rootCommentId: string) => void | Promise; onSubmitComment?: (body: string, meta?: ExperienceCommentSubmitMeta) => void | Promise; onToggleCommentLike?: (comment: ExperienceComment) => void; onEditComment?: (comment: ExperienceComment, body: string) => void | Promise; onDeleteComment?: (comment: ExperienceComment) => void | Promise; onCloseComments?: () => void; onRetryComments?: () => void; }; declare const JourneyProfilePage: React__default.FC; type UnsplashBannerPhoto = { id: string; url: string; thumbnailUrl: string; alt?: string; photographerName: string; photographerProfileUrl: string; }; type EditJourneyValues = { username: string; displayName?: string; bio?: string; traditionLabel?: string; city?: string; state?: string; website?: string; birthDate?: string; avatarFile?: File; bannerFile?: File; bannerUrl?: string; bannerGradientKey?: BannerGradientKey; customBannerGradients: CustomBannerGradientPreset[]; selectedCustomBannerGradientId?: string; profileVisibility: SocialVisibility; traditionVisible: boolean; locationVisible: boolean; experiencesVisible: boolean; connectionsVisible: boolean; activityVisible: boolean; }; type EditJourneyPageProps = { profile: SocialProfile; submitting?: boolean; error?: string; initialBannerChooserOpen?: boolean; unsplashResults?: UnsplashBannerPhoto[]; unsplashLoading?: boolean; unsplashFetchingMore?: boolean; unsplashHasMore?: boolean; unsplashError?: string; onSubmit: (values: EditJourneyValues) => void; onBack?: () => void; onCancel?: () => void; onAvatarFileSelect?: (file: File) => void; onBannerFileSelect?: (file: File) => void; onUnsplashSearch?: (query: string) => void; onUnsplashLoadMore?: () => void | Promise; onUnsplashSelect?: (photo: UnsplashBannerPhoto) => void; }; declare const EditJourneyPage: React__default.FC; type SocialDiscoverTab = "all" | "experiences" | "questions" | "people"; type SocialDiscoverPageProps = { query?: string; /** True after the user has submitted at least one non-empty search. */ hasSearched?: boolean; activeTab?: SocialDiscoverTab; experiences?: Experience[]; questions?: Question[]; people?: SimilarPerson[]; /** Shown when the user has not searched yet (people to discover). */ suggestedPeople?: SimilarPerson[]; isLoading?: boolean; isSuggestedLoading?: boolean; error?: string; onBack?: () => void; onRetry?: () => void; onQueryChange?: (value: string) => void; onSearch?: (value: string) => void; onClearSearch?: () => void; onTabChange?: (tab: SocialDiscoverTab) => void; viewerUserId?: string; onOpenExperience?: (id: string) => void; onEditExperience?: (id: string, value: { content: string; title?: string | null; }) => void | Promise; onDeleteExperience?: (id: string) => void | Promise; onOpenQuestion?: (id: string) => void; /** Experience-comments style: open answers without leaving Explorar. */ onOpenQuestionAnswers?: (id: string) => void; onBookmarkQuestion?: (id: string) => void; onShareQuestion?: (id: string) => void; onReactionToggleQuestion?: (id: string, type: ExperienceReactionType) => void; onOpenPerson?: (userId: string, username?: string) => void; onConnectPerson?: (userId: string) => void; }; declare const SocialDiscoverPage: React__default.FC; type SocialSavedTab = "all" | "experiences" | "questions"; type SocialSavedPageProps = { experiences?: Experience[]; questions?: Question[]; viewerUserId?: string; isLoading?: boolean; questionsLoading?: boolean; error?: string; questionsError?: string; hasNextPage?: boolean; questionsHasNextPage?: boolean; isFetchingNextPage?: boolean; questionsFetchingNextPage?: boolean; alsoExperiencedLoadingId?: string | null; activeTab?: SocialSavedTab; onTabChange?: (tab: SocialSavedTab) => void; onBack?: () => void; onRetry?: () => void; onRetryQuestions?: () => void; onLoadMore?: () => void | Promise; onLoadMoreQuestions?: () => void | Promise; onOpenExperience?: (id: string) => void; onOpenQuestion?: (id: string) => void; onOpenQuestionAnswers?: (id: string) => void; onAlsoExperienced?: (id: string) => void; onReactionToggle?: (id: string, type: ExperienceReactionType) => void; onShareExperience?: (id: string) => void; onEditExperience?: (id: string, value: { content: string; title?: string | null; }) => void | Promise; onDeleteExperience?: (id: string) => void | Promise; onCommentExperience?: (id: string) => void; onBookmarkExperience?: (id: string) => void; onBookmarkQuestion?: (id: string) => void; onShareQuestion?: (id: string) => void; onReactionToggleQuestion?: (id: string, type: ExperienceReactionType) => void; onOpenPerson?: (userId: string, username?: string) => void; comments?: ExperienceComment[]; commentsCount?: number; commentsLoading?: boolean; commentsFetchingMore?: boolean; commentsHasMore?: boolean; commentsSubmitting?: boolean; commentsError?: string | null; onLoadMoreComments?: () => void; onLoadMoreReplies?: (rootCommentId: string) => void | Promise; onSubmitComment?: (body: string, meta?: ExperienceCommentSubmitMeta) => void | Promise; onToggleCommentLike?: (comment: ExperienceComment) => void; onEditComment?: (comment: ExperienceComment, body: string) => void | Promise; onDeleteComment?: (comment: ExperienceComment) => void | Promise; onCloseComments?: () => void; onRetryComments?: () => void; answers?: QuestionAnswer[]; answersCount?: number; answersLoading?: boolean; answersSubmitting?: boolean; answersError?: string | null; onSubmitAnswer?: (content: string) => void | Promise; onCloseAnswers?: () => void; onRetryAnswers?: () => void; }; declare const SocialSavedPage: React__default.FC; type SocialConnectionListPerson = { userId: string; username?: string; displayName?: string | null; avatarUrl?: string | null; connectionStatus?: "CONNECTED" | "PENDING"; connectionDirection?: "OUTBOUND" | "INBOUND"; }; /** Underline tabs are only followers | following; `requests` is a dedicated screen. */ type SocialConnectionsTab = "followers" | "following" | "requests"; type SocialConnectionsPageProps = { username?: string; tab?: SocialConnectionsTab; people?: SocialConnectionListPerson[]; followingCount?: number; followersCount?: number; /** Inbound PENDING count; drives Pedidos entry on own Seguidores. */ pendingFollowersCount?: number; query?: string; isLoading?: boolean; error?: string; hasNextPage?: boolean; isFetchingNextPage?: boolean; isOwnProfile?: boolean; messagingEnabled?: boolean; onBack?: () => void; onRetry?: () => void; onLoadMore?: () => void | Promise; onTabChange?: (tab: SocialConnectionsTab) => void; onQueryChange?: (value: string) => void; onOpenPerson?: (userId: string, username?: string) => void; onMessagePerson?: (userId: string) => void; onConnectPerson?: (userId: string) => void; onDisconnectPerson?: (userId: string) => void; /** Opens Pedidos screen (typically `?tab=requests`). */ onOpenRequests?: () => void; onDiscover?: () => void; }; declare const SocialConnectionsPage: React__default.FC; type SocialNotificationItem = { id: string; title: string; message: string; type?: string; createdAt?: string | Date; read?: boolean; avatarUrl?: string | null; actionRoute?: string; }; type SocialNotificationsPageProps = { notifications?: SocialNotificationItem[]; isLoading?: boolean; error?: string; onBack?: () => void; onRetry?: () => void; onOpen?: (item: SocialNotificationItem) => void; }; declare const SocialNotificationsPage: React__default.FC; type SocialPrivacySettingsValues = { profileVisibility: SocialVisibility; traditionVisible: boolean; locationVisible: boolean; experiencesVisible: boolean; connectionsVisible: boolean; activityVisible: boolean; }; type SocialPrivacySettingsPageProps = { profile: SocialProfile; submitting?: boolean; onSubmit: (values: SocialPrivacySettingsValues) => void; onBack?: () => void; }; declare const SocialPrivacySettingsPage: React__default.FC; declare const PublicExperiencePreviewSchema: z$1.ZodObject<{ id: z$1.ZodString; cta: z$1.ZodOptional; } & { type: z$1.ZodLiteral<"EXPERIENCE">; title: z$1.ZodOptional>; preview: z$1.ZodString; traditionLabel: z$1.ZodOptional>; category: z$1.ZodOptional>>; postType: z$1.ZodOptional>; publishedAt: z$1.ZodOptional>>; author: z$1.ZodOptional>; username: z$1.ZodOptional>; avatarUrl: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { displayName?: string | null | undefined; username?: string | null | undefined; avatarUrl?: string | null | undefined; }, { displayName?: string | null | undefined; username?: string | null | undefined; avatarUrl?: string | null | undefined; }>>>; reactionCount: z$1.ZodOptional; commentCount: z$1.ZodOptional; alsoExperiencedCount: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { id: string; type: "EXPERIENCE"; preview: string; title?: string | null | undefined; category?: "OTHER" | "DESENVOLVIMENTO" | "GIRA" | "INCORPORACAO" | "APRENDIZADO" | "SENTIMENTO" | "ANCESTRALIDADE" | "ESPIRITUALIDADE" | "DUVIDA_DESCOBERTA" | null | undefined; traditionLabel?: string | null | undefined; author?: { displayName?: string | null | undefined; username?: string | null | undefined; avatarUrl?: string | null | undefined; } | null | undefined; postType?: "RELATO" | "PERGUNTA" | "EXPERIENCIA_SEMELHANTE" | "CONHECIMENTO" | "CAMINHADA" | undefined; reactionCount?: number | undefined; alsoExperiencedCount?: number | undefined; commentCount?: number | undefined; publishedAt?: string | Date | null | undefined; cta?: string | undefined; }, { id: string; type: "EXPERIENCE"; preview: string; title?: string | null | undefined; category?: "OTHER" | "DESENVOLVIMENTO" | "GIRA" | "INCORPORACAO" | "APRENDIZADO" | "SENTIMENTO" | "ANCESTRALIDADE" | "ESPIRITUALIDADE" | "DUVIDA_DESCOBERTA" | null | undefined; traditionLabel?: string | null | undefined; author?: { displayName?: string | null | undefined; username?: string | null | undefined; avatarUrl?: string | null | undefined; } | null | undefined; postType?: "RELATO" | "PERGUNTA" | "EXPERIENCIA_SEMELHANTE" | "CONHECIMENTO" | "CAMINHADA" | undefined; reactionCount?: number | undefined; alsoExperiencedCount?: number | undefined; commentCount?: number | undefined; publishedAt?: string | Date | null | undefined; cta?: string | undefined; }>; declare const PublicQuestionPreviewSchema: z$1.ZodObject<{ id: z$1.ZodString; cta: z$1.ZodOptional; } & { type: z$1.ZodLiteral<"QUESTION">; title: z$1.ZodOptional>; preview: z$1.ZodOptional; traditionLabel: z$1.ZodOptional>; category: z$1.ZodOptional>>; source: z$1.ZodOptional>; createdAt: z$1.ZodOptional>>; author: z$1.ZodOptional>; username: z$1.ZodOptional>; avatarUrl: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { displayName?: string | null | undefined; username?: string | null | undefined; avatarUrl?: string | null | undefined; }, { displayName?: string | null | undefined; username?: string | null | undefined; avatarUrl?: string | null | undefined; }>>>; answerCount: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { id: string; type: "QUESTION"; title?: string | null | undefined; source?: "SYSTEM" | "COMMUNITY" | "AI" | undefined; category?: "OTHER" | "DESENVOLVIMENTO" | "GIRA" | "INCORPORACAO" | "APRENDIZADO" | "SENTIMENTO" | "ANCESTRALIDADE" | "ESPIRITUALIDADE" | "DUVIDA_DESCOBERTA" | null | undefined; preview?: string | undefined; createdAt?: string | Date | null | undefined; traditionLabel?: string | null | undefined; author?: { displayName?: string | null | undefined; username?: string | null | undefined; avatarUrl?: string | null | undefined; } | null | undefined; answerCount?: number | undefined; cta?: string | undefined; }, { id: string; type: "QUESTION"; title?: string | null | undefined; source?: "SYSTEM" | "COMMUNITY" | "AI" | undefined; category?: "OTHER" | "DESENVOLVIMENTO" | "GIRA" | "INCORPORACAO" | "APRENDIZADO" | "SENTIMENTO" | "ANCESTRALIDADE" | "ESPIRITUALIDADE" | "DUVIDA_DESCOBERTA" | null | undefined; preview?: string | undefined; createdAt?: string | Date | null | undefined; traditionLabel?: string | null | undefined; author?: { displayName?: string | null | undefined; username?: string | null | undefined; avatarUrl?: string | null | undefined; } | null | undefined; answerCount?: number | undefined; cta?: string | undefined; }>; declare const PublicProfilePreviewSchema: z$1.ZodObject<{ id: z$1.ZodString; cta: z$1.ZodOptional; } & { type: z$1.ZodLiteral<"PROFILE">; displayName: z$1.ZodOptional>; username: z$1.ZodString; avatarUrl: z$1.ZodOptional>; bio: z$1.ZodOptional>; traditionLabel: z$1.ZodOptional>; locationLabel: z$1.ZodOptional>; joinedLabel: z$1.ZodOptional>; experienceCount: z$1.ZodOptional; connectionCount: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { id: string; type: "PROFILE"; username: string; displayName?: string | null | undefined; avatarUrl?: string | null | undefined; traditionLabel?: string | null | undefined; locationLabel?: string | null | undefined; bio?: string | null | undefined; joinedLabel?: string | null | undefined; cta?: string | undefined; experienceCount?: number | undefined; connectionCount?: number | undefined; }, { id: string; type: "PROFILE"; username: string; displayName?: string | null | undefined; avatarUrl?: string | null | undefined; traditionLabel?: string | null | undefined; locationLabel?: string | null | undefined; bio?: string | null | undefined; joinedLabel?: string | null | undefined; cta?: string | undefined; experienceCount?: number | undefined; connectionCount?: number | undefined; }>; declare const PublicSocialPreviewDataSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObject<{ id: z$1.ZodString; cta: z$1.ZodOptional; } & { type: z$1.ZodLiteral<"EXPERIENCE">; title: z$1.ZodOptional>; preview: z$1.ZodString; traditionLabel: z$1.ZodOptional>; category: z$1.ZodOptional>>; postType: z$1.ZodOptional>; publishedAt: z$1.ZodOptional>>; author: z$1.ZodOptional>; username: z$1.ZodOptional>; avatarUrl: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { displayName?: string | null | undefined; username?: string | null | undefined; avatarUrl?: string | null | undefined; }, { displayName?: string | null | undefined; username?: string | null | undefined; avatarUrl?: string | null | undefined; }>>>; reactionCount: z$1.ZodOptional; commentCount: z$1.ZodOptional; alsoExperiencedCount: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { id: string; type: "EXPERIENCE"; preview: string; title?: string | null | undefined; category?: "OTHER" | "DESENVOLVIMENTO" | "GIRA" | "INCORPORACAO" | "APRENDIZADO" | "SENTIMENTO" | "ANCESTRALIDADE" | "ESPIRITUALIDADE" | "DUVIDA_DESCOBERTA" | null | undefined; traditionLabel?: string | null | undefined; author?: { displayName?: string | null | undefined; username?: string | null | undefined; avatarUrl?: string | null | undefined; } | null | undefined; postType?: "RELATO" | "PERGUNTA" | "EXPERIENCIA_SEMELHANTE" | "CONHECIMENTO" | "CAMINHADA" | undefined; reactionCount?: number | undefined; alsoExperiencedCount?: number | undefined; commentCount?: number | undefined; publishedAt?: string | Date | null | undefined; cta?: string | undefined; }, { id: string; type: "EXPERIENCE"; preview: string; title?: string | null | undefined; category?: "OTHER" | "DESENVOLVIMENTO" | "GIRA" | "INCORPORACAO" | "APRENDIZADO" | "SENTIMENTO" | "ANCESTRALIDADE" | "ESPIRITUALIDADE" | "DUVIDA_DESCOBERTA" | null | undefined; traditionLabel?: string | null | undefined; author?: { displayName?: string | null | undefined; username?: string | null | undefined; avatarUrl?: string | null | undefined; } | null | undefined; postType?: "RELATO" | "PERGUNTA" | "EXPERIENCIA_SEMELHANTE" | "CONHECIMENTO" | "CAMINHADA" | undefined; reactionCount?: number | undefined; alsoExperiencedCount?: number | undefined; commentCount?: number | undefined; publishedAt?: string | Date | null | undefined; cta?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodString; cta: z$1.ZodOptional; } & { type: z$1.ZodLiteral<"QUESTION">; title: z$1.ZodOptional>; preview: z$1.ZodOptional; traditionLabel: z$1.ZodOptional>; category: z$1.ZodOptional>>; source: z$1.ZodOptional>; createdAt: z$1.ZodOptional>>; author: z$1.ZodOptional>; username: z$1.ZodOptional>; avatarUrl: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { displayName?: string | null | undefined; username?: string | null | undefined; avatarUrl?: string | null | undefined; }, { displayName?: string | null | undefined; username?: string | null | undefined; avatarUrl?: string | null | undefined; }>>>; answerCount: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { id: string; type: "QUESTION"; title?: string | null | undefined; source?: "SYSTEM" | "COMMUNITY" | "AI" | undefined; category?: "OTHER" | "DESENVOLVIMENTO" | "GIRA" | "INCORPORACAO" | "APRENDIZADO" | "SENTIMENTO" | "ANCESTRALIDADE" | "ESPIRITUALIDADE" | "DUVIDA_DESCOBERTA" | null | undefined; preview?: string | undefined; createdAt?: string | Date | null | undefined; traditionLabel?: string | null | undefined; author?: { displayName?: string | null | undefined; username?: string | null | undefined; avatarUrl?: string | null | undefined; } | null | undefined; answerCount?: number | undefined; cta?: string | undefined; }, { id: string; type: "QUESTION"; title?: string | null | undefined; source?: "SYSTEM" | "COMMUNITY" | "AI" | undefined; category?: "OTHER" | "DESENVOLVIMENTO" | "GIRA" | "INCORPORACAO" | "APRENDIZADO" | "SENTIMENTO" | "ANCESTRALIDADE" | "ESPIRITUALIDADE" | "DUVIDA_DESCOBERTA" | null | undefined; preview?: string | undefined; createdAt?: string | Date | null | undefined; traditionLabel?: string | null | undefined; author?: { displayName?: string | null | undefined; username?: string | null | undefined; avatarUrl?: string | null | undefined; } | null | undefined; answerCount?: number | undefined; cta?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodString; cta: z$1.ZodOptional; } & { type: z$1.ZodLiteral<"PROFILE">; displayName: z$1.ZodOptional>; username: z$1.ZodString; avatarUrl: z$1.ZodOptional>; bio: z$1.ZodOptional>; traditionLabel: z$1.ZodOptional>; locationLabel: z$1.ZodOptional>; joinedLabel: z$1.ZodOptional>; experienceCount: z$1.ZodOptional; connectionCount: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { id: string; type: "PROFILE"; username: string; displayName?: string | null | undefined; avatarUrl?: string | null | undefined; traditionLabel?: string | null | undefined; locationLabel?: string | null | undefined; bio?: string | null | undefined; joinedLabel?: string | null | undefined; cta?: string | undefined; experienceCount?: number | undefined; connectionCount?: number | undefined; }, { id: string; type: "PROFILE"; username: string; displayName?: string | null | undefined; avatarUrl?: string | null | undefined; traditionLabel?: string | null | undefined; locationLabel?: string | null | undefined; bio?: string | null | undefined; joinedLabel?: string | null | undefined; cta?: string | undefined; experienceCount?: number | undefined; connectionCount?: number | undefined; }>]>; type PublicSocialPreviewData = z$1.infer; type PublicSocialPreviewPageProps = { preview?: PublicSocialPreviewData | null; isLoading?: boolean; error?: string | null; onSignIn: () => void; onSignUp: () => void; onRetry?: () => void; }; declare const PublicSocialPreviewPage: React__default.FC; type SocialInboxPageProps = { conversations?: SocialConversation[]; isLoading?: boolean; error?: string; errorTitle?: string; onBack?: () => void; onRetry?: () => void; onOpenConversation?: (conversationId: string) => void; onCompose?: () => void; }; declare const SocialInboxPage: React__default.FC; type SocialConversationPageProps = { conversation?: SocialConversation | null; messages?: SocialMessage[]; unreadBeforeMessageId?: string | null; isLoading?: boolean; isSending?: boolean; error?: string; errorTitle?: string; readOnly?: boolean; readOnlyMessage?: string; onBack?: () => void; onRetry?: () => void; onSendMessage?: (message: string) => void; onRetryMessage?: (messageId: string) => void; }; declare const SocialConversationPage: React__default.FC; declare const QrVariantSchema: z.ZodEnum<["A", "B", "C"]>; type QrVariant = z.infer; declare const QrTrackingEventSchema: z.ZodEnum<["QR_PAGE_VIEW", "WHATSAPP_CLICK"]>; type QrTrackingEvent = z.infer; declare const QrTrackingPayloadSchema: z.ZodObject<{ variant: z.ZodEnum<["A", "B", "C"]>; utmSource: z.ZodOptional; utmCampaign: z.ZodOptional; }, "strip", z.ZodTypeAny, { variant: "A" | "B" | "C"; utmSource?: string | undefined; utmCampaign?: string | undefined; }, { variant: "A" | "B" | "C"; utmSource?: string | undefined; utmCampaign?: string | undefined; }>; /** @deprecated Use QrAnalyticsEventPayload instead */ type QrTrackingPayload = z.infer; declare const QrAnalyticsEventNameSchema: z.ZodEnum<["qr_page_view", "qr_variant_view", "qr_app_preview_view", "qr_feature_view", "qr_scroll_depth", "qr_whatsapp_click", "qr_page_exit"]>; type QrAnalyticsEventName = z.infer; declare const QrPageViewPayloadSchema: z.ZodObject<{ event: z.ZodLiteral<"qr_page_view">; }, "strip", z.ZodTypeAny, { event: "qr_page_view"; }, { event: "qr_page_view"; }>; type QrPageViewPayload = z.infer; declare const QrVariantViewPayloadSchema: z.ZodObject<{ event: z.ZodLiteral<"qr_variant_view">; title: z.ZodString; }, "strip", z.ZodTypeAny, { title: string; event: "qr_variant_view"; }, { title: string; event: "qr_variant_view"; }>; type QrVariantViewPayload = z.infer; declare const QrAppPreviewViewPayloadSchema: z.ZodObject<{ event: z.ZodLiteral<"qr_app_preview_view">; preview_type: z.ZodEnum<["mock", "gif", "video"]>; }, "strip", z.ZodTypeAny, { event: "qr_app_preview_view"; preview_type: "video" | "mock" | "gif"; }, { event: "qr_app_preview_view"; preview_type: "video" | "mock" | "gif"; }>; type QrAppPreviewViewPayload = z.infer; declare const QrFeatureViewPayloadSchema: z.ZodObject<{ event: z.ZodLiteral<"qr_feature_view">; section: z.ZodString; }, "strip", z.ZodTypeAny, { section: string; event: "qr_feature_view"; }, { section: string; event: "qr_feature_view"; }>; type QrFeatureViewPayload = z.infer; declare const QrScrollDepthPayloadSchema: z.ZodObject<{ event: z.ZodLiteral<"qr_scroll_depth">; depth: z.ZodUnion<[z.ZodLiteral<25>, z.ZodLiteral<50>, z.ZodLiteral<75>, z.ZodLiteral<100>]>; }, "strip", z.ZodTypeAny, { event: "qr_scroll_depth"; depth: 100 | 25 | 50 | 75; }, { event: "qr_scroll_depth"; depth: 100 | 25 | 50 | 75; }>; type QrScrollDepthPayload = z.infer; declare const QrWhatsappClickPayloadSchema: z.ZodObject<{ event: z.ZodLiteral<"qr_whatsapp_click">; message_template: z.ZodString; button_position: z.ZodString; }, "strip", z.ZodTypeAny, { event: "qr_whatsapp_click"; message_template: string; button_position: string; }, { event: "qr_whatsapp_click"; message_template: string; button_position: string; }>; type QrWhatsappClickPayload = z.infer; declare const QrPageExitPayloadSchema: z.ZodObject<{ event: z.ZodLiteral<"qr_page_exit">; session_duration: z.ZodNumber; max_scroll_depth: z.ZodNumber; clicked_whatsapp: z.ZodBoolean; }, "strip", z.ZodTypeAny, { event: "qr_page_exit"; session_duration: number; max_scroll_depth: number; clicked_whatsapp: boolean; }, { event: "qr_page_exit"; session_duration: number; max_scroll_depth: number; clicked_whatsapp: boolean; }>; type QrPageExitPayload = z.infer; type QrAnalyticsEventPayload = QrPageViewPayload | QrVariantViewPayload | QrAppPreviewViewPayload | QrFeatureViewPayload | QrScrollDepthPayload | QrWhatsappClickPayload | QrPageExitPayload; type QrOnAnalyticsTrack = (payload: QrAnalyticsEventPayload) => void; declare const QrLandingPagePropsSchema: z.ZodObject<{ variant: z.ZodDefault>; utmSource: z.ZodOptional; utmCampaign: z.ZodOptional; destinationUrl: z.ZodOptional; logoUrl: z.ZodOptional; whatsappPhone: z.ZodString; instagramHandle: z.ZodDefault; socialProofText: z.ZodDefault; /** @deprecated Use onAnalyticsTrack instead */ onTrack: z.ZodOptional, z.ZodObject<{ variant: z.ZodEnum<["A", "B", "C"]>; utmSource: z.ZodOptional; utmCampaign: z.ZodOptional; }, "strip", z.ZodTypeAny, { variant: "A" | "B" | "C"; utmSource?: string | undefined; utmCampaign?: string | undefined; }, { variant: "A" | "B" | "C"; utmSource?: string | undefined; utmCampaign?: string | undefined; }>], null>, z.ZodVoid>>; onAnalyticsTrack: z.ZodOptional, z.ZodVoid>>; }, "strip", z.ZodTypeAny, { variant: "A" | "B" | "C"; whatsappPhone: string; instagramHandle: string; socialProofText: string; logoUrl?: string | undefined; onAnalyticsTrack?: ((args_0: any) => void) | undefined; utmSource?: string | undefined; utmCampaign?: string | undefined; destinationUrl?: string | undefined; onTrack?: ((args_0: "QR_PAGE_VIEW" | "WHATSAPP_CLICK", args_1: { variant: "A" | "B" | "C"; utmSource?: string | undefined; utmCampaign?: string | undefined; }) => void) | undefined; }, { whatsappPhone: string; variant?: "A" | "B" | "C" | undefined; logoUrl?: string | undefined; onAnalyticsTrack?: ((args_0: any) => void) | undefined; utmSource?: string | undefined; utmCampaign?: string | undefined; destinationUrl?: string | undefined; instagramHandle?: string | undefined; socialProofText?: string | undefined; onTrack?: ((args_0: "QR_PAGE_VIEW" | "WHATSAPP_CLICK", args_1: { variant: "A" | "B" | "C"; utmSource?: string | undefined; utmCampaign?: string | undefined; }) => void) | undefined; }>; type QrLandingPageProps = z.infer; declare const QrLandingPage: React__default.FC; declare const useQrLandingPage: (props: QrLandingPageProps) => { data: { appName: string; tagline: string; heroTitle: string; heroDescription: string; features: string[]; previewVariant: "A" | "B" | "C"; whatsappHref: string; whatsappLabel: string; whatsappHelper: string; socialProofText: string; instagramHandle: string; logoUrl: string | undefined; }; fns: { handleWhatsAppClick: (position: string) => void; handlePreviewOpen: () => void; }; featureSectionRef: React$1.RefObject; }; type NearbyTerreiroBusinessStatus = "OPERATIONAL" | "CLOSED_TEMPORARILY" | "CLOSED_PERMANENTLY" | null; type NearbyTerreiroPlace = { placeId: string; name: string; formattedAddress: string; latitude: number; longitude: number; googleMapsUrl: string; types: string[]; businessStatus: NearbyTerreiroBusinessStatus; }; type NearbyTerreiroLocationMode = "city" | "geolocation"; type NearbyTerreiroSearchPageProps = { query: string; onQueryChange: (value: string) => void; city: string; onCityChange: (value: string) => void; state: string; onStateChange: (value: string) => void; locationMode: NearbyTerreiroLocationMode; geolocationNotice?: string | null; isLocating?: boolean; isLoading?: boolean; isLoadingMore?: boolean; results: NearbyTerreiroPlace[] | null; errorMessage?: string | null; hasMore?: boolean; /** Optional override lets a tradition chip search before React commits the query. */ onSearch: (nextQuery?: string) => void; onUseMyLocation: () => void; /** Browser Maps key. When omitted, the map area stays a quiet placeholder. */ googleMapsApiKey?: string; /** Present after the user grants geolocation. Centers the map before results arrive. */ userCoordinates?: { latitude: number; longitude: number; } | null; onRetry?: () => void; onLoadMore?: () => void; onOpenMaps: (place: NearbyTerreiroPlace) => void; onBack?: () => void; }; declare const NearbyTerreiroSearchPage: React__default.FC; declare const PRODUCT_UPDATE_CATEGORIES: readonly ["NEW_FEATURE", "IMPROVEMENT", "BUG_FIX", "SECURITY", "ANNOUNCEMENT"]; declare const ProductUpdateCategorySchema: z.ZodEnum<["NEW_FEATURE", "IMPROVEMENT", "BUG_FIX", "SECURITY", "ANNOUNCEMENT"]>; type ProductUpdateCategory = z.infer; declare const ProductUpdateCategoryFilterSchema: z.ZodUnion<[z.ZodEnum<["NEW_FEATURE", "IMPROVEMENT", "BUG_FIX", "SECURITY", "ANNOUNCEMENT"]>, z.ZodLiteral<"ALL">]>; type ProductUpdateCategoryFilter = z.infer; declare const ProductUpdateItemSchema: z.ZodObject<{ id: z.ZodString; slug: z.ZodString; title: z.ZodString; summary: z.ZodString; category: z.ZodEnum<["NEW_FEATURE", "IMPROVEMENT", "BUG_FIX", "SECURITY", "ANNOUNCEMENT"]>; coverImageUrl: z.ZodOptional>; isHighlighted: z.ZodOptional; publishedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>; /** Markdown body; present on detail and in-app responses. */ content: z.ZodOptional; /** In-app read state; omitted on the public changelog. */ isRead: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; summary: string; category: "NEW_FEATURE" | "IMPROVEMENT" | "BUG_FIX" | "SECURITY" | "ANNOUNCEMENT"; publishedAt: string | Date; slug: string; content?: string | undefined; isHighlighted?: boolean | undefined; coverImageUrl?: string | null | undefined; isRead?: boolean | undefined; }, { title: string; id: string; summary: string; category: "NEW_FEATURE" | "IMPROVEMENT" | "BUG_FIX" | "SECURITY" | "ANNOUNCEMENT"; publishedAt: string | Date; slug: string; content?: string | undefined; isHighlighted?: boolean | undefined; coverImageUrl?: string | null | undefined; isRead?: boolean | undefined; }>; type ProductUpdateItem = z.infer; declare const ProductUpdatesPagePropsSchema: z.ZodObject<{ title: z.ZodOptional; items: z.ZodOptional; coverImageUrl: z.ZodOptional>; isHighlighted: z.ZodOptional; publishedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>; /** Markdown body; present on detail and in-app responses. */ content: z.ZodOptional; /** In-app read state; omitted on the public changelog. */ isRead: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; summary: string; category: "NEW_FEATURE" | "IMPROVEMENT" | "BUG_FIX" | "SECURITY" | "ANNOUNCEMENT"; publishedAt: string | Date; slug: string; content?: string | undefined; isHighlighted?: boolean | undefined; coverImageUrl?: string | null | undefined; isRead?: boolean | undefined; }, { title: string; id: string; summary: string; category: "NEW_FEATURE" | "IMPROVEMENT" | "BUG_FIX" | "SECURITY" | "ANNOUNCEMENT"; publishedAt: string | Date; slug: string; content?: string | undefined; isHighlighted?: boolean | undefined; coverImageUrl?: string | null | undefined; isRead?: boolean | undefined; }>, "many">>; isLoading: z.ZodOptional; isLoadingMore: z.ZodOptional; /** Load failure: `true` shows the default message, a string replaces it. */ error: z.ZodOptional>>; hasMore: z.ZodOptional; selectedCategory: z.ZodOptional, z.ZodLiteral<"ALL">]>>; onCategoryChange: z.ZodOptional, z.ZodLiteral<"ALL">]>], null>, z.ZodVoid>>; onLoadMore: z.ZodOptional, z.ZodVoid>>; onRetry: z.ZodOptional, z.ZodVoid>>; onItemClick: z.ZodOptional, z.ZodVoid>>; onBack: z.ZodOptional, z.ZodVoid>>; }, "strip", z.ZodTypeAny, { title?: string | undefined; error?: string | boolean | null | undefined; onBack?: (() => void) | undefined; items?: { title: string; id: string; summary: string; category: "NEW_FEATURE" | "IMPROVEMENT" | "BUG_FIX" | "SECURITY" | "ANNOUNCEMENT"; publishedAt: string | Date; slug: string; content?: string | undefined; isHighlighted?: boolean | undefined; coverImageUrl?: string | null | undefined; isRead?: boolean | undefined; }[] | undefined; onRetry?: (() => void) | undefined; isLoading?: boolean | undefined; onLoadMore?: (() => void) | undefined; hasMore?: boolean | undefined; onItemClick?: ((args_0: string) => void) | undefined; isLoadingMore?: boolean | undefined; selectedCategory?: "ALL" | "NEW_FEATURE" | "IMPROVEMENT" | "BUG_FIX" | "SECURITY" | "ANNOUNCEMENT" | undefined; onCategoryChange?: ((args_0: "ALL" | "NEW_FEATURE" | "IMPROVEMENT" | "BUG_FIX" | "SECURITY" | "ANNOUNCEMENT") => void) | undefined; }, { title?: string | undefined; error?: string | boolean | null | undefined; onBack?: (() => void) | undefined; items?: { title: string; id: string; summary: string; category: "NEW_FEATURE" | "IMPROVEMENT" | "BUG_FIX" | "SECURITY" | "ANNOUNCEMENT"; publishedAt: string | Date; slug: string; content?: string | undefined; isHighlighted?: boolean | undefined; coverImageUrl?: string | null | undefined; isRead?: boolean | undefined; }[] | undefined; onRetry?: (() => void) | undefined; isLoading?: boolean | undefined; onLoadMore?: (() => void) | undefined; hasMore?: boolean | undefined; onItemClick?: ((args_0: string) => void) | undefined; isLoadingMore?: boolean | undefined; selectedCategory?: "ALL" | "NEW_FEATURE" | "IMPROVEMENT" | "BUG_FIX" | "SECURITY" | "ANNOUNCEMENT" | undefined; onCategoryChange?: ((args_0: "ALL" | "NEW_FEATURE" | "IMPROVEMENT" | "BUG_FIX" | "SECURITY" | "ANNOUNCEMENT") => void) | undefined; }>; type ProductUpdatesPageProps = z.infer; declare const PRODUCT_UPDATE_FEEDBACK_COMMENT_MAX = 500; declare const ProductUpdateFeedbackValueSchema: z.ZodObject<{ helpful: z.ZodNullable; comment: z.ZodOptional>; }, "strip", z.ZodTypeAny, { helpful: boolean | null; comment?: string | null | undefined; }, { helpful: boolean | null; comment?: string | null | undefined; }>; type ProductUpdateFeedbackValue = z.infer; declare const ProductUpdateFeedbackSubmitSchema: z.ZodObject<{ helpful: z.ZodBoolean; comment: z.ZodOptional>; }, "strip", z.ZodTypeAny, { helpful: boolean; comment?: string | null | undefined; }, { helpful: boolean; comment?: string | null | undefined; }>; type ProductUpdateFeedbackSubmit = z.infer; declare const ProductUpdateFeedbackPropsSchema: z.ZodObject<{ /** The update this answer belongs to; the block only renders for that update. */ updateId: z.ZodString; value: z.ZodOptional; comment: z.ZodOptional>; }, "strip", z.ZodTypeAny, { helpful: boolean | null; comment?: string | null | undefined; }, { helpful: boolean | null; comment?: string | null | undefined; }>>>; isLoading: z.ZodOptional; isSubmitting: z.ZodOptional; onSubmit: z.ZodFunction>; }, "strip", z.ZodTypeAny, { helpful: boolean; comment?: string | null | undefined; }, { helpful: boolean; comment?: string | null | undefined; }>], null>, z.ZodVoid>; }, "strip", z.ZodTypeAny, { onSubmit: (args_0: { helpful: boolean; comment?: string | null | undefined; }) => void; updateId: string; value?: { helpful: boolean | null; comment?: string | null | undefined; } | null | undefined; isSubmitting?: boolean | undefined; isLoading?: boolean | undefined; }, { onSubmit: (args_0: { helpful: boolean; comment?: string | null | undefined; }) => void; updateId: string; value?: { helpful: boolean | null; comment?: string | null | undefined; } | null | undefined; isSubmitting?: boolean | undefined; isLoading?: boolean | undefined; }>; type ProductUpdateFeedbackProps = z.infer; declare const ProductUpdateDetailPagePropsSchema: z.ZodObject<{ update: z.ZodOptional; coverImageUrl: z.ZodOptional>; isHighlighted: z.ZodOptional; publishedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>; /** Markdown body; present on detail and in-app responses. */ content: z.ZodOptional; /** In-app read state; omitted on the public changelog. */ isRead: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; summary: string; category: "NEW_FEATURE" | "IMPROVEMENT" | "BUG_FIX" | "SECURITY" | "ANNOUNCEMENT"; publishedAt: string | Date; slug: string; content?: string | undefined; isHighlighted?: boolean | undefined; coverImageUrl?: string | null | undefined; isRead?: boolean | undefined; }, { title: string; id: string; summary: string; category: "NEW_FEATURE" | "IMPROVEMENT" | "BUG_FIX" | "SECURITY" | "ANNOUNCEMENT"; publishedAt: string | Date; slug: string; content?: string | undefined; isHighlighted?: boolean | undefined; coverImageUrl?: string | null | undefined; isRead?: boolean | undefined; }>>>; /** "Foi útil?" block under the article; omit for signed-out visitors. */ feedback: z.ZodOptional; comment: z.ZodOptional>; }, "strip", z.ZodTypeAny, { helpful: boolean | null; comment?: string | null | undefined; }, { helpful: boolean | null; comment?: string | null | undefined; }>>>; isLoading: z.ZodOptional; isSubmitting: z.ZodOptional; onSubmit: z.ZodFunction>; }, "strip", z.ZodTypeAny, { helpful: boolean; comment?: string | null | undefined; }, { helpful: boolean; comment?: string | null | undefined; }>], null>, z.ZodVoid>; }, "strip", z.ZodTypeAny, { onSubmit: (args_0: { helpful: boolean; comment?: string | null | undefined; }) => void; updateId: string; value?: { helpful: boolean | null; comment?: string | null | undefined; } | null | undefined; isSubmitting?: boolean | undefined; isLoading?: boolean | undefined; }, { onSubmit: (args_0: { helpful: boolean; comment?: string | null | undefined; }) => void; updateId: string; value?: { helpful: boolean | null; comment?: string | null | undefined; } | null | undefined; isSubmitting?: boolean | undefined; isLoading?: boolean | undefined; }>>; isLoading: z.ZodOptional; error: z.ZodOptional>>; notFound: z.ZodOptional; onBack: z.ZodOptional, z.ZodVoid>>; onRetry: z.ZodOptional, z.ZodVoid>>; onViewAll: z.ZodOptional, z.ZodVoid>>; }, "strip", z.ZodTypeAny, { error?: string | boolean | null | undefined; onBack?: (() => void) | undefined; onRetry?: (() => void) | undefined; isLoading?: boolean | undefined; feedback?: { onSubmit: (args_0: { helpful: boolean; comment?: string | null | undefined; }) => void; updateId: string; value?: { helpful: boolean | null; comment?: string | null | undefined; } | null | undefined; isSubmitting?: boolean | undefined; isLoading?: boolean | undefined; } | undefined; update?: { title: string; id: string; summary: string; category: "NEW_FEATURE" | "IMPROVEMENT" | "BUG_FIX" | "SECURITY" | "ANNOUNCEMENT"; publishedAt: string | Date; slug: string; content?: string | undefined; isHighlighted?: boolean | undefined; coverImageUrl?: string | null | undefined; isRead?: boolean | undefined; } | null | undefined; notFound?: boolean | undefined; onViewAll?: (() => void) | undefined; }, { error?: string | boolean | null | undefined; onBack?: (() => void) | undefined; onRetry?: (() => void) | undefined; isLoading?: boolean | undefined; feedback?: { onSubmit: (args_0: { helpful: boolean; comment?: string | null | undefined; }) => void; updateId: string; value?: { helpful: boolean | null; comment?: string | null | undefined; } | null | undefined; isSubmitting?: boolean | undefined; isLoading?: boolean | undefined; } | undefined; update?: { title: string; id: string; summary: string; category: "NEW_FEATURE" | "IMPROVEMENT" | "BUG_FIX" | "SECURITY" | "ANNOUNCEMENT"; publishedAt: string | Date; slug: string; content?: string | undefined; isHighlighted?: boolean | undefined; coverImageUrl?: string | null | undefined; isRead?: boolean | undefined; } | null | undefined; notFound?: boolean | undefined; onViewAll?: (() => void) | undefined; }>; type ProductUpdateDetailPageProps = z.infer; declare const WhatsNewDrawerPropsSchema: z.ZodObject<{ open: z.ZodBoolean; onClose: z.ZodFunction, z.ZodVoid>; items: z.ZodOptional; coverImageUrl: z.ZodOptional>; isHighlighted: z.ZodOptional; publishedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>; /** Markdown body; present on detail and in-app responses. */ content: z.ZodOptional; /** In-app read state; omitted on the public changelog. */ isRead: z.ZodOptional; }, "strip", z.ZodTypeAny, { title: string; id: string; summary: string; category: "NEW_FEATURE" | "IMPROVEMENT" | "BUG_FIX" | "SECURITY" | "ANNOUNCEMENT"; publishedAt: string | Date; slug: string; content?: string | undefined; isHighlighted?: boolean | undefined; coverImageUrl?: string | null | undefined; isRead?: boolean | undefined; }, { title: string; id: string; summary: string; category: "NEW_FEATURE" | "IMPROVEMENT" | "BUG_FIX" | "SECURITY" | "ANNOUNCEMENT"; publishedAt: string | Date; slug: string; content?: string | undefined; isHighlighted?: boolean | undefined; coverImageUrl?: string | null | undefined; isRead?: boolean | undefined; }>, "many">>; unreadCount: z.ZodOptional; isLoading: z.ZodOptional; isLoadingMore: z.ZodOptional; error: z.ZodOptional>>; hasMore: z.ZodOptional; /** Opens straight into this update's detail each time the drawer opens. */ initialItemId: z.ZodOptional>; /** Called when an update is opened in the drawer; mark it read here. */ onItemOpen: z.ZodOptional, z.ZodVoid>>; /** "Foi útil?" block for the opened update; shown only when `updateId` matches it. */ feedback: z.ZodOptional; comment: z.ZodOptional>; }, "strip", z.ZodTypeAny, { helpful: boolean | null; comment?: string | null | undefined; }, { helpful: boolean | null; comment?: string | null | undefined; }>>>; isLoading: z.ZodOptional; isSubmitting: z.ZodOptional; onSubmit: z.ZodFunction>; }, "strip", z.ZodTypeAny, { helpful: boolean; comment?: string | null | undefined; }, { helpful: boolean; comment?: string | null | undefined; }>], null>, z.ZodVoid>; }, "strip", z.ZodTypeAny, { onSubmit: (args_0: { helpful: boolean; comment?: string | null | undefined; }) => void; updateId: string; value?: { helpful: boolean | null; comment?: string | null | undefined; } | null | undefined; isSubmitting?: boolean | undefined; isLoading?: boolean | undefined; }, { onSubmit: (args_0: { helpful: boolean; comment?: string | null | undefined; }) => void; updateId: string; value?: { helpful: boolean | null; comment?: string | null | undefined; } | null | undefined; isSubmitting?: boolean | undefined; isLoading?: boolean | undefined; }>>; onMarkAllRead: z.ZodOptional, z.ZodVoid>>; onLoadMore: z.ZodOptional, z.ZodVoid>>; onRetry: z.ZodOptional, z.ZodVoid>>; /** Opens the full public changelog. */ onViewAll: z.ZodOptional, z.ZodVoid>>; }, "strip", z.ZodTypeAny, { onClose: () => void; open: boolean; error?: string | boolean | null | undefined; items?: { title: string; id: string; summary: string; category: "NEW_FEATURE" | "IMPROVEMENT" | "BUG_FIX" | "SECURITY" | "ANNOUNCEMENT"; publishedAt: string | Date; slug: string; content?: string | undefined; isHighlighted?: boolean | undefined; coverImageUrl?: string | null | undefined; isRead?: boolean | undefined; }[] | undefined; onRetry?: (() => void) | undefined; isLoading?: boolean | undefined; onLoadMore?: (() => void) | undefined; feedback?: { onSubmit: (args_0: { helpful: boolean; comment?: string | null | undefined; }) => void; updateId: string; value?: { helpful: boolean | null; comment?: string | null | undefined; } | null | undefined; isSubmitting?: boolean | undefined; isLoading?: boolean | undefined; } | undefined; unreadCount?: number | undefined; hasMore?: boolean | undefined; isLoadingMore?: boolean | undefined; onViewAll?: (() => void) | undefined; initialItemId?: string | null | undefined; onItemOpen?: ((args_0: string) => void) | undefined; onMarkAllRead?: (() => void) | undefined; }, { onClose: () => void; open: boolean; error?: string | boolean | null | undefined; items?: { title: string; id: string; summary: string; category: "NEW_FEATURE" | "IMPROVEMENT" | "BUG_FIX" | "SECURITY" | "ANNOUNCEMENT"; publishedAt: string | Date; slug: string; content?: string | undefined; isHighlighted?: boolean | undefined; coverImageUrl?: string | null | undefined; isRead?: boolean | undefined; }[] | undefined; onRetry?: (() => void) | undefined; isLoading?: boolean | undefined; onLoadMore?: (() => void) | undefined; feedback?: { onSubmit: (args_0: { helpful: boolean; comment?: string | null | undefined; }) => void; updateId: string; value?: { helpful: boolean | null; comment?: string | null | undefined; } | null | undefined; isSubmitting?: boolean | undefined; isLoading?: boolean | undefined; } | undefined; unreadCount?: number | undefined; hasMore?: boolean | undefined; isLoadingMore?: boolean | undefined; onViewAll?: (() => void) | undefined; initialItemId?: string | null | undefined; onItemOpen?: ((args_0: string) => void) | undefined; onMarkAllRead?: (() => void) | undefined; }>; type WhatsNewDrawerProps = z.infer; /** Public changelog ("Novidades"): newest first, grouped by month. */ declare const ProductUpdatesPage: React__default.FC; declare const ProductUpdateDetailPage: React__default.FC; /** In-app "Novidades" panel with unread markers and an inline detail view. */ declare const WhatsNewDrawer: React__default.FC; /** "Esta novidade foi útil?" with Sim/Não and an optional comment after "Não". */ declare const ProductUpdateFeedback: React__default.FC; interface ProductUpdateContentProps { /** Markdown body written in pt-BR. Raw HTML is never rendered. */ content: string; sx?: SxProps; } /** * Sanitized markdown renderer shared by the public changelog, the in-app * What's New drawer and the admin preview, so all three render identically. */ declare const ProductUpdateContent: React__default.FC; interface ProductUpdateCategoryChipProps { category: ProductUpdateCategory; size?: "small" | "medium"; } declare const ProductUpdateCategoryChip: React__default.FC; declare const PRODUCT_UPDATE_CATEGORY_LABELS: Record; declare function formatProductUpdateDate(value: string | Date): string; type ProductUpdateMonthGroup = { key: string; label: string; items: ProductUpdateItem[]; }; /** Groups already-sorted (newest first) updates under month headers. */ declare function groupProductUpdatesByMonth(items: ProductUpdateItem[]): ProductUpdateMonthGroup[]; declare function useProductUpdatesPage(props: ProductUpdatesPageProps): { data: { groups: ProductUpdateMonthGroup[]; hasItems: boolean; showInitialLoading: boolean; showError: boolean; showEmpty: boolean; errorMessage: string; selectedCategory: "ALL" | "NEW_FEATURE" | "IMPROVEMENT" | "BUG_FIX" | "SECURITY" | "ANNOUNCEMENT"; filterTabs: { value: ProductUpdateCategoryFilter; label: string; }[]; }; }; declare const ThemeModeSchema: z.ZodEnum<["light", "dark"]>; type ThemeMode = z.infer; declare const ThemePrefSchema: z.ZodEnum<["system", "light", "dark"]>; type ThemePref = z.infer; declare const ThemePropsSchema: z.ZodObject<{ children: z.ZodAny; }, "strip", z.ZodTypeAny, { children?: any; }, { children?: any; }>; type ThemeProps = z.infer; declare const ThemeContextPropsSchema: z.ZodObject<{ toggleTheme: z.ZodFunction, z.ZodVoid>; setThemePref: z.ZodFunction], null>, z.ZodVoid>; mode: z.ZodEnum<["light", "dark"]>; theme: z.ZodOptional; pref: z.ZodEnum<["system", "light", "dark"]>; }, "strip", z.ZodTypeAny, { mode: "dark" | "light"; toggleTheme: () => void; setThemePref: (args_0: "dark" | "light" | "system") => void; pref: "dark" | "light" | "system"; theme?: any; }, { mode: "dark" | "light"; toggleTheme: () => void; setThemePref: (args_0: "dark" | "light" | "system") => void; pref: "dark" | "light" | "system"; theme?: any; }>; type ThemeContextProps = z.infer; /** Brand colors derived from the logo */ declare const brand: { readonly coal: "#201C10"; readonly coalLight: "#48443B"; readonly coalDark: "#19160C"; readonly orange: "#BA4813"; readonly orangeLight: "#CD7B55"; readonly orangeDark: "#8D360E"; readonly cream: "#F3E2B3"; readonly straw: "#DBAD58"; readonly green: "#6F8C3A"; }; /** Optional: expose brand tokens on theme for type-safe access */ declare module "@mui/material/styles" { interface Theme { brand: typeof brand; } interface ThemeOptions { brand?: typeof brand; } } declare const ThemeProvider: React__default.FC; declare const useThemeProvider: () => ThemeContextProps; /** MUI sx multipliers — resolved against theme.shape.borderRadius */ declare const RADIUS: { readonly default: 1; readonly none: 0; readonly circle: "50%"; readonly pill: 9999; }; declare module "@mui/material/styles" { interface Theme { radii: typeof RADIUS; } interface ThemeOptions { radii?: typeof RADIUS; } } /** For styled() / raw CSS where px is required */ declare const radiusPx: (theme: Theme) => number; /** Drawer/sheet corners derived from theme.shape.borderRadius */ declare const drawerSheetRadius: (anchor: "top" | "bottom" | "left" | "right", theme: Theme) => string | number; /** * Overlay stacking for elevated surfaces that sit above MUI's default modal layer. * * Baseline (MUI defaults): drawer 1200, modal 1300, snackbar 1400, tooltip 1500. * FormChat FAB uses modal + 1 so it stays above fullscreen chat shells. * * Use these helpers instead of raw `theme.zIndex.modal + N` so drawers, FABs, * and nested menus stay consistent across current and future surfaces. */ declare const overlayZIndex: { /** Floating actions that must sit above modal shells (e.g. FormChat FAB). */ readonly floatingAction: (theme: Theme) => number; /** Drawers that must sit above floating actions (e.g. FilterDrawer). */ readonly elevatedDrawer: (theme: Theme) => number; /** * Portaled menus/selects/popovers opened from inside an elevated drawer. * Must be above elevatedDrawer or options render behind the sheet. */ readonly nestedMenu: (theme: Theme) => number; }; type ElementSize = { width: number; height: number; }; declare const EMPTY_ELEMENT_SIZE: ElementSize; /** * Observes an element's border-box size via ResizeObserver. * * Updates are coalesced with `requestAnimationFrame` to avoid layout thrash. * When `ResizeObserver` is unavailable, returns the last measured size (or * {@link EMPTY_ELEMENT_SIZE}) and still reads once on attach. */ declare function useElementSize(): { ref: (node: Element | null) => void; size: ElementSize; }; type UseHideOnScrollOptions = { /** Minimum scroll delta (px) to treat as active scrolling. Default 5. */ delta?: number; /** Idle ms after last significant scroll before showing chrome again. Default 300. */ idleMs?: number; }; /** * HomePage-style chrome hide-on-scroll: hide while the user is scrolling, * show again shortly after scroll stops. Listens on `window` (document scroll). */ declare function useHideOnScroll(options?: UseHideOnScrollOptions): { isScrolling: boolean; }; type MeasuredSlotSize = ElementSize; /** * HomePage measured-layout slot ids. * Chrome slots (`topBar`, `bottomNav`) drive content clearance; * content slots (e.g. `highlights`) drive container-relative layouts. */ declare const HOME_MEASURE_SLOTS: { readonly topBar: "home.topBar"; readonly bottomNav: "home.bottomNav"; readonly highlights: "home.highlights"; }; type HomeMeasureSlotId = (typeof HOME_MEASURE_SLOTS)[keyof typeof HOME_MEASURE_SLOTS]; type MeasuredLayoutRegistry = Record; type ContentClearanceOptions = { /** Slot id for fixed chrome above content (e.g. TopBar). */ above: string; /** Slot id for fixed chrome below content (e.g. BottomNav). */ below?: string; /** Extra px added to paddingTop (and paddingBottom when `below` is set). */ gap?: number; /** * Used until the slot has a measured height > 0 * (SSR / first paint before ResizeObserver). */ fallback?: { above?: number; below?: number; }; }; type ContentClearance = { paddingTop: number; paddingBottom: number; aboveHeight: number; belowHeight: number; }; type MeasuredLayoutContextValue = { sizes: MeasuredLayoutRegistry; setSlotSize: (slotId: string, size: MeasuredSlotSize) => void; clearSlotSize: (slotId: string) => void; getSlotSize: (slotId: string) => MeasuredSlotSize; }; type MeasuredLayoutProviderProps = { children: React__default.ReactNode; /** Optional initial sizes (useful in tests). */ initialSizes?: MeasuredLayoutRegistry; }; /** * Holds live measured sizes for named layout slots (fixed TopBar, BottomNav, etc.). * UI-only — no persistence or auth. */ declare const MeasuredLayoutProvider: React__default.FunctionComponent; declare const useMeasuredLayoutContext: () => MeasuredLayoutContextValue; /** Returns null outside a provider — safe for optional measure publishers. */ declare const useOptionalMeasuredLayoutContext: () => MeasuredLayoutContextValue | null; /** * Attaches a ResizeObserver to an element and publishes its size into the * measured-layout registry under `slotId`. * * Outside {@link MeasuredLayoutProvider}, returns a local measure ref only * (no publish) so chrome components remain usable in isolation. * * @param slotId - Registry key (e.g. `home.topBar`) * @param fallback - Optional size used until the first real measurement */ declare function useMeasureSlot(slotId: string, fallback?: MeasuredSlotSize): (node: Element | null) => void; /** * Reads another slot’s measured `{ width, height }`. * Returns `fallback` (or empty size) until a measurement is published. */ declare function useMeasuredSlot(slotId: string, fallback?: MeasuredSlotSize): MeasuredSlotSize; /** * Computes content padding to clear fixed chrome above/below. * * `paddingTop = aboveHeight + gap` * `paddingBottom = belowHeight + gap` when `below` is set (else 0) * * Falls back to `fallback.above` / `fallback.below` while measured height is 0. */ declare function useContentClearance({ above, below, gap, fallback, }: ContentClearanceOptions): ContentClearance; /** * Hook for managing subscription state and checking feature access * Follows project conventions: returns { data, fns } */ declare const useSubscription: (overrideSubscription?: UserSubscription) => { readonly data: { subscription: { status: "none" | "paused" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete" | "incomplete_expired"; plan: "standard" | "complete" | "free" | "essential" | "management" | "unlimit" | "enterprise" | "basic" | "advanced"; isAdmin: boolean; trialEndsAt?: string | null | undefined; currentPeriodEnd?: string | null | undefined; }; isActive: boolean; isTrialing: boolean; trialDaysRemaining: number | null; currentPlan: "standard" | "complete" | "free" | "essential" | "management" | "unlimit" | "enterprise" | "basic" | "advanced"; currentStatus: "none" | "paused" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete" | "incomplete_expired"; isAdmin: boolean; planDisplayName: string; nextPlan: "standard" | "complete" | "free" | "essential" | "management" | "unlimit" | "enterprise" | "basic" | "advanced" | null; }; readonly fns: { hasAccess: (requiredLevel: FeatureAccessLevel) => boolean; hasPluginAccess: (requiredPlugin: PluginId, activePlugins?: PluginId[]) => boolean; needsUpgrade: (requiredLevel: FeatureAccessLevel) => boolean; checkFeatures: (features: FeatureDefinition[]) => Record; getRequiredPlanForFeatures: (features: FeatureDefinition[]) => SubscriptionPlan; getPlanDisplayName: (plan: SubscriptionPlan) => string; updateSubscription: (updates: Partial) => void; }; }; interface SubscriptionContextType { subscription: UserSubscription; updateSubscription: (updates: Partial) => void; resetSubscription: () => void; } interface SubscriptionProviderProps { children: React__default.ReactNode; initialSubscription?: Partial; onSubscriptionChange?: (subscription: UserSubscription) => void; } /** * SubscriptionProvider: Manages subscription state across the application * Follows project patterns with proper TypeScript and state management */ declare const SubscriptionProvider: React__default.FunctionComponent; declare const useSubscriptionContext: () => SubscriptionContextType; /** * Usage context value */ interface UsageContextValue { /** * Current plan ID */ planId: string; /** * Current usage tracking data */ usage: UsageTracking; /** * Update usage for a feature */ updateUsage: (feature: FeatureKey, count: number) => void; /** * Increment usage for a feature */ incrementUsage: (feature: FeatureKey, count?: number) => void; /** * Decrement usage for a feature */ decrementUsage: (feature: FeatureKey, count?: number) => void; /** * Reset usage for current period */ resetPeriodUsage: () => void; /** * Set usage from external source */ setUsage: (usage: UsageTracking) => void; /** * Set plan ID */ setPlanId: (planId: string) => void; } /** * Props for UsageProvider */ interface UsageProviderProps { /** * Initial plan ID * @default "free" */ initialPlanId?: string; /** * Initial usage data */ initialUsage?: UsageTracking; /** * Callback when usage changes */ onUsageChange?: (usage: UsageTracking) => void; /** * Callback when plan changes */ onPlanChange?: (planId: string) => void; /** * Children */ children: React__default.ReactNode; } /** * Usage Provider Component * * Provides usage tracking context to the entire application * * @example * ```tsx * * * * ``` */ declare const UsageProvider: React__default.FC; /** * Hook to access usage context * * @throws Error if used outside UsageProvider * * @example * ```tsx * const { planId, usage, incrementUsage } = useUsageContext(); * * // When creating a new event * incrementUsage("events"); * ``` */ declare const useUsageContext: () => UsageContextValue; /** * Optional hook that returns null if outside provider */ declare const useOptionalUsageContext: () => UsageContextValue | null; type AcademyCertificatePdfPayload = { holderName: string; terreiroName: string; courseTitle: string; courseCode?: string | null; verificationCode: string; completionDate?: string | null; issuedAt?: string | null; logoUrl?: string | null; /** * Opcional: URL pública para validação do certificado. * Pode ser usada futuramente para QR Code ou link textual. */ verificationUrl?: string | null; }; declare const buildAcademyCertificatePreviewNode: (payload: AcademyCertificatePdfPayload) => Promise; declare const generateAcademyCertificatePdf: (payload: AcademyCertificatePdfPayload) => Promise; declare const secondsToRoundedMinutes: (seconds: number, precision?: number) => number; declare const formatSecondsAsMinutesLabel: (seconds?: number | null, options?: { precision?: number; unitLabel?: string; secondsPrecision?: number; secondsUnitLabel?: string; }) => string | undefined; /** P5 / decisão #23: bands_v1 never renders «Grátis»; 0¢ → R$ 0,00. */ declare function formatMoney(money: Money): string; declare function isPasskeySupported(): Promise; declare function startPasskeyRegistration(options: PublicKeyCredentialCreationOptionsJSON): Promise; declare function startPasskeyAuthentication(options: PublicKeyCredentialRequestOptionsJSON): Promise; declare function mapPasskeyError(error: unknown): string; declare const OnboardingIconKeySchema: z$1.ZodEnum<["list", "coin", "qr-code", "heart", "house", "clipboard", "person", "key", "eye", "share", "notebook", "spreadsheet", "chat", "smartphone", "sparkle", "arrows-swap", "calendar", "box", "shield-check", "mail"]>; type OnboardingIconKey = z$1.infer; declare const ONBOARDING_ICON_KEYS: readonly OnboardingIconKey[]; declare const QuizOutcomeSchema: z$1.ZodEnum<["house_qualified", "medium_join_house", "medium_personal_profile"]>; type QuizOutcome = z$1.infer; /** Same values as SignupPage `lockRole` / `signup_type_selected` (`medium` | `terreiro`). */ declare const OnboardingSignupRoleSchema: z$1.ZodEnum<["medium", "terreiro"]>; type OnboardingSignupRole = z$1.infer; declare const NextRuleSchema: z$1.ZodUnion<[z$1.ZodObject<{ when: z$1.ZodOptional; optionIds: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }>>; goTo: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }, { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }>, z$1.ZodObject<{ when: z$1.ZodOptional; optionIds: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }>>; end: z$1.ZodObject<{ outcome: z$1.ZodEnum<["house_qualified", "medium_join_house", "medium_personal_profile"]>; }, "strip", z$1.ZodTypeAny, { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }, { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }>; }, "strip", z$1.ZodTypeAny, { end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }, { end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }>]>; type NextRule = z$1.infer; declare const QuizStepSchema: z$1.ZodDiscriminatedUnion<"kind", [z$1.ZodObject<{ id: z$1.ZodString; kind: z$1.ZodLiteral<"welcome">; backAction: z$1.ZodOptional; badge: z$1.ZodOptional; title: z$1.ZodString; text: z$1.ZodOptional; items: z$1.ZodOptional; text: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { text: string; icon?: string | undefined; }, { text: string; icon?: string | undefined; }>, "many">>; cta: z$1.ZodObject<{ id: z$1.ZodOptional; label: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { label: string; id?: string | undefined; }, { label: string; id?: string | undefined; }>; loginLink: z$1.ZodOptional; label: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { label: string; prefix?: string | undefined; }, { label: string; prefix?: string | undefined; }>>; footerLinks: z$1.ZodOptional, "many">>; next: z$1.ZodArray; optionIds: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }>>; goTo: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }, { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }>, z$1.ZodObject<{ when: z$1.ZodOptional; optionIds: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }>>; end: z$1.ZodObject<{ outcome: z$1.ZodEnum<["house_qualified", "medium_join_house", "medium_personal_profile"]>; }, "strip", z$1.ZodTypeAny, { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }, { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }>; }, "strip", z$1.ZodTypeAny, { end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }, { end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }>]>, "many">; }, "strip", z$1.ZodTypeAny, { title: string; id: string; next: ({ end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; } | { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; })[]; kind: "welcome"; cta: { label: string; id?: string | undefined; }; text?: string | undefined; items?: { text: string; icon?: string | undefined; }[] | undefined; badge?: string | undefined; backAction?: boolean | undefined; loginLink?: { label: string; prefix?: string | undefined; } | undefined; footerLinks?: { id: string; label: string; }[] | undefined; }, { title: string; id: string; next: ({ end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; } | { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; })[]; kind: "welcome"; cta: { label: string; id?: string | undefined; }; text?: string | undefined; items?: { text: string; icon?: string | undefined; }[] | undefined; badge?: string | undefined; backAction?: boolean | undefined; loginLink?: { label: string; prefix?: string | undefined; } | undefined; footerLinks?: { id: string; label: string; }[] | undefined; }>, z$1.ZodObject<{ id: z$1.ZodString; kind: z$1.ZodLiteral<"question">; progress: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { position: number; track: string; showLabel?: boolean | undefined; }, { position: number; track: string; showLabel?: boolean | undefined; }>>; eyebrow: z$1.ZodOptional; text: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { text: string; icon?: string | undefined; }, { text: string; icon?: string | undefined; }>>; title: z$1.ZodString; subtitle: z$1.ZodOptional; selection: z$1.ZodObject<{ mode: z$1.ZodEnum<["single", "multiple"]>; min: z$1.ZodNumber; max: z$1.ZodNumber; }, "strip", z$1.ZodTypeAny, { max: number; min: number; mode: "multiple" | "single"; }, { max: number; min: number; mode: "multiple" | "single"; }>; options: z$1.ZodArray; leading: z$1.ZodOptional; icon: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: "icon"; icon: string; }, { type: "icon"; icon: string; }>, z$1.ZodObject<{ type: z$1.ZodLiteral<"badge">; text: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { text: string; type: "badge"; }, { text: string; type: "badge"; }>]>>; }, "strip", z$1.ZodTypeAny, { title: string; id: string; description?: string | undefined; leading?: { type: "icon"; icon: string; } | { text: string; type: "badge"; } | undefined; }, { title: string; id: string; description?: string | undefined; leading?: { type: "icon"; icon: string; } | { text: string; type: "badge"; } | undefined; }>, "many">; counterTemplate: z$1.ZodOptional; hint: z$1.ZodOptional; text: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { text: string; icon?: string | undefined; }, { text: string; icon?: string | undefined; }>>; cta: z$1.ZodObject<{ id: z$1.ZodOptional; label: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { label: string; id?: string | undefined; }, { label: string; id?: string | undefined; }>; secondaryAction: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { id: string; label: string; goTo?: string | undefined; }, { id: string; label: string; goTo?: string | undefined; }>>; next: z$1.ZodArray; optionIds: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }>>; goTo: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }, { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }>, z$1.ZodObject<{ when: z$1.ZodOptional; optionIds: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }>>; end: z$1.ZodObject<{ outcome: z$1.ZodEnum<["house_qualified", "medium_join_house", "medium_personal_profile"]>; }, "strip", z$1.ZodTypeAny, { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }, { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }>; }, "strip", z$1.ZodTypeAny, { end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }, { end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }>]>, "many">; }, "strip", z$1.ZodTypeAny, { title: string; id: string; options: { title: string; id: string; description?: string | undefined; leading?: { type: "icon"; icon: string; } | { text: string; type: "badge"; } | undefined; }[]; next: ({ end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; } | { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; })[]; kind: "question"; selection: { max: number; min: number; mode: "multiple" | "single"; }; cta: { label: string; id?: string | undefined; }; progress?: { position: number; track: string; showLabel?: boolean | undefined; } | undefined; hint?: { text: string; icon?: string | undefined; } | undefined; secondaryAction?: { id: string; label: string; goTo?: string | undefined; } | undefined; subtitle?: string | undefined; eyebrow?: { text: string; icon?: string | undefined; } | undefined; counterTemplate?: string | undefined; }, { title: string; id: string; options: { title: string; id: string; description?: string | undefined; leading?: { type: "icon"; icon: string; } | { text: string; type: "badge"; } | undefined; }[]; next: ({ end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; } | { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; })[]; kind: "question"; selection: { max: number; min: number; mode: "multiple" | "single"; }; cta: { label: string; id?: string | undefined; }; progress?: { position: number; track: string; showLabel?: boolean | undefined; } | undefined; hint?: { text: string; icon?: string | undefined; } | undefined; secondaryAction?: { id: string; label: string; goTo?: string | undefined; } | undefined; subtitle?: string | undefined; eyebrow?: { text: string; icon?: string | undefined; } | undefined; counterTemplate?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodString; kind: z$1.ZodLiteral<"summary">; progress: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { position: number; track: string; showLabel?: boolean | undefined; }, { position: number; track: string; showLabel?: boolean | undefined; }>>; title: z$1.ZodString; previewBadge: z$1.ZodOptional; summaryTitle: z$1.ZodOptional; summaryRows: z$1.ZodOptional, "many">>; recommendationLabel: z$1.ZodOptional; next: z$1.ZodArray; optionIds: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }>>; goTo: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }, { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }>, z$1.ZodObject<{ when: z$1.ZodOptional; optionIds: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }>>; end: z$1.ZodObject<{ outcome: z$1.ZodEnum<["house_qualified", "medium_join_house", "medium_personal_profile"]>; }, "strip", z$1.ZodTypeAny, { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }, { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }>; }, "strip", z$1.ZodTypeAny, { end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }, { end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }>]>, "many">; }, "strip", z$1.ZodTypeAny, { title: string; id: string; next: ({ end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; } | { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; })[]; kind: "summary"; progress?: { position: number; track: string; showLabel?: boolean | undefined; } | undefined; previewBadge?: string | undefined; summaryTitle?: string | undefined; summaryRows?: { label: string; fromStepId: string; }[] | undefined; recommendationLabel?: string | undefined; }, { title: string; id: string; next: ({ end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; } | { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; })[]; kind: "summary"; progress?: { position: number; track: string; showLabel?: boolean | undefined; } | undefined; previewBadge?: string | undefined; summaryTitle?: string | undefined; summaryRows?: { label: string; fromStepId: string; }[] | undefined; recommendationLabel?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodString; kind: z$1.ZodLiteral<"account">; signupRole: z$1.ZodOptional>; title: z$1.ZodString; highlight: z$1.ZodOptional; text: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { text: string; icon?: string | undefined; }, { text: string; icon?: string | undefined; }>>; textTemplate: z$1.ZodOptional; providers: z$1.ZodArray, "many">; consent: z$1.ZodObject<{ text: z$1.ZodString; policyLinkLabel: z$1.ZodString; textVersion: z$1.ZodString; required: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { text: string; policyLinkLabel: string; textVersion: string; required?: boolean | undefined; }, { text: string; policyLinkLabel: string; textVersion: string; required?: boolean | undefined; }>; loginLink: z$1.ZodOptional; label: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { label: string; prefix?: string | undefined; }, { label: string; prefix?: string | undefined; }>>; next: z$1.ZodArray; optionIds: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }>>; goTo: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }, { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }>, z$1.ZodObject<{ when: z$1.ZodOptional; optionIds: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }>>; end: z$1.ZodObject<{ outcome: z$1.ZodEnum<["house_qualified", "medium_join_house", "medium_personal_profile"]>; }, "strip", z$1.ZodTypeAny, { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }, { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }>; }, "strip", z$1.ZodTypeAny, { end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }, { end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }>]>, "many">; }, "strip", z$1.ZodTypeAny, { title: string; id: string; next: ({ end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; } | { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; })[]; kind: "account"; consent: { text: string; policyLinkLabel: string; textVersion: string; required?: boolean | undefined; }; providers: ("email" | "google")[]; highlight?: { text: string; icon?: string | undefined; } | undefined; loginLink?: { label: string; prefix?: string | undefined; } | undefined; signupRole?: "medium" | "terreiro" | undefined; textTemplate?: string | undefined; }, { title: string; id: string; next: ({ end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; } | { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; })[]; kind: "account"; consent: { text: string; policyLinkLabel: string; textVersion: string; required?: boolean | undefined; }; providers: ("email" | "google")[]; highlight?: { text: string; icon?: string | undefined; } | undefined; loginLink?: { label: string; prefix?: string | undefined; } | undefined; signupRole?: "medium" | "terreiro" | undefined; textTemplate?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodString; kind: z$1.ZodLiteral<"closing">; badge: z$1.ZodOptional; title: z$1.ZodString; text: z$1.ZodOptional; /** Overrides `text` when the first matching rule applies (e.g. medium_branch path). */ contextTextRules: z$1.ZodOptional; optionIds: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }>; text: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { text: string; when: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }; }, { text: string; when: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }; }>, "many">>; items: z$1.ZodOptional; text: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { text: string; icon?: string | undefined; }, { text: string; icon?: string | undefined; }>, "many">>; cta: z$1.ZodObject<{ id: z$1.ZodOptional; label: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { label: string; id?: string | undefined; }, { label: string; id?: string | undefined; }>; secondaryAction: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { id: string; label: string; goTo?: string | undefined; }, { id: string; label: string; goTo?: string | undefined; }>>; outcome: z$1.ZodEnum<["house_qualified", "medium_join_house", "medium_personal_profile"]>; next: z$1.ZodOptional; optionIds: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }>>; goTo: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }, { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }>, z$1.ZodObject<{ when: z$1.ZodOptional; optionIds: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }>>; end: z$1.ZodObject<{ outcome: z$1.ZodEnum<["house_qualified", "medium_join_house", "medium_personal_profile"]>; }, "strip", z$1.ZodTypeAny, { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }, { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }>; }, "strip", z$1.ZodTypeAny, { end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }, { end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }>]>, "many">>; }, "strip", z$1.ZodTypeAny, { title: string; id: string; kind: "closing"; outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; cta: { label: string; id?: string | undefined; }; text?: string | undefined; next?: ({ end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; } | { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; })[] | undefined; secondaryAction?: { id: string; label: string; goTo?: string | undefined; } | undefined; items?: { text: string; icon?: string | undefined; }[] | undefined; badge?: string | undefined; contextTextRules?: { text: string; when: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }; }[] | undefined; }, { title: string; id: string; kind: "closing"; outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; cta: { label: string; id?: string | undefined; }; text?: string | undefined; next?: ({ end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; } | { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; })[] | undefined; secondaryAction?: { id: string; label: string; goTo?: string | undefined; } | undefined; items?: { text: string; icon?: string | undefined; }[] | undefined; badge?: string | undefined; contextTextRules?: { text: string; when: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }; }[] | undefined; }>]>; type QuizStep = z$1.infer; declare const QuizDefinitionSchema: z$1.ZodObject<{ schemaVersion: z$1.ZodLiteral<1>; quizId: z$1.ZodString; quizVersion: z$1.ZodString; locale: z$1.ZodString; entryStepId: z$1.ZodString; progressTracks: z$1.ZodRecord>; steps: z$1.ZodArray; backAction: z$1.ZodOptional; badge: z$1.ZodOptional; title: z$1.ZodString; text: z$1.ZodOptional; items: z$1.ZodOptional; text: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { text: string; icon?: string | undefined; }, { text: string; icon?: string | undefined; }>, "many">>; cta: z$1.ZodObject<{ id: z$1.ZodOptional; label: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { label: string; id?: string | undefined; }, { label: string; id?: string | undefined; }>; loginLink: z$1.ZodOptional; label: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { label: string; prefix?: string | undefined; }, { label: string; prefix?: string | undefined; }>>; footerLinks: z$1.ZodOptional, "many">>; next: z$1.ZodArray; optionIds: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }>>; goTo: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }, { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }>, z$1.ZodObject<{ when: z$1.ZodOptional; optionIds: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }>>; end: z$1.ZodObject<{ outcome: z$1.ZodEnum<["house_qualified", "medium_join_house", "medium_personal_profile"]>; }, "strip", z$1.ZodTypeAny, { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }, { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }>; }, "strip", z$1.ZodTypeAny, { end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }, { end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }>]>, "many">; }, "strip", z$1.ZodTypeAny, { title: string; id: string; next: ({ end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; } | { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; })[]; kind: "welcome"; cta: { label: string; id?: string | undefined; }; text?: string | undefined; items?: { text: string; icon?: string | undefined; }[] | undefined; badge?: string | undefined; backAction?: boolean | undefined; loginLink?: { label: string; prefix?: string | undefined; } | undefined; footerLinks?: { id: string; label: string; }[] | undefined; }, { title: string; id: string; next: ({ end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; } | { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; })[]; kind: "welcome"; cta: { label: string; id?: string | undefined; }; text?: string | undefined; items?: { text: string; icon?: string | undefined; }[] | undefined; badge?: string | undefined; backAction?: boolean | undefined; loginLink?: { label: string; prefix?: string | undefined; } | undefined; footerLinks?: { id: string; label: string; }[] | undefined; }>, z$1.ZodObject<{ id: z$1.ZodString; kind: z$1.ZodLiteral<"question">; progress: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { position: number; track: string; showLabel?: boolean | undefined; }, { position: number; track: string; showLabel?: boolean | undefined; }>>; eyebrow: z$1.ZodOptional; text: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { text: string; icon?: string | undefined; }, { text: string; icon?: string | undefined; }>>; title: z$1.ZodString; subtitle: z$1.ZodOptional; selection: z$1.ZodObject<{ mode: z$1.ZodEnum<["single", "multiple"]>; min: z$1.ZodNumber; max: z$1.ZodNumber; }, "strip", z$1.ZodTypeAny, { max: number; min: number; mode: "multiple" | "single"; }, { max: number; min: number; mode: "multiple" | "single"; }>; options: z$1.ZodArray; leading: z$1.ZodOptional; icon: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: "icon"; icon: string; }, { type: "icon"; icon: string; }>, z$1.ZodObject<{ type: z$1.ZodLiteral<"badge">; text: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { text: string; type: "badge"; }, { text: string; type: "badge"; }>]>>; }, "strip", z$1.ZodTypeAny, { title: string; id: string; description?: string | undefined; leading?: { type: "icon"; icon: string; } | { text: string; type: "badge"; } | undefined; }, { title: string; id: string; description?: string | undefined; leading?: { type: "icon"; icon: string; } | { text: string; type: "badge"; } | undefined; }>, "many">; counterTemplate: z$1.ZodOptional; hint: z$1.ZodOptional; text: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { text: string; icon?: string | undefined; }, { text: string; icon?: string | undefined; }>>; cta: z$1.ZodObject<{ id: z$1.ZodOptional; label: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { label: string; id?: string | undefined; }, { label: string; id?: string | undefined; }>; secondaryAction: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { id: string; label: string; goTo?: string | undefined; }, { id: string; label: string; goTo?: string | undefined; }>>; next: z$1.ZodArray; optionIds: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }>>; goTo: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }, { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }>, z$1.ZodObject<{ when: z$1.ZodOptional; optionIds: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }>>; end: z$1.ZodObject<{ outcome: z$1.ZodEnum<["house_qualified", "medium_join_house", "medium_personal_profile"]>; }, "strip", z$1.ZodTypeAny, { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }, { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }>; }, "strip", z$1.ZodTypeAny, { end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }, { end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }>]>, "many">; }, "strip", z$1.ZodTypeAny, { title: string; id: string; options: { title: string; id: string; description?: string | undefined; leading?: { type: "icon"; icon: string; } | { text: string; type: "badge"; } | undefined; }[]; next: ({ end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; } | { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; })[]; kind: "question"; selection: { max: number; min: number; mode: "multiple" | "single"; }; cta: { label: string; id?: string | undefined; }; progress?: { position: number; track: string; showLabel?: boolean | undefined; } | undefined; hint?: { text: string; icon?: string | undefined; } | undefined; secondaryAction?: { id: string; label: string; goTo?: string | undefined; } | undefined; subtitle?: string | undefined; eyebrow?: { text: string; icon?: string | undefined; } | undefined; counterTemplate?: string | undefined; }, { title: string; id: string; options: { title: string; id: string; description?: string | undefined; leading?: { type: "icon"; icon: string; } | { text: string; type: "badge"; } | undefined; }[]; next: ({ end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; } | { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; })[]; kind: "question"; selection: { max: number; min: number; mode: "multiple" | "single"; }; cta: { label: string; id?: string | undefined; }; progress?: { position: number; track: string; showLabel?: boolean | undefined; } | undefined; hint?: { text: string; icon?: string | undefined; } | undefined; secondaryAction?: { id: string; label: string; goTo?: string | undefined; } | undefined; subtitle?: string | undefined; eyebrow?: { text: string; icon?: string | undefined; } | undefined; counterTemplate?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodString; kind: z$1.ZodLiteral<"summary">; progress: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { position: number; track: string; showLabel?: boolean | undefined; }, { position: number; track: string; showLabel?: boolean | undefined; }>>; title: z$1.ZodString; previewBadge: z$1.ZodOptional; summaryTitle: z$1.ZodOptional; summaryRows: z$1.ZodOptional, "many">>; recommendationLabel: z$1.ZodOptional; next: z$1.ZodArray; optionIds: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }>>; goTo: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }, { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }>, z$1.ZodObject<{ when: z$1.ZodOptional; optionIds: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }>>; end: z$1.ZodObject<{ outcome: z$1.ZodEnum<["house_qualified", "medium_join_house", "medium_personal_profile"]>; }, "strip", z$1.ZodTypeAny, { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }, { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }>; }, "strip", z$1.ZodTypeAny, { end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }, { end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }>]>, "many">; }, "strip", z$1.ZodTypeAny, { title: string; id: string; next: ({ end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; } | { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; })[]; kind: "summary"; progress?: { position: number; track: string; showLabel?: boolean | undefined; } | undefined; previewBadge?: string | undefined; summaryTitle?: string | undefined; summaryRows?: { label: string; fromStepId: string; }[] | undefined; recommendationLabel?: string | undefined; }, { title: string; id: string; next: ({ end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; } | { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; })[]; kind: "summary"; progress?: { position: number; track: string; showLabel?: boolean | undefined; } | undefined; previewBadge?: string | undefined; summaryTitle?: string | undefined; summaryRows?: { label: string; fromStepId: string; }[] | undefined; recommendationLabel?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodString; kind: z$1.ZodLiteral<"account">; signupRole: z$1.ZodOptional>; title: z$1.ZodString; highlight: z$1.ZodOptional; text: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { text: string; icon?: string | undefined; }, { text: string; icon?: string | undefined; }>>; textTemplate: z$1.ZodOptional; providers: z$1.ZodArray, "many">; consent: z$1.ZodObject<{ text: z$1.ZodString; policyLinkLabel: z$1.ZodString; textVersion: z$1.ZodString; required: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { text: string; policyLinkLabel: string; textVersion: string; required?: boolean | undefined; }, { text: string; policyLinkLabel: string; textVersion: string; required?: boolean | undefined; }>; loginLink: z$1.ZodOptional; label: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { label: string; prefix?: string | undefined; }, { label: string; prefix?: string | undefined; }>>; next: z$1.ZodArray; optionIds: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }>>; goTo: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }, { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }>, z$1.ZodObject<{ when: z$1.ZodOptional; optionIds: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }>>; end: z$1.ZodObject<{ outcome: z$1.ZodEnum<["house_qualified", "medium_join_house", "medium_personal_profile"]>; }, "strip", z$1.ZodTypeAny, { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }, { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }>; }, "strip", z$1.ZodTypeAny, { end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }, { end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }>]>, "many">; }, "strip", z$1.ZodTypeAny, { title: string; id: string; next: ({ end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; } | { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; })[]; kind: "account"; consent: { text: string; policyLinkLabel: string; textVersion: string; required?: boolean | undefined; }; providers: ("email" | "google")[]; highlight?: { text: string; icon?: string | undefined; } | undefined; loginLink?: { label: string; prefix?: string | undefined; } | undefined; signupRole?: "medium" | "terreiro" | undefined; textTemplate?: string | undefined; }, { title: string; id: string; next: ({ end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; } | { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; })[]; kind: "account"; consent: { text: string; policyLinkLabel: string; textVersion: string; required?: boolean | undefined; }; providers: ("email" | "google")[]; highlight?: { text: string; icon?: string | undefined; } | undefined; loginLink?: { label: string; prefix?: string | undefined; } | undefined; signupRole?: "medium" | "terreiro" | undefined; textTemplate?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodString; kind: z$1.ZodLiteral<"closing">; badge: z$1.ZodOptional; title: z$1.ZodString; text: z$1.ZodOptional; /** Overrides `text` when the first matching rule applies (e.g. medium_branch path). */ contextTextRules: z$1.ZodOptional; optionIds: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }>; text: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { text: string; when: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }; }, { text: string; when: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }; }>, "many">>; items: z$1.ZodOptional; text: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { text: string; icon?: string | undefined; }, { text: string; icon?: string | undefined; }>, "many">>; cta: z$1.ZodObject<{ id: z$1.ZodOptional; label: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { label: string; id?: string | undefined; }, { label: string; id?: string | undefined; }>; secondaryAction: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { id: string; label: string; goTo?: string | undefined; }, { id: string; label: string; goTo?: string | undefined; }>>; outcome: z$1.ZodEnum<["house_qualified", "medium_join_house", "medium_personal_profile"]>; next: z$1.ZodOptional; optionIds: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }>>; goTo: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }, { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }>, z$1.ZodObject<{ when: z$1.ZodOptional; optionIds: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }, { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }>>; end: z$1.ZodObject<{ outcome: z$1.ZodEnum<["house_qualified", "medium_join_house", "medium_personal_profile"]>; }, "strip", z$1.ZodTypeAny, { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }, { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }>; }, "strip", z$1.ZodTypeAny, { end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }, { end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; }>]>, "many">>; }, "strip", z$1.ZodTypeAny, { title: string; id: string; kind: "closing"; outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; cta: { label: string; id?: string | undefined; }; text?: string | undefined; next?: ({ end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; } | { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; })[] | undefined; secondaryAction?: { id: string; label: string; goTo?: string | undefined; } | undefined; items?: { text: string; icon?: string | undefined; }[] | undefined; badge?: string | undefined; contextTextRules?: { text: string; when: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }; }[] | undefined; }, { title: string; id: string; kind: "closing"; outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; cta: { label: string; id?: string | undefined; }; text?: string | undefined; next?: ({ end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; } | { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; })[] | undefined; secondaryAction?: { id: string; label: string; goTo?: string | undefined; } | undefined; items?: { text: string; icon?: string | undefined; }[] | undefined; badge?: string | undefined; contextTextRules?: { text: string; when: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }; }[] | undefined; }>]>, "many">; }, "strip", z$1.ZodTypeAny, { locale: string; steps: ({ title: string; id: string; next: ({ end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; } | { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; })[]; kind: "welcome"; cta: { label: string; id?: string | undefined; }; text?: string | undefined; items?: { text: string; icon?: string | undefined; }[] | undefined; badge?: string | undefined; backAction?: boolean | undefined; loginLink?: { label: string; prefix?: string | undefined; } | undefined; footerLinks?: { id: string; label: string; }[] | undefined; } | { title: string; id: string; options: { title: string; id: string; description?: string | undefined; leading?: { type: "icon"; icon: string; } | { text: string; type: "badge"; } | undefined; }[]; next: ({ end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; } | { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; })[]; kind: "question"; selection: { max: number; min: number; mode: "multiple" | "single"; }; cta: { label: string; id?: string | undefined; }; progress?: { position: number; track: string; showLabel?: boolean | undefined; } | undefined; hint?: { text: string; icon?: string | undefined; } | undefined; secondaryAction?: { id: string; label: string; goTo?: string | undefined; } | undefined; subtitle?: string | undefined; eyebrow?: { text: string; icon?: string | undefined; } | undefined; counterTemplate?: string | undefined; } | { title: string; id: string; next: ({ end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; } | { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; })[]; kind: "summary"; progress?: { position: number; track: string; showLabel?: boolean | undefined; } | undefined; previewBadge?: string | undefined; summaryTitle?: string | undefined; summaryRows?: { label: string; fromStepId: string; }[] | undefined; recommendationLabel?: string | undefined; } | { title: string; id: string; next: ({ end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; } | { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; })[]; kind: "account"; consent: { text: string; policyLinkLabel: string; textVersion: string; required?: boolean | undefined; }; providers: ("email" | "google")[]; highlight?: { text: string; icon?: string | undefined; } | undefined; loginLink?: { label: string; prefix?: string | undefined; } | undefined; signupRole?: "medium" | "terreiro" | undefined; textTemplate?: string | undefined; } | { title: string; id: string; kind: "closing"; outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; cta: { label: string; id?: string | undefined; }; text?: string | undefined; next?: ({ end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; } | { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; })[] | undefined; secondaryAction?: { id: string; label: string; goTo?: string | undefined; } | undefined; items?: { text: string; icon?: string | undefined; }[] | undefined; badge?: string | undefined; contextTextRules?: { text: string; when: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }; }[] | undefined; })[]; schemaVersion: 1; quizId: string; quizVersion: string; entryStepId: string; progressTracks: Record; }, { locale: string; steps: ({ title: string; id: string; next: ({ end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; } | { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; })[]; kind: "welcome"; cta: { label: string; id?: string | undefined; }; text?: string | undefined; items?: { text: string; icon?: string | undefined; }[] | undefined; badge?: string | undefined; backAction?: boolean | undefined; loginLink?: { label: string; prefix?: string | undefined; } | undefined; footerLinks?: { id: string; label: string; }[] | undefined; } | { title: string; id: string; options: { title: string; id: string; description?: string | undefined; leading?: { type: "icon"; icon: string; } | { text: string; type: "badge"; } | undefined; }[]; next: ({ end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; } | { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; })[]; kind: "question"; selection: { max: number; min: number; mode: "multiple" | "single"; }; cta: { label: string; id?: string | undefined; }; progress?: { position: number; track: string; showLabel?: boolean | undefined; } | undefined; hint?: { text: string; icon?: string | undefined; } | undefined; secondaryAction?: { id: string; label: string; goTo?: string | undefined; } | undefined; subtitle?: string | undefined; eyebrow?: { text: string; icon?: string | undefined; } | undefined; counterTemplate?: string | undefined; } | { title: string; id: string; next: ({ end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; } | { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; })[]; kind: "summary"; progress?: { position: number; track: string; showLabel?: boolean | undefined; } | undefined; previewBadge?: string | undefined; summaryTitle?: string | undefined; summaryRows?: { label: string; fromStepId: string; }[] | undefined; recommendationLabel?: string | undefined; } | { title: string; id: string; next: ({ end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; } | { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; })[]; kind: "account"; consent: { text: string; policyLinkLabel: string; textVersion: string; required?: boolean | undefined; }; providers: ("email" | "google")[]; highlight?: { text: string; icon?: string | undefined; } | undefined; loginLink?: { label: string; prefix?: string | undefined; } | undefined; signupRole?: "medium" | "terreiro" | undefined; textTemplate?: string | undefined; } | { title: string; id: string; kind: "closing"; outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; cta: { label: string; id?: string | undefined; }; text?: string | undefined; next?: ({ end: { outcome: "house_qualified" | "medium_join_house" | "medium_personal_profile"; }; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; } | { goTo: string; when?: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; } | undefined; })[] | undefined; secondaryAction?: { id: string; label: string; goTo?: string | undefined; } | undefined; items?: { text: string; icon?: string | undefined; }[] | undefined; badge?: string | undefined; contextTextRules?: { text: string; when: { stepId: string; op: "anyOf" | "allOf"; optionIds: string[]; }; }[] | undefined; })[]; schemaVersion: 1; quizId: string; quizVersion: string; entryStepId: string; progressTracks: Record; }>; type QuizDefinition = z$1.infer; declare const QuizAnswersSchema: z$1.ZodRecord>; type QuizAnswers = z$1.infer; declare const QualificationAnswersDocumentSchema: z$1.ZodObject<{ schemaVersion: z$1.ZodLiteral<1>; quizVersion: z$1.ZodOptional; answers: z$1.ZodRecord>; }, "strip", z$1.ZodTypeAny, { answers: Record; schemaVersion: 1; quizVersion?: string | undefined; }, { answers: Record; schemaVersion: 1; quizVersion?: string | undefined; }>; type QualificationAnswersDocument = z$1.infer; declare const BandQuotaPairsDocumentSchema: z$1.ZodObject<{ schemaVersion: z$1.ZodLiteral<1>; pairs: z$1.ZodArray, z$1.ZodLiteral<"over_500">]>; }, "strip", z$1.ZodTypeAny, { maxMediums: number | "over_60" | "over_500"; bandId: string; badgeText: string; }, { maxMediums: number | "over_60" | "over_500"; bandId: string; badgeText: string; }>, "many">; }, "strip", z$1.ZodTypeAny, { schemaVersion: 1; pairs: { maxMediums: number | "over_60" | "over_500"; bandId: string; badgeText: string; }[]; }, { schemaVersion: 1; pairs: { maxMediums: number | "over_60" | "over_500"; bandId: string; badgeText: string; }[]; }>; type BandQuotaPairsDocument = z$1.infer; declare const DEFAULT_ONBOARDING_LEADER_SHARE_URL = "https://app.ilovemacumba.com.br"; type OnboardingShareWithLeaderPayload = { shareUrl: string; message: string; whatsAppHref: string; }; declare function buildLeaderWhatsAppShare(input: { shareUrl: string; messageTemplate?: string; }): OnboardingShareWithLeaderPayload; declare function openWhatsAppShare(whatsAppHref: string): void; /** Step, option, action and plan ids: ^[a-z][a-z0-9_]*$ [CONS-v2 §1.0] */ declare const OnboardingIdSchema: z$1.ZodString; type OnboardingId = z$1.infer; /** * Parses and validates a quiz definition (schemaVersion must be 1). * Unknown fields are stripped (Zod default). */ declare function parseQuizDefinition(json: unknown): QuizDefinition; type ResolveNextResult = { goTo: string; } | { end: { outcome: QuizOutcome; }; }; declare function resolveNext(def: QuizDefinition, stepId: string, answers: QuizAnswers): ResolveNextResult; declare function getReachablePath(def: QuizDefinition, answers: QuizAnswers): string[]; /** Step ids visited before `targetStepId` on the reachable path (for rehydrated back navigation). */ declare function getHistoryUntilStep(def: QuizDefinition, answers: QuizAnswers, targetStepId: string): string[]; declare function pruneAnswers(def: QuizDefinition, answers: QuizAnswers): QuizAnswers; declare function toAnswersDocument(def: QuizDefinition, answers: QuizAnswers): QualificationAnswersDocument; declare function buildSummaryRows(def: QuizDefinition, answers: QuizAnswers, labels: Record): { id: string; label: string; value: string; }[]; /** Maps option id → display title for summary rows and previews. */ declare function buildOptionLabelMap(def: QuizDefinition): Record; type ResolvedStepProgress = { position: number; total: number; showLabel?: boolean; }; declare function resolveStepProgress(def: QuizDefinition, step: QuizStep, answers?: QuizAnswers): ResolvedStepProgress | undefined; type PlanRecommendationView = { planId: string; planName: string; reasonText?: string; priceLabel?: string; trial?: { days: number; } | null; pricingModel?: PricingModel; }; type PlanRecommendationCardProps = { label: string; recommendation: PlanRecommendationView; stepId?: string; onAnalyticsEvent?: OnboardingAnalyticsCallback; sensitiveStepIds?: string[]; trialBadgeTemplate?: string; ctaLabel: string; onSelectPlan: (payload: { planId: string; }) => void; loading?: boolean; quote?: QuoteState; onRetryQuote?: () => void; quoteErrorLabel?: string; retryQuoteLabel?: string; pricingModel?: PricingModel; /** bands_v1: aligns card quote with user-selected billing interval. */ quoteInterval?: Interval; /** Optional display override (e.g. per-medium count from onboarding slider). */ quoteSummaryOverride?: PriceSummaryView; /** Forwards to the compact PriceSummary inside the card. */ priceSummaryLabels?: PriceSummaryLabels; /** bands_v1 onboarding: price lines live in the sticky footer instead. */ suppressQuoteSummary?: boolean; }; declare function PlanRecommendationCard({ label, recommendation, stepId, onAnalyticsEvent, sensitiveStepIds, trialBadgeTemplate, ctaLabel, onSelectPlan, loading, quote, onRetryQuote, quoteErrorLabel, retryQuoteLabel, pricingModel, quoteInterval, quoteSummaryOverride, priceSummaryLabels, suppressQuoteSummary, }: PlanRecommendationCardProps): React__default.JSX.Element; /** Official band option ids → catalog plan (aligned with UsageQuota plan ids). */ declare const BAND_PLAN_MAP: Record; declare function recommendPlanFromBand(bandId?: string): PlanRecommendationView; /** Maps onboarding main_pains ids to bands_v1 plugin ids (deduplicated). */ declare function painsToPluginIds(pains: string[]): PluginId[]; declare function mergePluginsWithPainDefaults(plugins: PluginView[], pains: string[]): PluginView[]; type QuizAccountProvider = "google" | "email"; type QuizAccountStepProps = { title: string; stepId?: string; onAnalyticsEvent?: OnboardingAnalyticsCallback; sensitiveStepIds?: string[]; subtitle?: string; highlight?: { icon: string; text: string; }; reassuranceText?: string; resolvedText?: string; consent: { text: string; policyLinkLabel: string; required?: boolean; }; consentGranted: boolean; onConsentChange: (granted: boolean) => void; onAuth: (payload: { provider: QuizAccountProvider; consentGranted: boolean; }) => void; onPrivacyPolicyClick: () => void; onLogin: () => void; onBack?: () => void; loginLink?: { prefix: string; label: string; }; authDividerLabel?: string; pendingProvider?: QuizAccountProvider | null; errorText?: string; emailCtaLabel?: string; }; declare function QuizAccountStep({ title, stepId, onAnalyticsEvent, sensitiveStepIds, subtitle, highlight, reassuranceText, resolvedText, consent, consentGranted, onConsentChange, onAuth, onPrivacyPolicyClick, onLogin, onBack, loginLink, authDividerLabel, pendingProvider, errorText, emailCtaLabel, }: QuizAccountStepProps): React__default.JSX.Element; type OnboardingTrackEvent = { type: "step_view"; stepId: string; } | { type: "step_complete"; stepId: string; } | { type: "quiz_outcome"; outcome: QuizOutcome; } | { type: "plan_selected"; planId: string; } | { type: "plan_selected"; bandId?: BandId; pluginIds?: PluginId[]; interval?: Interval; } | { type: "plugin_toggled"; pluginId: PluginId; on: boolean; } | { type: "interval_changed"; interval: Interval; } | { type: "auth_attempt"; provider: QuizAccountProvider; consentGranted: boolean; accountType: OnboardingSignupRole; } | { type: "share_with_leader"; channel: "whatsapp"; }; type OnboardingFlowCompletePayload = { outcome: QuizOutcome; answers: QualificationAnswersDocument; planId?: string; accountType: OnboardingSignupRole; selection?: SelectionPayload; }; type OnboardingShareWithLeaderConfig = { shareUrl?: string; messageTemplate?: string; }; type OnboardingSalesContact = { label: string; href?: string; }; type OnboardingFlowProps = { definition: QuizDefinition; /** App-supplied catalog; first entry used when getPlanRecommendation is omitted. */ plans?: PlanRecommendationView[]; getPlanRecommendation?: (input: { answers: QuizAnswers; bandId?: string; }) => PlanRecommendationView; initialAnswers?: QuizAnswers; initialStepId?: string; housePreviewName?: string; onComplete: (payload: OnboardingFlowCompletePayload) => void; /** Persisted answers snapshot (pruned to reachable path). */ onSubmit?: (payload: QualificationAnswersDocument) => void; onTrackEvent?: (event: OnboardingTrackEvent) => void; /** Growth analytics (`name` / `properties` / `contains_answer`); does not replace `onTrackEvent`. */ onAnalyticsEvent?: OnboardingAnalyticsCallback; /** Step ids where every emitted event sets `contains_answer: true` (App-supplied, default `[]`). */ sensitiveStepIds?: string[]; onAuth?: (payload: { provider: QuizAccountProvider; consentGranted: boolean; accountType: OnboardingSignupRole; }) => void; onLogin?: () => void; onPrivacyPolicy?: () => void; onFooterLink?: (linkId: string) => void; shareWithLeader?: OnboardingShareWithLeaderConfig; /** Defaults to opening wa.me with `shareWithLeader` / built-in message. */ onShareWithLeader?: (payload: OnboardingShareWithLeaderPayload) => void; pricingModel?: PricingModel; recommendation?: OnboardingRecommendationView; onSelectionChange?: (selection: SelectionPayload) => void; onRetryQuote?: () => void; interval?: Interval; onIntervalChange?: (interval: Interval) => void; showIntervalSelector?: boolean; loading?: boolean; /** bands_v1 + band over_500: CTA label/link for enterprise sales (default label "Falar com vendas"). */ salesContact?: OnboardingSalesContact; onContactSales?: () => void; }; declare const ONBOARDING_ENTERPRISE_BAND_QUIZ_ID = "over_500"; declare function OnboardingFlow({ definition, plans, getPlanRecommendation, initialAnswers, initialStepId, housePreviewName, onComplete, onSubmit, onTrackEvent, onAnalyticsEvent, sensitiveStepIds, onAuth, onLogin, onPrivacyPolicy, onFooterLink, shareWithLeader, onShareWithLeader, pricingModel, recommendation, onSelectionChange, onRetryQuote, interval: intervalProp, onIntervalChange, showIntervalSelector, loading, salesContact, onContactSales, }: OnboardingFlowProps): React__default.JSX.Element | null; type OnboardingQuizStepOptionLeading = { type: "icon"; icon: string; } | { type: "badge"; text: string; }; type OnboardingQuizStepProps = { stepId: string; onAnalyticsEvent?: OnboardingAnalyticsCallback; sensitiveStepIds?: string[]; eyebrow?: { icon?: string; text: string; }; title: string; subtitle?: string; selection: { mode: "single" | "multiple"; min: number; max: number; }; options: Array<{ id: string; title: string; description?: string; leading?: OnboardingQuizStepOptionLeading; }>; counterTemplate?: string; hint?: { icon?: string; text: string; }; ctaLabel: string; secondaryAction?: { id: string; label: string; goTo?: string; }; progress?: { position: number; total: number; showLabel?: boolean; }; showBack?: boolean; value: string[]; onChange: (next: string[]) => void; /** Called with the latest selection when advancing (auto or manual confirm). */ onContinue: (value: string[]) => void; /** Text-only Voltar below options (header back arrow remains when showBack). */ showFooterBack?: boolean; onBack?: () => void; onSecondaryAction?: (actionId: string) => void; /** When false, selection is recorded but auto-advance is skipped (e.g. WhatsApp share). */ shouldAutoAdvanceOption?: (optionId: string) => boolean; onOptionActivated?: (optionId: string, value: string[]) => void; }; declare function OnboardingQuizStep(props: OnboardingQuizStepProps): React__default.JSX.Element; type QuizProgressHeaderProps = { showBack?: boolean; onBack?: () => void; position?: number; total?: number; showLabel?: boolean; trackLabel?: string; }; declare function QuizProgressHeader({ showBack, onBack, position, total, showLabel, }: QuizProgressHeaderProps): React__default.JSX.Element; type QuizOptionLeading = { type: "icon"; icon: string; } | { type: "badge"; text: string; }; type QuizOptionCardProps = { optionId: string; title: string; description?: string; leading?: QuizOptionLeading; mode: "single" | "multiple"; selected: boolean; selectionDisabled?: boolean; tabIndex?: number; buttonRef?: (element: HTMLButtonElement | null) => void; onActivate: () => void; onKeyNavigate?: (direction: "next" | "prev") => void; /** Rendered to the right of the title/description (e.g. plan badges). */ trailing?: ReactNode; /** When set, avoids wrapping the title on one line (opt-in). */ titleNoWrap?: boolean; /** * Selected surface style. Defaults to MUI `action.selected`; `brand` uses cream tokens * (story/settings opt-in only). */ selectionSurface?: "default" | "brand"; }; declare function QuizOptionCard({ optionId, title, description, leading, mode, selected, selectionDisabled, tabIndex, buttonRef, onActivate, onKeyNavigate, trailing, titleNoWrap, selectionSurface, }: QuizOptionCardProps): React__default.JSX.Element; type QuizHintProps = { icon?: string; text: string; }; declare function QuizHint({ icon, text }: QuizHintProps): React__default.JSX.Element; type QuizEyebrowProps = { icon?: string; text: string; }; declare function QuizEyebrow({ icon, text }: QuizEyebrowProps): React__default.JSX.Element; type QuizSummaryRow = { id: string; label: string; value: string; }; type QuizSummaryCardProps = { title: string; rows: QuizSummaryRow[]; }; declare function QuizSummaryCard({ title, rows }: QuizSummaryCardProps): React__default.JSX.Element; type MediumCountSliderProps = { value: number; min: number; max: number; onChange: (value: number) => void; disabled?: boolean; }; declare function MediumCountSlider({ value, min, max, onChange, disabled, }: MediumCountSliderProps): React__default.JSX.Element; type OnboardingMediumCountBandSelectProps = { label?: string; value: string; options: OnboardingQuizStepProps["options"]; disabled?: boolean; onChange: (bandId: string) => void; }; declare function OnboardingMediumCountBandSelect({ label, value, options, disabled, onChange, }: OnboardingMediumCountBandSelectProps): React__default.JSX.Element; type OnboardingPlanStickyPriceFooterProps = { quote?: QuoteState; summary?: PriceSummaryView; interval?: Interval; onRetryQuote?: () => void; onHeightChange?: (heightPx: number) => void; }; declare function OnboardingPlanStickyPriceFooter({ quote, summary, interval, onRetryQuote, onHeightChange, }: OnboardingPlanStickyPriceFooterProps): React__default.JSX.Element; type OnboardingInfoItem = { icon?: string; text: string; }; type OnboardingInfoScreenProps = { variant: "welcome" | "closing"; stepId?: string; onAnalyticsEvent?: OnboardingAnalyticsCallback; sensitiveStepIds?: string[]; heroImageSrc?: string; heroAlt?: string; badge?: string; title: string; text: string; items: OnboardingInfoItem[]; cta: { id: string; label: string; }; secondaryAction?: { id: string; label: string; }; loginLink?: { prefix: string; label: string; }; footerLinks?: Array<{ id: string; label: string; }>; onAction: (actionId: string) => void; }; declare function OnboardingInfoScreen({ variant, stepId, onAnalyticsEvent, sensitiveStepIds, heroImageSrc, heroAlt, badge, title, text, items, cta, secondaryAction, loginLink, footerLinks, onAction, }: OnboardingInfoScreenProps): React__default.JSX.Element; type OnboardingEnterpriseSalesBlockProps = { salesContact?: OnboardingSalesContact; onContactSales?: () => void; }; declare function OnboardingEnterpriseSalesBlock({ salesContact, onContactSales, }: OnboardingEnterpriseSalesBlockProps): React__default.JSX.Element; type HousePreviewTile = { id: string; icon?: string; label: string; variant: "bars" | "checklist"; }; type HousePreviewMockProps = { badge: string; houseName: string; mediumsLabel: string; tiles: HousePreviewTile[]; footer: string; beforeFooter?: React__default.ReactNode; }; declare function HousePreviewMock({ badge, houseName, mediumsLabel, tiles, footer, beforeFooter, }: HousePreviewMockProps): React__default.JSX.Element; declare const quizDefinitionJson: unknown; declare const qualificationAnswersJson: unknown; declare const bandQuotaPairsJson: unknown; declare const quizDefinitionV2Json: unknown; declare const qualificationAnswersV2Json: unknown; declare const bandQuotaPairsV2Json: unknown; declare function getQuizDefinitionV1Example(): QuizDefinition; declare function getQualificationAnswersV1Example(): QualificationAnswersDocument; declare function getQuizDefinitionV2Example(): QuizDefinition; declare function getBandQuotaPairsV2(): BandQuotaPairsDocument; declare function getBandQuotaPairsV1(): BandQuotaPairsDocument; /** Lazily parsed on property access (avoids eager Zod at import time). */ declare const quizDefinitionV1Example: QuizDefinition; declare const qualificationAnswersV1Example: QualificationAnswersDocument; declare const quizDefinitionV2Example: QuizDefinition; declare const bandQuotaPairsV2: BandQuotaPairsDocument; declare const bandQuotaPairsV1: BandQuotaPairsDocument; export { ACTIVITY_STEP_ORDER, ALSO_EXPERIENCED_LABEL, AVATAR_SIZE_CONFIG, AcademyCertificatePreview, AcademyModulePage, AcademyPage, AccessBlockedPage, AccountOptionSchema, BasicInfoSchema as ActivityBasicInfoSchema, ActivityChatInsumosPicker, ActivityChatMembersPicker, ActivityCheckinWindowSchema, _default$9 as ActivityDetailPage, ActivityEditPage, ActivityFormChatSummaryCard, InsumosSelectionSchema as ActivityInsumosSelectionSchema, ActivityListPage, MembersSelectionSchema as ActivityMembersSelectionSchema, ActivityOnboardingPage, TemplateSchema as ActivityTemplateSchema, TimeSelectionSchema as ActivityTimeSelectionSchema, ActivityTypeEnum, AddMediumByQRCodePage, AddressInfoSchema, AddressPage, AffiliateProgramPage, AlsoExperiencedButton, _default$c as AttendanceCheckinCta, AttendanceCheckinDialog, AttendanceCheckinEntryPage, AttendanceInsightsPage, AvatarWithBadge, BADGE_SIZE_CONFIG, BADGE_TIER_COLORS, BADGE_TIER_CONFIG, BADGE_TIER_LABELS, BADGE_TYPE_LABELS, BAND_ID_VALUES, BAND_PLAN_MAP, BANK_OPTIONS, BANNER_GRADIENT_KEYS, BANNER_GRADIENT_PRESETS, BRAZILIAN_STATES, BadgeProgressSchema, BadgeTierSchema$2 as BadgeTierSchema, BadgesPage, BadgeInfoSchema as BadgesPageBadgeInfoSchema, BadgeTierSchema as BadgesPageBadgeTierSchema, BadgeTypeSchema as BadgesPageBadgeTypeSchema, BadgesPagePropsSchema, BandIdSchema, BandQuotaPairsDocumentSchema, BandViewSchema, BankAccountFormChatSummaryCard, BathCategorySchema$1 as BathCategorySchema, BlockDialog, BrazilianStateUFSchema, CARD_CONTENT_STYLES, CATEGORY_CONFIG, CATEGORY_LABELS, CREATE_EXPERIENCE_STEP_LABELS, CREATE_EXPERIENCE_STEP_ORDER, CREATE_QUESTION_STEP_LABELS, CREATE_QUESTION_STEP_ORDER, CellphoneInput, CellphoneInputPropsSchema, CompactListDateBlock, CompactListRow, CompletenessCard, ConnectionButton, ContactArraySchema, ContactPage, ContactPagePropsSchema, ContactSchema, ContactSectionCardPropsSchema, ContributionImpactCard, CopyTargetSchema, CreateExperiencePage, CreateExperienceValuesSchema, CreateIngressoPage, CreateQuestionPage, CreateQuestionValuesSchema, CredentialsApiErrorSchema, CredentialsDataSchema, CredentialsFormStateSchema, CredentialsPage, CredentialsPagePropsSchema, CredentialsValidationErrorsSchema, CustomBannerGradientPresetSchema, DAILY_MESSAGE_POOL, DEFAULT_BANNER_GRADIENT_KEY, DEFAULT_FINANCIAL_WIDGET_ORDER, DEFAULT_HOME_WIDGET_ORDER, DEFAULT_HOME_WIDGET_VISIBILITY, DEFAULT_ONBOARDING_LEADER_SHARE_URL, DOCUMENT_TYPE_OPTIONS, DailyRitualCard, DescriptionBox, DetailedPermissionSchema, EMPTY_ELEMENT_SIZE, EMPTY_ELEMENT_SIZE as EMPTY_SLOT_SIZE, EVENT_STEP_ORDER, EditEventPage, EditJourneyPage, EventAISuggestionsPage, EventBasicInfoSchema, EventChatActivitiesPicker, EventChatInsumosPicker, EventChatLocationPicker, EventChatMembersPicker, EventChatTypePicker, EventCheckinWindowSchema, EventDateTimeSchema, _default$8 as EventDetailPage, EventFormChatSummaryCard, EventFormValuesSchema, InsumosSelectionSchema$1 as EventInsumosSelectionSchema, EventLocationSchema, EventOnboardingPage, EventParticipantsSchema, EventProfileBlockedPage, EventPublicationFormChatSummaryCard, EventTicketingManagementPage, EventsPage, ExperienceCard, ExperienceCategoryBadge, ExperienceCategorySchema, ExperienceCommentRow, ExperienceCommentSchema, ExperienceCommentsSheet, ExperienceComposer, ExperienceDetailPage, ExperienceDetailView, ExperienceEngageMenu, ExperiencePostTypeBadge, ExperiencePostTypeSchema, ExperienceReactionBar, ExperienceReactionTypeSchema, ExperienceSchema, ExpiredLinkPage, FINANCIAL_BOTTOM_NAV_CLEARANCE, FINANCIAL_WIDGETS_CATALOG, FORM_CONFIG, FacebookAuthButton, FilterDrawerShellPropsSchema, FinanceMetricCard, FinancialAccountPage, _default$7 as FinancialAccountsList, FinancialAccountsPage, FinancialAppShell, FinancialBottomNav, FinancialFormChatSummaryCard, FinancialMonthlyFeePage, FinancialMovementSegment, FinancialOverviewCard, FinancialRegisterPage, FinancialSectionsCustomize, FinancialSummaryHeader, FinancialTransparencyPage, ForbiddenPage, ForgotPasswordPage, FormChatAssistant, FormChatChoicePicker, FormChatInlineListSelect, FormChatInlineMultiListSelect, FormChatKeyValueSummaryCard, FormChatListSelect, FormChatNumberPicker, FormChatNumberStepper, FormChatPickerDrawer, FormChatSelectionBar, FormChatThemeScope, GLOW_EFFECT, GamificationBadgeSchema, GamificationBadgeTierEnum, GamificationBadgeTypeEnum, GamificationCard, GamificationCardPropsSchema, GamificationHelpPage, GamificationHelpPagePropsSchema, GamificationHelpTopicSchema, GamificationSummarySchema, GoogleAuthButton, HOME_BELL_NOTIFICATION_LIMIT, HOME_MEASURE_SLOTS, HOME_WIDGETS_CATALOG, HomeDashboardAffiliateSchema, HomeDashboardCalendarSchema, HomeDashboardCompletenessSchema, HomeDashboardGamificationSchema, HomeDashboardMediumMembershipSchema, HomeDashboardMediumSchema, HomeDashboardMediumStatusSchema, HomeDashboardMoonSchema, HomeDashboardNotificationItemSchema, HomeDashboardNotificationsSchema, HomeDashboardPermissionsSchema, HomeDashboardProductUpdateHighlightSchema, HomeDashboardProductUpdatesSchema, HomeDashboardProfileSchema, HomeDashboardRecentActivitySchema, HomeDashboardScopeSchema, HomeDashboardSectionStatusSchema, HomeDashboardSectionsSchema, HomeDashboardSummarySchema, HomeDashboardSupplyPlanSchema, HomeDashboardUsageHeatmapSchema, HomeDashboardWeeklySummarySchema, HomePage, HomePageUser, HousePreviewMock, INVENTORY_BOTTOM_NAV_CLEARANCE, Image, ImageButton, _default$6 as IncomeListPage, IncomingFinancialPage, InfiniteScroll, InfiniteScrollPropsSchema, InstallPrompt, InsumosAvatarGroup, IntervalSchema, InventoryAppShell, InventoryBottomNav, InventoryCategoriesPage, _default$4 as InventoryItemDetailPage, InventoryItemOnboardingPage, InventoryItemsPage, InventoryListItemPage, InventoryListPage, InventoryMovementHistorySchema, InventoryMovementSchema, InventoryPanelPage, InventorySupplyPage, InventoryUnit, _default$h as InviteCard, InviteLandingPage, InviteLandingPagePropsSchema, InviteLandingViewStateSchema, InviteTerreiroInfoSchema, JoinTerreiroPage, JourneyProfile, JourneyProfilePage, LAYOUT, LabeledBrazilianStateSelect, LabeledBrazilianStateSelectPropsSchema, LabeledDatePickerPropsSchema, LabeledFieldHeaderPropsSchema, LabeledMinuteInput, LabeledMonthPickerPropsSchema, LabeledTextField, LabeledTimePicker, LeaderboardPage, LeaderboardPagePropsSchema, LeverSchema, ListRowAvatar, LoadMoreResultSchema, Loading, LunarEclipseSchema, MEDIUMS_BOTTOM_NAV_CLEARANCE, MeasuredLayoutProvider, MediumBadgeSchema, MediumCountSlider, MediumFinancialTransparencyPage, MediumHubPage, MediumListPage, MediumPage, MediumPointsSchema, MediumProfilePage, _default$3 as MediumProfileViewPage, MediumStatus$2 as MediumStatus, MediumsAppShell, MediumsBottomNav, MediumsLinesPage, MediumsPanelPage, MediumsRanksPage, MediumsSummaryHeader, _default$d as MemberListItem, MoneySchema, MonthlyFeeFormChatSummaryCard, MonthlyFeeInfoSchema, MonthlyFeePage, MonthlyFeePaymentsManagementPage, MoonApiResponseSchema, MoonCard, MoonCardContent, MoonCardPropsSchema, MoonCardSkeleton, MoonDataSchema, MoonDetailedSchema, MoonEventsSchema, MoonPositionSchema, MoonZodiacSchema, MyPermissionsDetailedSchema, MyPermissionsPage, MyPermissionsPagePropsSchema, NearbyTerreiroSearchPage, NextRuleSchema, NotFoundPage, NotificationSettingsPage, NotificationSettingsPagePropsSchema, NotificationsPage, ONBOARDING_ANALYTICS_EVENT_NAMES, ONBOARDING_ENTERPRISE_BAND_QUIZ_ID, ONBOARDING_ICON_KEYS, ONBOARDING_TERREIRO_STEPS, ORIGIN_LABELS, OnboardingEnterpriseSalesBlock, OnboardingFlow, OnboardingFormChatPanel, OnboardingFormChatSummaryCard, OnboardingIconKeySchema, OnboardingIdSchema, OnboardingInfoScreen, OnboardingIntroModal, OnboardingMediumCountBandSelect, OnboardingMediumPage, OnboardingPage, OnboardingPlanStickyPriceFooter, OnboardingQuizStep, OnboardingRecommendationViewSchema, OnboardingSignupRoleSchema, _default$2 as OnboardingTerreiroPage, OnboardingTerreiroPagePropsSchema, _default$5 as OutcomeListPage, OutgoingFinancialPage, OverageSchema, PAYMENT_METHOD_OPTIONS, PIX_KEY_TYPE_OPTIONS, PLUGIN_ID_VALUES, POST_TYPE_LABELS, PRODUCT_UPDATE_CATEGORIES, PRODUCT_UPDATE_CATEGORY_LABELS, PRODUCT_UPDATE_FEEDBACK_COMMENT_MAX, PROFILE_SECTION_CONFIG, PROFILE_SECTION_WEIGHTS, PWAUpdatePromptUI, PageHeader, PaginationInfoSchema, _default$e as ParticipationResponseButtons, _default$f as ParticipationStatusBadge, ParticipationStatusLabels, PasskeyCredentialSchema, PasskeyEnrollmentPrompt, PasskeyLoginDialog, PasskeyManager, PasskeysPage, PasswordInfoSchemaWithConfirmation, PasswordVisibilitySchema, PaymentStatusBanner, PeerMessageList, PendingApprovalBlockedPage, PermissionSelector, PermissionStatsSchema, PersonalInfoSchema, PhaseEventSchema, PlanChangePayloadSchema, PlanManagementPage, PlanManagementPagePropsSchema, PlanRecommendationCard, PluginIdSchema, PluginSelector, PluginStateSchema, PluginViewSchema, PointsSummarySchema, PositionInfoSchema, PostGiraPrompt, PriceSummary, PriceSummaryViewSchema, PricingBillingIntervalToggle, PricingModelSchema, PrivacySelector, ProductUpdateCategoryChip, ProductUpdateCategorySchema, ProductUpdateContent, ProductUpdateDetailPage, ProductUpdateDetailPagePropsSchema, ProductUpdateFeedback, ProductUpdateFeedbackPropsSchema, ProductUpdateItemSchema, ProductUpdatesPage, ProductUpdatesPagePropsSchema, ProfileCompletenessCard, ProfileDetailsPage, PublicEventTicketPage, PublicExperiencePreviewSchema, PublicProfilePreviewSchema, PublicQuestionPreviewSchema, PublicSocialPreviewDataSchema, PublicSocialPreviewPage, PublicTerreiroAgendaPage, PushNotificationPromptUI, QUESTION_SOURCE_LABELS, QUICK_ONBOARDING_TERREIRO_STEPS, QUICK_TERREIRO_ONBOARDING_FIELDS_BY_STEP, QrAnalyticsEventNameSchema, QrLandingPage, QrLandingPagePropsSchema, _default$b as QrScannerSurface, QrTrackingEventSchema, QrTrackingPayloadSchema, QrVariantSchema, QualificationAnswersDocumentSchema, QuestionAnswerCard, QuestionAnswerSchema, QuestionAnswersSheet, QuestionCard, QuestionComposer, QuestionDetailPage, QuestionSchema, QuestionSourceBadge, QuestionSourceSchema, QuestionsPage, QuickActionSchema, QuickActions, QuickActionsPropsSchema, QuickMediumOnboardingFormStateSchema, QuickPersonalInfoSchema, QuickPersonalInfoStep, QuickTerreiroOnboardingFormStateSchema, QuickTerreiroPersonalInfoSchema, QuickTerreiroStepValidationSchemas, QuizAccountStep, QuizAnswersSchema, QuizDefinitionSchema, QuizEyebrow, QuizHint, QuizOptionCard, QuizOutcomeSchema, QuizProgressHeader, QuizSummaryCard, QuotaBehaviorSchema, QuotaGuard, QuotaGuardPropsSchema, QuotaStatusSchema, QuotaSummaryCard, QuotaSummaryCardPropsSchema, QuoteStateSchema, RADIUS, RANKING_PERIOD_LABELS, RANKING_SCOPE_LABELS, REACTION_LABELS, REPORT_REASON_LABELS, RankingEntrySchema, RankingPeriodEnum, RankingResultSchema, RankingScopeEnum, _default$g as ReasonDialog, ReasonDialogPropsSchema, RegisterInventoryMovementInputSchema, ReligionSchema, ReportDialog, ResetPasswordPage, BasicInfoStepSchema as RitualBathBasicInfoStepSchema, _default as RitualBathDetailPage, RitualBathDetailPagePropsSchema, RitualBathDetailSchema, RitualBathFilterSchema, RitualBathFormChatSummaryCard, RitualBathFormValuesSchema, RitualBathIngredientSchema, IngredientsStepSchema as RitualBathIngredientsStepSchema, RitualBathItemSchema, BathCategorySchema as RitualBathListCategorySchema, RitualBathListPage, RitualBathOccurrenceSchema, RitualBathOnboardingPage, RitualBathOriginSchema, OriginStepSchema as RitualBathOriginStepSchema, RitualBathScheduleFormSchema, RitualBathSchedulePage, RitualBathSchedulePagePropsSchema, RitualBathScheduleSummarySchema, RitualBathStatusSchema, RitualBathStepSchema, RitualBathStepTypeSchema, StepsStepSchema as RitualBathStepsStepSchema, RitualCard, RoleFormPage, RoleFormValuesSchema, RoleInfoSchema, RoleManagementPage, RoleSchema, SKELETON_SIZES, SOCIAL_BIO_MAX_LENGTH, SOCIAL_DISPLAY_NAME_MAX_LENGTH, SOCIAL_HOME_BOTTOM_NAV_CLEARANCE, SOCIAL_HOME_BOTTOM_NAV_FLOAT_MB, SOCIAL_HOME_BOTTOM_NAV_HEIGHT, SOCIAL_HOME_HEADER_HEIGHT, SOCIAL_ONBOARDING_INTRO_STEPS, SOCIAL_ONBOARDING_STEP_LABELS, SOCIAL_ONBOARDING_STEP_ORDER, SOCIAL_TRADITION_MAX_LENGTH, SOCIAL_USERNAME_MAX_LENGTH, SPIRITUAL_PROFILE_LOAD_ERROR, STATUS_COLORS, STATUS_LABELS, STEP_ORDER, STEP_TYPE_ICONS, STEP_TYPE_LABELS, _default$a as ScheduleDateTimeFields, SelectField, SelectionPayloadSchema, ShareDrawerPropsSchema, SharePlatformSchema, ShareSheet, SharedExpensesCard, SigninPage, SignupPage, SimilarExperienceCard, SimilarPage, SimilarPeopleCard, SimilarPersonSchema, SingleContactSchema, SocialAccountDrawer, SocialAuthorSchema, SocialConnectionsPage, SocialConversationPage, SocialConversationPeerSchema, SocialConversationRow, SocialConversationSchema, SocialCreateActionsSheet, SocialDeleteConfirmDialog, SocialDiscoverPage, SocialEditTextDialog, SocialEmptyState, SocialErrorState, SocialFeedItemSchema, SocialFeedVisibilitySheet, SocialHomeBottomNav, SocialHomeCurrentUserSchema, SocialHomeHeader, SocialHomePage, SocialInboxPage, SocialMessageBubble, SocialMessageComposer, SocialMessageDeliveryStatusSchema, SocialMessageSchema, SocialNotificationsPage, SocialOnboardingIntro, SocialOnboardingPage, SocialOnboardingValuesSchema, SocialPrivacySettingsPage, SocialProfileFieldsSchema, SocialProfileSchema, SocialReadOnlyNotice, SocialReportReasonSchema, SocialSavedPage, SocialSkeleton, SocialUnreadIndicator, SocialUsernameSchema, SocialVerificationEarnedCelebration, SocialVerificationProgressSheet, SocialVisibilitySchema, SpiritualFormChatSummaryCard, SpiritualProfilePage, StreakInfoSchema, SubscriptionGuard, SubscriptionNotice, SubscriptionProvider, SubscriptionRequiredForMediumPage, SubscriptionViewSchema, SuggestionsCarousel, SupplyPlanBlockerSchema, SupplyPlanCostsSchema, SupplyPlanItemSchema, SupplyPlanMissionSchema, SupplyPlanPage, SupplyPlanPagePropsSchema, SupplyPlanReadinessSchema, SupplyPlanSchema, SupplyPlanSourceActivitySchema, SupplyPlanSourceEventSchema, SupplyPlanSummarySchema, SystemSettingsPage, SubscriptionStatus as SystemSettingsSubscriptionStatus, TERREIRO_COMPLETION_MESSAGES, TERREIRO_ONBOARDING_FIELDS_BY_STEP, TERREIRO_SECTION_CONFIG, TERREIRO_SECTION_WEIGHTS, TOP_BAR_HEIGHTS, TYPOGRAPHY_SCALE, TerreiroFinancialInfoSchema, TerreiroOnboardingApiErrorSchema, TerreiroOnboardingFormStateSchema, TerreiroOnboardingValidationErrorsSchema, TerreiroPersonalInfoSchema, TerreiroPolicyPage, TerreiroPolicyPagePropsSchema, TerreiroProfileApiErrorSchema, TerreiroProfileDataBaseSchema, _default$1 as TerreiroProfileDataPage, TerreiroProfileDataPagePropsSchema, TerreiroProfileDataSchema, TerreiroProfileFormStateSchema, TerreiroProfilePage, TerreiroProfileValidationErrorsSchema, TerreiroReadonlyProfilePage, TerreiroRegistrationSchema, TerreiroRegistrationWithoutPasswordSchema, TerreiroSchema, TerreiroSearchPage, TerreiroSectionCard, TerreiroSectionCardPropsSchema, TerreiroStatusSchema, TerreiroStepValidationSchemas, TerreiroSubscriptionInfoSchema, ThemeButton, ThemeProvider, TicketVoucherPage, TicketingClaimFormChatSummaryCard, TraditionBadge, UNCATEGORIZED_LABEL, UnitCostMetaSchema, UpcomingPhasesSchema, UpgradePrompt, UsageBar, UsageBarPropsSchema, UsageProvider, UsageQuotaPage, UsageQuotaPagePropsSchema, UseInfiniteScrollReturnSchema, VISIBILITY_HELPERS, VISIBILITY_LABELS, ValidationErrorsSchema, VerificationBadge, WhatsAppShareButton, WhatsNewDrawer, WhatsNewDrawerPropsSchema, WhatsNewModal, annualBandBaseChargeCents, annualPluginChargeCents, authorDisplayName, availabilityCounts, bandQuotaPairsJson, bandQuotaPairsV1, bandQuotaPairsV2, bandQuotaPairsV2Json, bandsV1YearlyUnitAmountCents, brand, buildAcademyCertificatePreviewNode, buildItemReasonText, buildLeaderWhatsAppShare, buildMergedInsumos, buildMergedMediums, buildOptionLabelMap, buildSummaryRows, compactListDateParts, computeBandsV1AnnualSummaryCents, defaultDisplayProps, defaultInputProps, drawerSheetRadius, eagerImageProps, emitOnboardingAnalytics, emitSubscriptionNoticeAnalytics, filterInventoryItems, filterSupplyPlanMissions, formatInventoryQuantity, formatMoney, formatPriceLine, formatProductUpdateDate, formatRelativeTime, formatScheduleDate, formatSecondsAsMinutesLabel, formatCurrency as formatTerreiroCurrency, formatPhone as formatTerreiroPhone, generateAcademyCertificatePdf, getActivityTypeLabels, getBandQuotaPairsV1, getBandQuotaPairsV2, getBannerGradient, getCardBaseStyles, getContentMarginTop, getContentPaddingTop, getCustomBannerGradient, getDateString, getDefaultBottomNavShortcuts, getDefaultHomeWidgetOrder, getHistoryUntilStep, getHomeDashboardWeeklySummaryFlags, getHomeWidgetsForProfile, getQualificationAnswersV1Example, getQuizDefinitionV1Example, getQuizDefinitionV2Example, getReachablePath, getReorderableHomeWidgetsForProfile, getSocialBannerSx, getSocialUsernameError, getTopBarExpandedHeight, getTopBarHeight, getTopBarStackHeight, getVisibilityOptionsForScope, groupInventoryByCategory, groupInventoryRitualShortfalls, groupMediumsByRank, groupProductUpdatesByMonth, installPromptPropsSchema, inventoryRowDetail, isDefaultHomeWidgetOrder, isPasskeySupported, isValidCNPJ, isValidCPF, isValidEmail, isValidPassword, lazyImageProps, listRowInitials, lookupCepViaCep, mapHomeDashboardSummaryToHomePageProps, mapPasskeyError, mapRawMemberToActivityChatOption, mediumStatusLabelsPtBr, mergeFinancialWidgetOrder, mergeFinancialWidgetVisibility, mergeHomeWidgetOrder, mergeHomeWidgetVisibility, mergePluginsWithPainDefaults, mockCalendarActivities, mockCalendarEvents, mockCalendarRitualBaths, mockHomePageProps, mockLoadingHomePageProps, mockMediumHomePageProps, mockMoonData, mockPendingMediumHomePageProps, mockQuickActions, mockRituals, mockSupplyPlanEmpty, mockSupplyPlanSufficientWithDemand, mockSupplyPlanWithCosts, mockSupplyPlanWithoutCosts, mockTerreiros, mockUpcomingEvents, mockUser, moveHomeWidgetInOrder, mulDivRound, onboardingIntroModalPropsSchema, onboardingIntroModeSchema, onboardingIntroProfileContextSchema, openWhatsAppShare, overlayZIndex, painsToPluginIds, parseQuizDefinition, parseScheduleDate, pruneAnswers, qualificationAnswersJson, qualificationAnswersV1Example, qualificationAnswersV2Json, quizDefinitionJson, quizDefinitionV1Example, quizDefinitionV2Example, quizDefinitionV2Json, radiusPx, recommendPlanFromBand, reorderHomeWidgetOrder, resolveBottomNavShortcuts, resolveExperiencePostType, resolveFinancialWidgets, resolveNext, resolveRenderMode, resolveStepProgress, secondsToRoundedMinutes, selectUnavailableInventoryItems, startPasskeyAuthentication, startPasskeyRegistration, toAnswersDocument, useAcademyModulePage, useAcademyPage, useAccessBlockedPage, useActivityOnboarding, useAddressSectionCard, useAffiliateProgramPage, useAttendanceCheckinEntryPage, useAttendanceInsightsPage, useAvatarWithBadge, useBadgesPage, useCellphoneInput, useCompletenessCard, useContactPage, useContentClearance, useCredentialsPage, useDebouncedListSearch, useElementSize, useEventAISuggestionsPage, useFilterDrawer, useFinancialChrome, useFinancialRegister, useFinancialTransparencyPage, useFormChatAssistant, useGamificationCard, useGamificationHelpPage, useHideOnScroll, useHomePage, useInfiniteScroll, useInstallPrompt, useInventoryChrome, useInventoryListItemPage, useInventoryListPage, useInviteLandingPage, useJoinTerreiroPage, useLabeledBrazilianStateSelect, useLeaderboardPage, useMeasureSlot, useMeasuredLayoutContext, useMeasuredSlot, useMediumFinancialTransparencyPage, useMediumHubPage, useMediumsChrome, useMemberListItem, useMonthlyFeePaymentsManagementPage, useMoonCard, useMyPermissionsPage, useNotFoundPage, useNotificationSettingsPage, useOnboardingIntroModal, useOnboardingMedium, useOnboardingPage, useOnboardingTerreiro, useOptionalMeasuredLayoutContext, useOptionalUsageContext, usePWAUpdatePromptUI, usePermissionSelector, usePlanManagementPage, useProductUpdatesPage, useProfileCompletenessCard, usePushNotificationPromptUI, useQrLandingPage, useQuotaGuard, useRitualBathDetailPage, useRitualBathListPage, useRitualBathOnboarding, useRoleFormPage, useRoleManagementPage, useSelectMediumsPage, useSpiritualProfilePage, useSubscription, useSubscriptionContext, useSubscriptionGuard, useSupplyPlanPage, useTerreiroPolicyPage, useTerreiroProfileDataPage, useTerreiroProfilePage, useTerreiroSectionCard, useThemeProvider, useUpgradePrompt, useUsageContext, useUsageQuota, useUsageQuotaPage, useVerificationBadge, useWhatsNewModal, validateCNPJ, validateCPF, validateEmail, validateFoundationDate, validateName, validatePassword$1 as validatePassword, validatePhoneNumber, validatePublicContactEmail, validateReligionId, validateCurrency as validateTerreiroCurrency, validateDueDay as validateTerreiroDueDay, validatePassword as validateTerreiroPassword, validatePasswordConfirmation as validateTerreiroPasswordConfirmation, validatePhone as validateTerreiroPhone, whatsNewAnnouncementSchema, whatsNewModalPropsSchema, whatsNewSlideSchema }; export type { AISuggestion, AcademyBadge, AcademyCertificatePdfPayload, AcademyCertificatePreviewProps, AcademyCourseSummary, AcademyDashboard, AcademyModule, AcademyModuleDetail, AcademyModulePageProps, AcademyModuleVideo, AcademyNextStep, AcademyPageProps, AcademyUpgradeSignal, AccessBlockedPageProps, Account, AccountOption, AccountType, ActivityChatInsumoOption, ActivityChatMemberOption, ActivityChatMembersConfirmPayload, ActivityChatSummary, InventoryItem$2 as ActivityInventoryItem, ActivityKind, Activity as ActivityListItem, Medium as ActivityListMedium, ActivityListPageProps, ActivityFormValues as ActivityOnboardingFormValues, ActivityOnboardingPageProps, ActivityStatus$1 as ActivityStatus, ActivityStructuredSelectionPayload, ActivityType, ActivityTypeLabels, AddSpiritualProfileInput, Address, AddressSectionCardProps, AffiliateDashboard, AffiliateLink, AffiliateProgramPageProps, AffiliateReferral, AffiliateStats, AttendanceCheckinCtaProps, AttendanceCheckinDialogProps, AttendanceCheckinEntryPageProps, AttendanceCheckinEntrySeverity, AttendanceInsightsData, AttendanceInsightsMedium, AttendanceInsightsPageProps, AttendanceInsightsPeriod, AvatarSize, AvatarWithBadgeProps, BadgeProgress, BadgeSize, BadgeTier$2 as BadgeTier, BadgeTierDisplayInfo, BadgeVariant, BadgeInfo as BadgesPageBadgeInfo, BadgeTier as BadgesPageBadgeTier, BadgeType as BadgesPageBadgeType, BadgesPageProps, BandId, BandQuotaPairsDocument, BandView, BandsV1AnnualPluginInput, BandsV1AnnualSummaryCents, BankAccountChatSummary, BannerGradientKey, BannerGradientPreset, BathCategory$1 as BathCategory, BillingInterval, BootstrapTooltipProps, BrazilianStateUF, Category, CategoryBreakdownItem, CategoryDisplayInfo, CategoryExpense, CellphoneInputProps, CepAddress, CepLookup, CompactListDateParts, CompactListRowProps, CompletenessCardProps, CompletenessData, CompletionStatus, Contact, ContactArray, ContactPageProps, ValidationErrors$1 as ContactPageValidationErrors, ContactSectionCardProps, ContentClearance, ContentClearanceOptions, ContentOffsetParams, ContributionImpact, ContributionImpactCardProps, CopyTarget, CreateExperiencePageProps, CreateExperienceStep, CreateExperienceSummary, CreateExperienceValues, CreateQuestionPageProps, CreateQuestionStep, CreateQuestionSummary, CreateQuestionValues, CredentialsApiError, CredentialsData, CredentialsFormState, CredentialsPageProps, CredentialsValidationErrors, CustomBannerGradientPreset, DailyRitualCardProps, DeleteConfirmProps, DeleteDialogState, DetailedPermission, DocumentType, EditJourneyPageProps, EditJourneyValues, EditSpiritualProfileInput, ElementSize, EventAISuggestionsPageProps, EventChatActivityOption, EventChatActivitySelection, EventChatLocationState, EventChatMembersConfirmPayload, EventChatSummary, EventFormValues, EventMergedInsumoOption, EventMergedMediumOption, EventOnboardingPageProps, EventProfileBlockedPageProps, EventPublicationChatSummary, EventStructuredSelectionPayload, Experience, ExperienceCategory, ExperienceComment, ExperienceCommentRowProps, ExperienceCommentSubmitMeta, ExperienceCommentsSheetProps, ExperienceComposerValues, ExperienceDetailPageProps, ExperiencePostType, ExperienceReactionType, FacebookAuthButtonProps, FeatureAccessLevel, FeatureDefinition, FilterDrawerAnchor, FilterDrawerDraftContext, FilterDrawerProps, FilterDrawerShellProps, FilterSupplyPlanMissionsOptions, FilteredSupplyPlanMissions, FinanceMobilePeriodBarProps, FinancialAccountData, FinancialAccountFormData, FinancialAccountProps, FinancialAccountsListProps, FinancialAppShellProps, FinancialAudience, FinancialChatSummary, FinancialMonthlyFeePageProps, FinancialMovementKind, FinancialOverview, FinancialOverviewCardProps, FinancialOverviewData, FinancialRegisterPageProps, FinancialTab, FinancialTransactionFormValues, FinancialTransparencyLatestRequest, FinancialTransparencyPageProps, FinancialTransparencyPaymentStatus, FinancialWidgetId, FinancialWidgetOrder, FinancialWidgetProfile, FinancialWidgetVisibilityMap, ForbiddenPageProps, FormChatApiError, FormChatAssistantControl, FormChatAssistantProps, FormChatChoiceOption, FormChatChoicePickerProps, FormChatDisplayMode, FormChatEditInteraction, FormChatEditableFieldAvatar, FormChatEditableFieldOption, FormChatFabIcon, FormChatFieldInput, FormChatFieldInputType, FormChatKeyValueSummary, FormChatKeyValueSummaryRow, FormChatListOption, FormChatMessage, FormChatNumberPickerProps, FormChatSelectionPayload, FormChatSendOptions, FormChatStep, FormChatTextFormat, FormMode, FormattedValues, GamificationBadge, GamificationBadgeTier, GamificationBadgeType, GamificationCardProps, GamificationHelpPageProps, GamificationHelpTopic, GamificationSummary, GoogleAuthButtonProps, GroupedPermissions, GuardBehavior, HomeBottomNavProfileKind, HomeBottomNavShortcutAction, HomeBottomNavShortcuts, HomeBottomNavSlot, HomeDashboardAffiliate, HomeDashboardCalendar, HomeDashboardCompleteness, HomeDashboardGamification, HomeDashboardMappedUserProfile, HomeDashboardMedium, HomeDashboardMediumMembership, HomeDashboardMediumStatus, HomeDashboardNotificationItem, HomeDashboardNotifications, HomeDashboardPermissions, HomeDashboardProductUpdateHighlight, HomeDashboardProductUpdates, HomeDashboardProfile, HomeDashboardRecentActivity, HomeDashboardScope, HomeDashboardSectionId, HomeDashboardSectionStatus, HomeDashboardSections, HomeDashboardSummary, HomeDashboardSummaryMappedProps, HomeDashboardWeeklySummary, HomeMeasureSlotId, HomePageProps, HomePageQuickAction, HomePageRecentActivity, HomePageStat, HomePageUpcomingEvent, HomePageUserProfile, HomeWidgetCatalogEntry, HomeWidgetId, HomeWidgetMenuItem, HomeWidgetOrder, HomeWidgetOrderChangeMeta, HomeWidgetOrderChangeMethod, HomeWidgetProfile, HomeWidgetVisibilityMap, HomeWidgetsCustomizeView, HousePreviewMockProps, HousePreviewTile, ImageButtonProps, InfiniteScrollProps, InstallPromptData, InstallPromptFns, InstallPromptProps, InsumoAvatarItem, InsumosAvatarGroupProps, Interval, InventoryAppShellProps, InventoryAvailabilityFilter, InventoryCategoriesPageProps, InventoryCategoryGroup, InventoryChatSummary, InventoryCostHint, InventoryCreatedAtSort, InventoryDirectoryItem, InventoryItem$1 as InventoryItem, InventoryItemDetailProps, InventoryItemForm, InventoryItemFormValues, InventoryItem as InventoryItemType, InventoryItemsPageProps, InventoryListItemPageProps, InventoryListPageProps, InventoryMovement, InventoryMovementHistory, InventoryPanelPageProps, InventoryPendingReceipt, InventoryRitualShortfall, InventorySupplyPageProps, InventoryTab, InventoryUnavailableItem, InventoryUnavailableRow, InviteCardProps, InviteLandingPageProps, InviteLandingViewState, InviteTerreiroInfo, JoinTerreiroPageProps, JoinTerreiroViewState, JourneyProfilePageProps, LabeledBrazilianStateSelectProps, LabeledDatePickerProps, LabeledFieldHeaderProps, LabeledMinuteInputProps, LabeledMonthPickerProps, LabeledTimePickerProps, LeaderboardPageProps, Lever, ListRowAvatarProps, ListRowAvatarVariant, LoadMoreResult, MeasuredLayoutProviderProps, MeasuredLayoutRegistry, MeasuredSlotSize, MediumBadge, MediumCountSliderProps, MediumFinancialTransparencyData, MediumFinancialTransparencyPageProps, MediumHubPageProps, MediumHubSectionId, MediumOnboardingFormState, MediumPoints, MediumsAppShellProps, MediumsLinesPageProps, MediumsLinesSummary, MediumsPanelPageProps, MediumsRankPerson, MediumsRanksPageProps, MediumsTab, MemberListItemMember, MemberListItemProps, MemberPaymentsData, Money, MonthlyFeeChatSummary, MonthlyFeeInfo, MonthlyFeePageProps, MonthlyFeePaymentRequestItem, MonthlyFeePaymentStatus, MonthlyFeePaymentsManagementPageProps, MonthlyFeeSavePayload, MoonApiResponse, MoonCardProps, MoonData, MoonDetailed, MoonEvents, MoonPosition, MoonZodiac, MyPermissionsDetailed, MyPermissionsPageProps, NearbyTerreiroBusinessStatus, NearbyTerreiroLocationMode, NearbyTerreiroPlace, NearbyTerreiroSearchPageProps, NextRule, NotFoundPageCustomAction, NotFoundPageProps, NotFoundPageSuggestedRoute, Notification, NotificationFilter, NotificationSettings, NotificationSettingsPageProps, NotificationStats, NotificationTypePreference, NotificationsPageProps, OnboardingAnalyticsCallback, OnboardingAnalyticsEvent, OnboardingAnalyticsEventName, OnboardingChatSummary, OnboardingEnterpriseSalesBlockProps, OnboardingFlowCompletePayload, OnboardingFlowProps, OnboardingIconKey, OnboardingId, OnboardingInfoItem, OnboardingInfoScreenProps, OnboardingIntroModalProps, OnboardingIntroMode, OnboardingIntroProfileContext, OnboardingIntroStep, OnboardingMediumCountBandSelectProps, OnboardingMediumPageProps, OnboardingMode, OnboardingPageProps, OnboardingPlanStickyPriceFooterProps, OnboardingQuizStepProps, OnboardingRecommendationView, OnboardingSalesContact, OnboardingShareWithLeaderConfig, OnboardingShareWithLeaderPayload, OnboardingSignupRole, OnboardingStep, OnboardingTerreiroPageProps, OnboardingTrackEvent, Overage, PWAUpdatePromptUIProps, PaginationInfo, ParticipationResponseButtonsProps, ParticipationStatus, ParticipationStatusBadgeProps, PasskeyCredential, PasskeyEnrollmentPromptProps, PasskeyLoginDialogProps, PasskeyLoginDialogTexts, PasskeyManagerItem, PasskeyManagerProps, PasskeysPageProps, PasswordVisibility, PaymentMethod, PaymentRecord, PaymentStatus, PaymentStatusBannerProps, PeerMessageListProps, PendingApprovalBlockedPageProps, Period, Permission, PermissionCategory, PermissionSelectorProps, PermissionStats, PixKeyType, PlanChangePayload, PlanManagementPageProps, PlanRecommendationCardProps, PlanRecommendationView, PluginId, PluginSelectorProps, PluginState, PluginView, PointsSummary, PositionInfo, PriceSummaryLabels, PriceSummaryProps, PriceSummaryView, PricingBillingIntervalToggleProps, PricingModel, PricingRenderMode, ProductUpdateCategory, ProductUpdateCategoryChipProps, ProductUpdateCategoryFilter, ProductUpdateContentProps, ProductUpdateDetailPageProps, ProductUpdateFeedbackProps, ProductUpdateFeedbackSubmit, ProductUpdateFeedbackValue, ProductUpdateItem, ProductUpdatesPageProps, ProfileCompletenessCardProps, ProfileCompletenessData, ProfileSelectorEntryPoint, ProfileSelectorOpenPayload, ProfileSelectorSelectPayload, PublicSocialPreviewData, PublicSocialPreviewPageProps, PushNotificationPromptUIProps, PushPermissionState, QrAnalyticsEventName, QrAnalyticsEventPayload, QrAppPreviewViewPayload, QrFeatureViewPayload, QrLandingPageProps, QrOnAnalyticsTrack, QrPageExitPayload, QrPageViewPayload, QrScannerSurfaceProps, QrScannerSurfaceVariant, QrScrollDepthPayload, QrTrackingEvent, QrTrackingPayload, QrVariant, QrVariantViewPayload, QrWhatsappClickPayload, QualificationAnswersDocument, Question, QuestionAnswer, QuestionAnswersSheetProps, QuestionComposerValues, QuestionDetailPageProps, QuestionSource, QuestionsPageProps, QuickAction$1 as QuickAction, QuickActionPreferences, QuickActionPreferencesChangeMeta, QuickActionsLayout, QuickActionsProps, QuickMediumOnboardingFormState, QuickPersonalInfo, QuickTerreiroOnboardingFormState, QuickTerreiroPersonalInfo, QuizAccountProvider, QuizAccountStepProps, QuizAnswers, QuizDefinition, QuizEyebrowProps, QuizHintProps, QuizOptionCardProps, QuizOptionLeading, QuizOutcome, QuizProgressHeaderProps, QuizStep, QuizSummaryCardProps, QuizSummaryRow, QuotaBehavior, QuotaGuardProps, QuotaStatus, QuotaSummaryCardProps, QuoteState, RankOption, RankingEntry, RankingPeriod, RankingResult, RankingScope, RawActivityAvailableMember, ReasonDialogProps, ReceiptInlineFeedback, RegisterInventoryMovementInput, Religion, ReligionOption, ResolveNextResult, ResolvedStepProgress, ResponsivePx, Ritual, RitualBathChatSummary, RitualBathDetail, RitualBathDetailPageProps, RitualBathFilter, RitualBathFormValues, RitualBathIngredient, RitualBathItem, BathCategory as RitualBathListCategory, RitualBathListPageProps, RitualBathOccurrence, RitualBathOnboardingPageProps, RitualBathOrigin$2 as RitualBathOrigin, RitualBathScheduleFormValues, RitualBathSchedulePageProps, RitualBathScheduleSummary, RitualBathStatus$1 as RitualBathStatus, RitualBathStep, RitualBathStepType$1 as RitualBathStepType, RitualBathTab, Role, RoleFormPageProps, RoleFormValues, RoleInfo, RoleManagementPageProps, RoleOption, RoleStats, ScheduleDateTimeFieldsProps, SectionCompleteness, SectionConfig, SelectMediumsPageProps, SelectionPayload, ShareDrawerProps, SharePlatform$1 as SharePlatform, SharedExpenseItem, SharedExpenses, SharedExpensesCardProps, SignupAnalyticsEventName, SignupAnalyticsEventPayload, SignupOnAnalyticsTrack, SimilarPageProps, SimilarPerson, SingleContact, SocialAuthor, SocialConnectionListPerson, SocialConnectionsPageProps, SocialConnectionsTab, SocialConversation, SocialConversationPageProps, SocialConversationPeer, SocialConversationRowProps, SocialCreateActionKind, SocialCreateActionsSheetProps, SocialDeleteConfirmDialogProps, SocialDeleteKind, SocialDiscoverPageProps, SocialDiscoverTab, SocialEditTextDialogProps, SocialFeedItem, SocialFeedVisibilitySheetProps, SocialHomeCurrentUser, SocialHomePageProps, SocialHomeTab, SocialInboxPageProps, SocialMessage, SocialMessageBubbleProps, SocialMessageComposerProps, SocialMessageDeliveryStatus, SocialNotificationItem, SocialNotificationsPageProps, SocialOnboardingInitialValues, SocialOnboardingIntroProps, SocialOnboardingIntroStep, SocialOnboardingPageProps, SocialOnboardingStep, SocialOnboardingSummary, SocialOnboardingValues, SocialPrivacySettingsPageProps, SocialPrivacySettingsValues, SocialProfile, SocialProfileFields, SocialReadOnlyNoticeProps, SocialReportReason, SocialSavedPageProps, SocialSavedTab, SocialTextEditPayload, SocialUnreadIndicatorProps, SocialVerificationCelebrationVariant, SocialVerificationEarnedCelebrationProps, SocialVerificationPrimaryActionKind, SocialVerificationProgress, SocialVerificationProgressSheetProps, SocialVisibility, SpiritualAnalyticsSummary, SpiritualChatSummary, SpiritualDevelopmentStage, SpiritualDevelopmentStageLabel, SpiritualLine, SpiritualProfileItem, SpiritualProfilePageProps, SpiritualProfileScope, SpiritualVisibility, SpiritualVisibilityLabel, StreakInfo, StripeProduct, SubscriptionGuardProps, SubscriptionNoticeData, SubscriptionNoticeProps, SubscriptionPlan, SubscriptionRequiredForMediumPageProps, SubscriptionStatus$1 as SubscriptionStatus, SubscriptionView, SuggestionsCarouselProps, SupplyPlan, SupplyPlanBlocker, SupplyPlanCosts, SupplyPlanItem, SupplyPlanMission, SupplyPlanPageProps, SupplyPlanReadiness, SupplyPlanSourceActivity, SupplyPlanSourceEvent, SupplyPlanSummary, SystemSettingsPageProps, Terreiro$1 as Terreiro, TerreiroDetails, TerreiroFilterReligion, TerreiroFilters, TerreiroOnboardingApiError, TerreiroOnboardingFormState, TerreiroOnboardingMode, TerreiroOnboardingStep, TerreiroOnboardingValidationErrors, TerreiroPolicyPageProps, TerreiroProfileApiError, TerreiroProfileData, TerreiroProfileDataPageProps, TerreiroProfileFormState, TerreiroProfilePageProps$1 as TerreiroProfilePageProps, TerreiroProfileValidationErrors, TerreiroProfilePageProps as TerreiroReadonlyProfilePageProps, TerreiroRegistration, TerreiroSearchItem, TerreiroSearchPageProps, TerreiroSectionCardProps, ThemeButtonProps, ThemeMode, ThemePref, TicketingClaimChatSummary, TicketingFormChatPanelProps, TransactionType, UnsplashBannerPhoto, UsageBarProps, UsageHeatmapData, UsageHeatmapDay, UsageLevel, UsageQuotaPageProps, UseHideOnScrollOptions, UseInfiniteScrollReturn, UserSubscription, ValidationErrors, VerificationBadgeProps, WeeklyTask, WeeklyTaskFeature, WhatsNewAnnouncement, WhatsNewDrawerProps, WhatsNewModalProps, WhatsNewSlide };