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, Theme } from '@mui/material'; import { IDetectedBarcode } from '@yudiel/react-qr-scanner'; import { Theme as Theme$1 } from '@mui/material/styles'; 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; type ImageProps = React__default.ImgHTMLAttributes; 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 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" | "basic" | "advanced" | "unlimit" | "enterprise"; 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" | "basic" | "advanced" | "unlimit" | "enterprise"; 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" | "basic" | "advanced" | "unlimit" | "enterprise"; description?: string | undefined; category?: string | undefined; }, { id: string; name: string; requiredLevel: "standard" | "complete" | "free" | "essential" | "management" | "basic" | "advanced" | "unlimit" | "enterprise"; 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" | "basic" | "advanced" | "unlimit" | "enterprise"; currentPlan: "standard" | "complete" | "free" | "essential" | "management" | "basic" | "advanced" | "unlimit" | "enterprise"; featureId?: string | undefined; }, { requiredLevel: "standard" | "complete" | "free" | "essential" | "management" | "basic" | "advanced" | "unlimit" | "enterprise"; currentPlan: "standard" | "complete" | "free" | "essential" | "management" | "basic" | "advanced" | "unlimit" | "enterprise"; 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" | "basic" | "advanced" | "unlimit" | "enterprise"; 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" | "basic" | "advanced" | "unlimit" | "enterprise"; isAdmin?: boolean | undefined; trialEndsAt?: string | null | undefined; currentPeriodEnd?: string | null | undefined; }>>; }, "strip", z.ZodTypeAny, { requiredLevel: "standard" | "complete" | "free" | "essential" | "management" | "basic" | "advanced" | "unlimit" | "enterprise"; 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" | "basic" | "advanced" | "unlimit" | "enterprise"; currentPlan: "standard" | "complete" | "free" | "essential" | "management" | "basic" | "advanced" | "unlimit" | "enterprise"; 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" | "basic" | "advanced" | "unlimit" | "enterprise"; isAdmin: boolean; trialEndsAt?: string | null | undefined; currentPeriodEnd?: string | null | undefined; } | undefined; }, { requiredLevel: "standard" | "complete" | "free" | "essential" | "management" | "basic" | "advanced" | "unlimit" | "enterprise"; 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" | "basic" | "advanced" | "unlimit" | "enterprise"; currentPlan: "standard" | "complete" | "free" | "essential" | "management" | "basic" | "advanced" | "unlimit" | "enterprise"; 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" | "basic" | "advanced" | "unlimit" | "enterprise"; isAdmin?: boolean | undefined; trialEndsAt?: string | null | undefined; currentPeriodEnd?: string | null | undefined; } | 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" | "basic" | "advanced" | "unlimit" | "enterprise"; featureName: string; currentPlan: "standard" | "complete" | "free" | "essential" | "management" | "basic" | "advanced" | "unlimit" | "enterprise"; 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" | "basic" | "advanced" | "unlimit" | "enterprise"; featureName: string; currentPlan: "standard" | "complete" | "free" | "essential" | "management" | "basic" | "advanced" | "unlimit" | "enterprise"; 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" | "basic" | "advanced" | "unlimit" | "enterprise"; 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, { plan?: string | undefined; tier?: 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; }, { plan?: string | undefined; tier?: 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, { behavior: "overlay" | "tooltip" | "hide" | "disable" | "modal" | "callback"; feature: FeatureKey; 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; onUpgradeClick?: (() => void) | undefined; features?: FeatureKey[] | undefined; }, { className?: string | undefined; onUpgradeClick?: (() => void) | undefined; features?: FeatureKey[] | 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: { plan?: string | undefined; tier?: 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>>; }, "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; 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; 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; } 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, { holderName: string; terreiroName: string; courseTitle: string; verificationCode: string; courseCode?: string | null | undefined; completionDate?: string | null | undefined; issuedAt?: string | null | undefined; logoUrl?: string | null | undefined; }, { holderName: string; terreiroName: 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: { holderName: string; terreiroName: string; courseTitle: string; verificationCode: string; courseCode?: string | null | undefined; completionDate?: string | null | undefined; issuedAt?: string | null | undefined; logoUrl?: string | null | undefined; }; }, { payload: { holderName: string; terreiroName: 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 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" | "evento"; isSubmitting?: boolean; onOpen: () => void; }; declare const _default$c: React__default.NamedExoticComponent; 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>; 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; createdAt: string; updatedAt: string; matriz: string; characteristics: string; founder: string; }, { id: string; name: string; origin: string; description: string; createdAt: string; updatedAt: 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; createdAt: string; updatedAt: 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; createdAt: string; updatedAt: 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; createdAt: string; updatedAt: 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; createdAt: string; updatedAt: 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; createdAt: string; updatedAt: 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; createdAt: string; updatedAt: 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; 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; userId?: string | undefined; terreiroId?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; createdByUserId?: string | undefined; }, { id: string; phone: string; contactPerson: string | null; userId?: string | undefined; terreiroId?: string | undefined; createdAt?: string | undefined; updatedAt?: 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; userId?: string | undefined; terreiroId?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; createdByUserId?: string | undefined; }, { id: string; phone: string; contactPerson: string | null; userId?: string | undefined; terreiroId?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; createdByUserId?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { contacts: { id: string; phone: string; contactPerson: string | null; userId?: string | undefined; terreiroId?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; createdByUserId?: string | undefined; }[] | null; }, { contacts: { id: string; phone: string; contactPerson: string | null; userId?: string | undefined; terreiroId?: string | undefined; createdAt?: string | undefined; updatedAt?: 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; street: string; neighborhood: string; city: string; state: string; zipCode: string; complement?: string | undefined; }, { number: string; country: string; street: string; neighborhood: string; city: string; state: 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; street: string; neighborhood: string; city: string; state: string; zipCode: string; complement?: string | undefined; }, { number: string; country: string; street: string; neighborhood: string; city: string; state: string; zipCode: string; complement?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { address: { number: string; country: string; street: string; neighborhood: string; city: string; state: string; zipCode: string; complement?: string | undefined; } | null; }, { address: { number: string; country: string; street: string; neighborhood: string; city: string; state: 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 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; onCompleteProfile?: ((...args: unknown[]) => unknown) | undefined; onCompactChange?: ((args_0: boolean) => void) | 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; onCompleteProfile?: ((...args: unknown[]) => unknown) | undefined; onCompactChange?: ((args_0: boolean) => void) | 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"; createdAt?: string | undefined; updatedAt?: 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"; createdAt?: string | undefined; updatedAt?: 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"; createdAt?: string | undefined; updatedAt?: 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"; createdAt?: string | undefined; updatedAt?: 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"; createdAt?: string | undefined; updatedAt?: 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"; createdAt?: string | undefined; updatedAt?: 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; 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; onDismiss?: ((...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; onInstall?: ((...args: unknown[]) => void) | undefined; onDismiss?: ((...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; onComplete?: (() => void) | undefined; personalProfileName?: string | undefined; personalProfileImageUrl?: string | null | undefined; terreiroProfileName?: string | undefined; terreiroProfileImageUrl?: string | null | undefined; onSelectPersonalProfile?: (() => void) | undefined; onSelectTerreiroProfile?: (() => void) | undefined; onCreateTerreiro?: (() => void) | undefined; onJoinTerreiro?: (() => void) | undefined; }, { profileContext: "terreiro" | "personal"; onClose?: (() => void) | undefined; open?: boolean | undefined; mode?: "page" | "modal" | 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; onCreateTerreiro?: (() => 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; /** * 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; imageUrl?: string | undefined; categoryColorClass?: string | undefined; categoryTextClass?: string | undefined; originLabel?: string | undefined; statusLabel?: 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; imageUrl?: string | undefined; categoryColorClass?: string | undefined; categoryTextClass?: string | undefined; originLabel?: string | undefined; statusLabel?: 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; imageUrl?: string | undefined; categoryColorClass?: string | undefined; categoryTextClass?: string | undefined; originLabel?: string | undefined; statusLabel?: 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; imageUrl?: string | undefined; categoryColorClass?: string | undefined; categoryTextClass?: string | undefined; originLabel?: string | undefined; statusLabel?: 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; imageUrl?: string | undefined; categoryColorClass?: string | undefined; categoryTextClass?: string | undefined; originLabel?: string | undefined; statusLabel?: 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; imageUrl?: string | undefined; categoryColorClass?: string | undefined; categoryTextClass?: string | undefined; originLabel?: string | undefined; statusLabel?: 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$1; } 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$1; 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$1, 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; } 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 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"; interface ActivityChatSummary { title?: string; description?: string; isTemplate?: boolean; date?: string; isAllDay?: boolean; startTime?: string; endTime?: string; checkinStartWindowMinutes?: number; checkinEndWindowMinutes?: number; memberIds?: string[]; memberNames?: string[]; minConfirmedMembers?: number; 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"; memberIds?: string[]; minConfirmedMembers?: number; insumos?: Array<{ id: string; quantity: number; }>; } interface ActivityChatMembersConfirmPayload { memberIds: string[]; minConfirmedMembers: number; } interface EventChatLocationState { isInTerreiro: boolean; knownLocation?: string; street?: string; number?: string; complement?: string; neighborhood?: string; city?: string; state?: 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; checkinStartWindowMinutes?: number; checkinEndWindowMinutes?: number; isInTerreiro?: boolean; location?: EventChatLocationState; activities?: EventChatActivitySelection[]; activityLabels?: string[]; memberIds?: string[]; memberNames?: string[]; minConfirmedMembers?: number; 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; } interface EventChatMembersConfirmPayload { memberIds: string[]; minConfirmedMembers: number; } interface EventStructuredSelectionPayload { field: "memberIds" | "insumos" | "activities" | "location" | "type"; memberIds?: string[]; minConfirmedMembers?: number; 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; unit?: string; location?: string; } interface SpiritualChatSummary { lineId?: string; lineName?: string; entryMode?: "line" | "entity"; entityId?: string; entityName?: string; developmentStage?: string; developmentStageLabel?: string; visibility?: string; visibilityLabel?: string; notes?: 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"; } interface FormChatListOption { id: string; label: string; disabled?: boolean; } 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; } type FormChatFieldInputType = "text" | "password" | "date" | "time" | "quick_replies" | "list_select"; interface FormChatFieldInput { type: FormChatFieldInputType; field: string; searchable?: boolean; openListLabel?: string; changeLabel?: string; allowFreeText?: boolean; topSuggestions?: string[]; } interface FormChatSelectionPayload { field: string; optionId: string; optionLabel: string; } type FormChatDisplayMode = "fab" | "embedded" | "fullscreen"; type FormChatFabAnchor = "default" | "corner"; 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; 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; stepLabels?: Partial>; stepOrder?: FormChatStep[]; isLoading?: boolean; error?: FormChatApiError | null; confirmLabel?: string; editLabel?: string; descriptionAutoGenerated?: boolean; subcategoryAutoGenerated?: boolean; defaultOpen?: boolean; voiceEnabled?: boolean; hideCloseButton?: boolean; activeField?: string; fieldInput?: FormChatFieldInput; fieldOptions?: FormChatListOption[]; selectedOption?: FormChatListOption; userAvatarUrl?: string; onTranscribeAudio?: (audio: Blob) => Promise; onSendMessage: (message: string, options?: FormChatSendOptions) => void; onSelectOption?: (selection: FormChatSelectionPayload) => void; onConfirm?: () => void; onEdit?: () => void; onReset?: () => void; onClose?: () => 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; } 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 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; zIndex?: number; /** Opens the drawer 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; 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; 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; 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; zIndex?: number; defaultOpen?: boolean; } declare const EventChatActivitiesPicker: React__default.FC; interface EventChatLocationPickerProps { value?: EventChatLocationState; isTerreiroAddressEmpty?: boolean; isLoading?: boolean; onConfirm: (location: EventChatLocationState) => void; 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; 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; } 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; } declare const FormChatPickerDrawer: React__default.FC; interface FormChatSelectionBarProps { fieldInput?: FormChatFieldInput; selectedOption?: FormChatListOption; disabled?: boolean; onOpenList: () => void; } declare const FormChatSelectionBar: React__default.FC; 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; fromActivity: boolean; isSelected: boolean; availableQuantity: number; description?: string | undefined; imageUrl?: string | undefined; }, { id: string; name: string; unit: string; quantity: number; availableQuantity: number; description?: string | undefined; imageUrl?: string | undefined; fromActivity?: boolean | undefined; isSelected?: 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 ActivitySchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; isTemplate: z.ZodBoolean; 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; fromActivity: boolean; isSelected: boolean; availableQuantity: number; description?: string | undefined; imageUrl?: string | undefined; }, { id: string; name: string; unit: string; quantity: number; availableQuantity: number; description?: string | undefined; imageUrl?: string | undefined; fromActivity?: boolean | undefined; isSelected?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { list: { id: string; name: string; unit: string; quantity: number; fromActivity: boolean; isSelected: boolean; availableQuantity: number; 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; fromActivity?: boolean | undefined; isSelected?: 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; }[]; insumos?: { list: { id: string; name: string; unit: string; quantity: number; fromActivity: boolean; isSelected: boolean; availableQuantity: number; description?: string | undefined; imageUrl?: string | undefined; }[]; count: number; } | undefined; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: 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; }[]; 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; fromActivity?: boolean | undefined; isSelected?: boolean | undefined; }[]; count: number; } | undefined; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: number | null | undefined; }>; type Activity = z.infer; type ActivityStatus$1 = z.infer; declare const ActivityListPagePropsSchema: z.ZodObject<{ 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>; 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; fromActivity: boolean; isSelected: boolean; availableQuantity: number; description?: string | undefined; imageUrl?: string | undefined; }, { id: string; name: string; unit: string; quantity: number; availableQuantity: number; description?: string | undefined; imageUrl?: string | undefined; fromActivity?: boolean | undefined; isSelected?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { list: { id: string; name: string; unit: string; quantity: number; fromActivity: boolean; isSelected: boolean; availableQuantity: number; 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; fromActivity?: boolean | undefined; isSelected?: 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; }[]; insumos?: { list: { id: string; name: string; unit: string; quantity: number; fromActivity: boolean; isSelected: boolean; availableQuantity: number; description?: string | undefined; imageUrl?: string | undefined; }[]; count: number; } | undefined; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: 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; }[]; 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; fromActivity?: boolean | undefined; isSelected?: boolean | undefined; }[]; count: number; } | undefined; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: number | null | undefined; }>, "many">>; statusCounts: z.ZodOptional, z.ZodNumber>>; }, "strip", z.ZodTypeAny, { isAdmin: boolean; hideAddFab: boolean; canCreate: boolean; isPersonalProfile: boolean; canViewTemplates: boolean; canExportParticipationReport: boolean; isExportingParticipationReport: boolean; shouldRebalance: boolean; hasTemporallyRelevantConfirmed: boolean; isTemporalContextReady: boolean; onClose?: (() => void) | undefined; onTabChange?: ((args_0: "PENDING" | "CONFIRMED" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL") => void) | undefined; periodInputValue?: string | undefined; onPeriodInputChange?: ((args_0: string) => 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; 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; }[]; insumos?: { list: { id: string; name: string; unit: string; quantity: number; fromActivity: boolean; isSelected: boolean; availableQuantity: number; description?: string | undefined; imageUrl?: string | undefined; }[]; count: number; } | undefined; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: number | null | undefined; }[] | undefined; statusCounts?: Partial> | undefined; }, { onClose?: (() => void) | undefined; isAdmin?: boolean | undefined; onTabChange?: ((args_0: "PENDING" | "CONFIRMED" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL") => void) | undefined; hideAddFab?: boolean | undefined; canCreate?: boolean | undefined; isPersonalProfile?: boolean | undefined; canViewTemplates?: boolean | undefined; periodInputValue?: string | undefined; onPeriodInputChange?: ((args_0: string) => void) | 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; }[]; 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; fromActivity?: boolean | undefined; isSelected?: boolean | undefined; }[]; count: number; } | undefined; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: 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; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; state?: string | undefined; knownLocation?: string | undefined; reference?: string | undefined; }, { isInTerreiro: boolean; number?: string | undefined; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; state?: string | undefined; knownLocation?: string | undefined; reference?: string | undefined; }>; }, "strip", z.ZodTypeAny, { location: { isInTerreiro: boolean; number?: string | undefined; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; state?: string | undefined; knownLocation?: string | undefined; reference?: string | undefined; }; }, { location: { isInTerreiro: boolean; number?: string | undefined; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; state?: string | undefined; knownLocation?: string | undefined; reference?: string | undefined; }; }>, { location: { isInTerreiro: boolean; number?: string | undefined; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; state?: string | undefined; knownLocation?: string | undefined; reference?: string | undefined; }; }, { location: { isInTerreiro: boolean; number?: string | undefined; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; state?: string | undefined; knownLocation?: string | undefined; reference?: string | undefined; }; }>; declare const EventCheckinWindowSchema: z.ZodObject<{ checkinStartWindowMinutes: z.ZodDefault; checkinEndWindowMinutes: z.ZodDefault; }, "strip", z.ZodTypeAny, { checkinStartWindowMinutes: number; checkinEndWindowMinutes: number; }, { 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; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; state?: string | undefined; zipCode?: string | undefined; knownLocation?: string | undefined; reference?: string | undefined; }, { isInTerreiro: boolean; number?: string | undefined; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; state?: string | undefined; zipCode?: string | undefined; knownLocation?: string | undefined; reference?: 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; 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; category?: string | undefined; members?: { count: number; list?: { id: string; firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; }[] | undefined; } | 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; qrReleaseOffsetMinutes?: number | undefined; qrCheckinGraceMinutes?: number | undefined; checkinStartWindowMinutes?: number | undefined; checkinEndWindowMinutes?: number | undefined; minConfirmedMembers?: number | undefined; iconUrl?: string | undefined; durationMinutes?: number | undefined; }, { title: string; id: string | number; status?: string | undefined; description?: string | undefined; category?: string | undefined; members?: { count: number; list?: { id: string; firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; }[] | undefined; } | 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; qrReleaseOffsetMinutes?: number | undefined; qrCheckinGraceMinutes?: number | undefined; checkinStartWindowMinutes?: number | undefined; checkinEndWindowMinutes?: number | undefined; minConfirmedMembers?: number | undefined; iconUrl?: string | undefined; durationMinutes?: number | undefined; }>, "many">>; requiredActivityIds: 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; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; state?: string | undefined; zipCode?: string | undefined; knownLocation?: string | undefined; reference?: 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; category?: string | undefined; members?: { count: number; list?: { id: string; firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; }[] | undefined; } | 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; qrReleaseOffsetMinutes?: number | undefined; qrCheckinGraceMinutes?: number | undefined; checkinStartWindowMinutes?: number | undefined; checkinEndWindowMinutes?: number | undefined; minConfirmedMembers?: number | undefined; iconUrl?: string | undefined; durationMinutes?: number | undefined; }[] | undefined; startTime?: string | undefined; endTime?: string | undefined; insumos?: any[] | 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; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; state?: string | undefined; zipCode?: string | undefined; knownLocation?: string | undefined; reference?: 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; category?: string | undefined; members?: { count: number; list?: { id: string; firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; }[] | undefined; } | 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; qrReleaseOffsetMinutes?: number | undefined; qrCheckinGraceMinutes?: number | undefined; checkinStartWindowMinutes?: number | undefined; checkinEndWindowMinutes?: 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; 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; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; state?: string | undefined; zipCode?: string | undefined; knownLocation?: string | undefined; reference?: 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; category?: string | undefined; members?: { count: number; list?: { id: string; firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; }[] | undefined; } | 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; qrReleaseOffsetMinutes?: number | undefined; qrCheckinGraceMinutes?: number | undefined; checkinStartWindowMinutes?: number | undefined; checkinEndWindowMinutes?: number | undefined; minConfirmedMembers?: number | undefined; iconUrl?: string | undefined; durationMinutes?: number | undefined; }[] | undefined; startTime?: string | undefined; endTime?: string | undefined; insumos?: any[] | 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; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; state?: string | undefined; zipCode?: string | undefined; knownLocation?: string | undefined; reference?: 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; category?: string | undefined; members?: { count: number; list?: { id: string; firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; }[] | undefined; } | 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; qrReleaseOffsetMinutes?: number | undefined; qrCheckinGraceMinutes?: number | undefined; checkinStartWindowMinutes?: number | undefined; checkinEndWindowMinutes?: 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; 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; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; state?: string | undefined; zipCode?: string | undefined; knownLocation?: string | undefined; reference?: 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; category?: string | undefined; members?: { count: number; list?: { id: string; firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; }[] | undefined; } | 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; qrReleaseOffsetMinutes?: number | undefined; qrCheckinGraceMinutes?: number | undefined; checkinStartWindowMinutes?: number | undefined; checkinEndWindowMinutes?: number | undefined; minConfirmedMembers?: number | undefined; iconUrl?: string | undefined; durationMinutes?: number | undefined; }[] | undefined; startTime?: string | undefined; endTime?: string | undefined; insumos?: any[] | 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; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; state?: string | undefined; zipCode?: string | undefined; knownLocation?: string | undefined; reference?: 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; category?: string | undefined; members?: { count: number; list?: { id: string; firstName?: string | undefined; lastName?: string | undefined; avatarUrl?: string | undefined; }[] | undefined; } | 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; qrReleaseOffsetMinutes?: number | undefined; qrCheckinGraceMinutes?: number | undefined; checkinStartWindowMinutes?: number | undefined; checkinEndWindowMinutes?: 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; 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; 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 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; isLoading?: boolean | undefined; isPersonalProfile?: 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; isLoading?: boolean | undefined; isPersonalProfile?: 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; completedVideos: number; moduleProgressPercent: number; showAccessBlocked: boolean; isLoading: boolean; error: string | null; canView: boolean; canUpdate: boolean; canMarkWatched: boolean; markWatchedLabel: string; isMarkingWatched: boolean; actionError: string | null; }; fns: { handleBack: () => void; handleSelectVideo: (videoId: string) => void; handleMarkWatched: () => Promise; }; }; 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; }, "strip", z.ZodTypeAny, { title: string; description?: string | undefined; }, { title: string; 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<{ checkinStartWindowMinutes: z.ZodDefault; checkinEndWindowMinutes: z.ZodDefault; }, "strip", z.ZodTypeAny, { checkinStartWindowMinutes: number; checkinEndWindowMinutes: number; }, { checkinStartWindowMinutes?: number | undefined; checkinEndWindowMinutes?: number | undefined; }>; declare const ActivityFormValuesSchema: z.ZodEffects; title: z.ZodString; description: 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; checkinStartWindowMinutes: z.ZodOptional>; checkinEndWindowMinutes: z.ZodOptional>; }, "strip", z.ZodTypeAny, { title: string; members: any[]; isAllDay: boolean; isTemplate: boolean; id?: string | undefined; date?: Date | null | undefined; description?: string | undefined; startTime?: string | null | undefined; endTime?: string | null | undefined; insumos?: any[] | undefined; checkinStartWindowMinutes?: number | undefined; checkinEndWindowMinutes?: number | undefined; minConfirmedMembers?: number | undefined; }, { title: string; members: any[]; id?: string | 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; checkinStartWindowMinutes?: number | undefined; checkinEndWindowMinutes?: number | undefined; minConfirmedMembers?: number | undefined; }>, { title: string; members: any[]; isAllDay: boolean; isTemplate: boolean; id?: string | undefined; date?: Date | null | undefined; description?: string | undefined; startTime?: string | null | undefined; endTime?: string | null | undefined; insumos?: any[] | undefined; checkinStartWindowMinutes?: number | undefined; checkinEndWindowMinutes?: number | undefined; minConfirmedMembers?: number | undefined; }, { title: string; members: any[]; id?: string | 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; checkinStartWindowMinutes?: number | undefined; checkinEndWindowMinutes?: number | undefined; minConfirmedMembers?: number | undefined; }>; type ActivityFormValues = Omit, "date"> & { date: Date | null; }; interface ActivityOnboardingPageProps { 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 ActivityCheckinWindowStepProps { formState: ActivityFormValues; validationErrors: ActivityOnboardingValidationErrors; onChange: (e: unknown) => void; /** Direct field setter — preferred over synthetic event via onChange */ setFieldValue?: (name: string, value: unknown) => void; } interface MembersSelectionStepProps { formState: ActivityFormValues; validationErrors: ActivityOnboardingValidationErrors; onChange: (e: any) => void; availableMembers?: any[]; } interface InsumosSelectionStepProps { formState: ActivityFormValues; validationErrors: ActivityOnboardingValidationErrors; onChange: (e: any) => void; availableInsumos?: any[]; } interface TemplateStepProps { formState: ActivityFormValues; validationErrors: ActivityOnboardingValidationErrors; onChange: (e: any) => void; createFromModel?: boolean; id?: string; canCreateModels?: boolean; templateQuotaMessage?: string; } interface ReviewStepProps { formState: ActivityFormValues; validationErrors: ActivityOnboardingValidationErrors; availableMembers?: Array; } 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: React__default.FC; } | { 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: readonly ["Processando suas informações...", "Criando sua atividade...", "Configurando participantes...", "Organizando materiais...", "Atividade criada com sucesso!"]; }; 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; fromActivity: boolean; isSelected: boolean; availableQuantity: number; description?: string | undefined; imageUrl?: string | undefined; }, { id: string; name: string; unit: string; quantity: number; availableQuantity: number; description?: string | undefined; imageUrl?: string | undefined; fromActivity?: boolean | undefined; isSelected?: 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; fromActivity: boolean; isSelected: boolean; availableQuantity: number; 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; fromActivity?: boolean | undefined; isSelected?: 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; fromActivity: boolean; isSelected: boolean; availableQuantity: number; description?: string | undefined; imageUrl?: string | undefined; }, { id: string; name: string; unit: string; quantity: number; availableQuantity: number; description?: string | undefined; imageUrl?: string | undefined; fromActivity?: boolean | undefined; isSelected?: 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; fromActivity: boolean; isSelected: boolean; availableQuantity: number; 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; fromActivity?: boolean | undefined; isSelected?: 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; fromActivity: boolean; isSelected: boolean; availableQuantity: number; description?: string | undefined; imageUrl?: string | undefined; }, { id: string; name: string; unit: string; quantity: number; availableQuantity: number; description?: string | undefined; imageUrl?: string | undefined; fromActivity?: boolean | undefined; isSelected?: 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; fromActivity: boolean; isSelected: boolean; availableQuantity: number; 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; fromActivity?: boolean | undefined; isSelected?: 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; fromActivity: boolean; isSelected: boolean; availableQuantity: number; description?: string | undefined; imageUrl?: string | undefined; }, { id: string; name: string; unit: string; quantity: number; availableQuantity: number; description?: string | undefined; imageUrl?: string | undefined; fromActivity?: boolean | undefined; isSelected?: 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; fromActivity?: boolean | undefined; isSelected?: 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; fromActivity?: boolean | undefined; isSelected?: 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; fromActivity: boolean; isSelected: boolean; availableQuantity: number; 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; fromActivity: boolean; isSelected: boolean; availableQuantity: number; 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; fromActivity: boolean; isSelected: boolean; availableQuantity: number; 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; fromActivity: boolean; isSelected: boolean; availableQuantity: number; 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; fromActivity?: boolean | undefined; isSelected?: 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; fromActivity?: boolean | undefined; isSelected?: 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; }; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: 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; 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?: { entityId: string; state: "closed" | "active" | "unavailable" | "scheduled"; terreiroId: string; entityType: "EVENT" | "ACTIVITY"; 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; contactPerson?: string | null | undefined; userId?: string | undefined; terreiroId?: string | null | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; createdByUserId?: string | undefined; }, { phone: string; id?: string | undefined; contactPerson?: string | null | undefined; userId?: string | undefined; terreiroId?: string | null | undefined; createdAt?: string | undefined; updatedAt?: 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; contactPerson?: string | null | undefined; userId?: string | undefined; terreiroId?: string | null | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; createdByUserId?: string | undefined; }, { phone: string; id?: string | undefined; contactPerson?: string | null | undefined; userId?: string | undefined; terreiroId?: string | null | undefined; createdAt?: string | undefined; updatedAt?: 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; contactPerson?: string | null | undefined; userId?: string | undefined; terreiroId?: string | null | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; createdByUserId?: string | undefined; }, { phone: string; id?: string | undefined; contactPerson?: string | null | undefined; userId?: string | undefined; terreiroId?: string | null | undefined; createdAt?: string | undefined; updatedAt?: 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; contactPerson?: string | null | undefined; userId?: string | undefined; terreiroId?: string | null | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; createdByUserId?: string | undefined; }, { phone: string; id?: string | undefined; contactPerson?: string | null | undefined; userId?: string | undefined; terreiroId?: string | null | undefined; createdAt?: string | undefined; updatedAt?: 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; contactPerson?: string | null | undefined; userId?: string | undefined; terreiroId?: string | null | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; createdByUserId?: string | undefined; }[]) => void) | undefined; contactId?: string | undefined; initialContacts?: { phone: string; id?: string | undefined; contactPerson?: string | null | undefined; userId?: string | undefined; terreiroId?: string | null | undefined; createdAt?: string | undefined; updatedAt?: 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; contactPerson?: string | null | undefined; userId?: string | undefined; terreiroId?: string | null | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; createdByUserId?: string | undefined; }[]) => void) | undefined; contactId?: string | undefined; initialContacts?: { phone: string; id?: string | undefined; contactPerson?: string | null | undefined; userId?: string | undefined; terreiroId?: string | null | undefined; createdAt?: string | undefined; updatedAt?: 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; contactPerson?: string | null | undefined; userId?: string | undefined; terreiroId?: string | null | undefined; createdAt?: string | undefined; updatedAt?: 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; 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; passkeys?: { id: string; createdAt: string; nickname: string | null; deviceType: string | null; transports: string[]; lastUsedAt: string | null; }[] | 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; 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; passkeys?: { id: string; createdAt: string; nickname: string | null; deviceType: string | null; transports: string[]; lastUsedAt: string | null; }[] | 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; }; }; 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; street: string; city: string; state: 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; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: 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; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: 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?: { entityId: string; state: "closed" | "active" | "unavailable" | "scheduled"; terreiroId: string; entityType: "EVENT" | "ACTIVITY"; 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; 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; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; state?: string | undefined; knownLocation?: string | undefined; reference?: string | undefined; }, { number?: string | undefined; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; state?: string | undefined; isInTerreiro?: boolean | undefined; knownLocation?: string | undefined; reference?: 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; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; state?: string | undefined; knownLocation?: string | undefined; reference?: 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; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; state?: string | undefined; isInTerreiro?: boolean | undefined; knownLocation?: string | undefined; reference?: 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; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; state?: string | undefined; knownLocation?: string | undefined; reference?: string | undefined; }, { number?: string | undefined; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; state?: string | undefined; isInTerreiro?: boolean | undefined; knownLocation?: string | undefined; reference?: 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; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; state?: string | undefined; knownLocation?: string | undefined; reference?: 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; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; state?: string | undefined; isInTerreiro?: boolean | undefined; knownLocation?: string | undefined; reference?: 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; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; state?: string | undefined; isInTerreiro?: boolean | undefined; knownLocation?: string | undefined; reference?: 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; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; state?: string | undefined; knownLocation?: string | undefined; reference?: 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; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; state?: string | undefined; knownLocation?: string | undefined; reference?: 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; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; state?: string | undefined; isInTerreiro?: boolean | undefined; knownLocation?: string | undefined; reference?: 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; 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; street: string; city: string; state: 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; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: 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; street: string; city: string; state: 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; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: 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"; description?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; createdBy?: string | undefined; priority?: "LOW" | "MEDIUM" | "HIGH" | "URGENT" | undefined; assignedTo?: string[] | undefined; dueDate?: string | undefined; tags?: string[] | undefined; attachments?: { type: string; name: string; url: string; }[] | undefined; comments?: { id: string; text: string; userId: string; createdAt: 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"; description?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; createdBy?: string | undefined; priority?: "LOW" | "MEDIUM" | "HIGH" | "URGENT" | undefined; assignedTo?: string[] | undefined; dueDate?: string | undefined; tags?: string[] | undefined; attachments?: { type: string; name: string; url: string; }[] | undefined; comments?: { id: string; text: string; userId: string; createdAt: string; }[] | undefined; isRecurring?: boolean | undefined; recurrencePattern?: string | undefined; }>, "many">>; statusCounts: z.ZodOptional, z.ZodNumber>>; }, "strip", z.ZodTypeAny, { isAdmin: boolean; hideAddFab: boolean; isPersonalProfile: boolean; canViewTemplates: boolean; canExportParticipationReport: boolean; isExportingParticipationReport: boolean; shouldRebalance: boolean; hasTemporallyRelevantConfirmed: boolean; isTemporalContextReady: boolean; onTabChange?: ((args_0: "PENDING" | "CONFIRMED" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL") => void) | undefined; onBack?: (() => void) | undefined; periodInputValue?: string | undefined; onPeriodInputChange?: ((args_0: string) => 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"; description?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; createdBy?: string | undefined; priority?: "LOW" | "MEDIUM" | "HIGH" | "URGENT" | undefined; assignedTo?: string[] | undefined; dueDate?: string | undefined; tags?: string[] | undefined; attachments?: { type: string; name: string; url: string; }[] | undefined; comments?: { id: string; text: string; userId: string; createdAt: 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; street: string; city: string; state: 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; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: 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; onTabChange?: ((args_0: "PENDING" | "CONFIRMED" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL") => void) | undefined; onBack?: (() => void) | undefined; hideAddFab?: boolean | undefined; isPersonalProfile?: boolean | undefined; canViewTemplates?: boolean | undefined; periodInputValue?: string | undefined; onPeriodInputChange?: ((args_0: string) => void) | 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"; description?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; createdBy?: string | undefined; priority?: "LOW" | "MEDIUM" | "HIGH" | "URGENT" | undefined; assignedTo?: string[] | undefined; dueDate?: string | undefined; tags?: string[] | undefined; attachments?: { type: string; name: string; url: string; }[] | undefined; comments?: { id: string; text: string; userId: string; createdAt: 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; street: string; city: string; state: 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; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: 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; 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; 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; bankAccountOptions?: { id: string; name: string; }[] | undefined; }, { mode?: "view" | "create" | "edit" | undefined; onBack?: (() => 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; 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; 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; monthlyFee: { id: string; monthlyFee: string | number; dueDay: string | number; paymentMethod: string; receivingAccount: { id: string; agency: string; account: string; bankAccountOption?: { id: string; name: string; createdAt: string; updatedAt: string; image?: string | null | undefined; } | undefined; }; }; accounts: { id: string; image: string | null; name: string; createdAt: string; updatedAt: string; agency: string; account: string; pixKeyType: string | null; pixKey: string | null; initialBalance: string; currentBalance: string; accountType: "CASH" | "BANK"; }[]; onSelectAccount: (args_0: string) => void; onAddAccount: () => void; onEditMonthlyFee: (args_0: string) => void; outcome: { month: number; year: number; totalAmount: string | number; }; income: { month: number; year: number; totalAmount: string | number; }; periodLabel?: string | undefined; periodInputValue?: string | undefined; onPeriodInputChange?: ((args_0: string) => void) | undefined; onViewMyMonthlyFee?: (() => void) | undefined; onSelectMonthlyFee?: ((args_0: string) => void) | undefined; onClickIncome?: (() => void) | undefined; onClickOutcome?: (() => void) | undefined; isTerreiro?: boolean | undefined; financialOverview?: { overview: { totalIncome: number; totalOutcome: number; netFlow: number; totalBalance: number; period: { end: string; start: string; }; }; corrections: { incomeCorrections: number; outcomeCorrections: number; totalCorrections: number; }; formatted: { totalIncome: string; totalOutcome: string; netFlow: string; totalBalance: string; memberPaymentsExpected?: string | undefined; memberPaymentsCollected?: string | undefined; }; 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; periodInputMin?: string | undefined; periodInputMax?: string | undefined; showPeriodFilter?: boolean | undefined; onResetToCurrentPeriod?: (() => void) | undefined; canExportFinancialReport?: boolean | undefined; isExportingFinancialReport?: boolean | undefined; onExportFinancialReport?: (() => void) | undefined; }>; 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, { totalIncome: number; totalOutcome: number; netFlow: number; totalBalance: number; period: { end: string; start: string; }; }, { totalIncome: number; totalOutcome: number; netFlow: number; totalBalance: number; period: { end: string; start: string; }; }>; 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, { overview: { totalIncome: number; totalOutcome: number; netFlow: number; totalBalance: number; period: { end: string; start: string; }; }; corrections: { incomeCorrections: number; outcomeCorrections: number; totalCorrections: number; }; formatted: { totalIncome: string; totalOutcome: string; netFlow: string; totalBalance: string; memberPaymentsExpected?: string | undefined; memberPaymentsCollected?: string | undefined; }; 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; }, { overview: { totalIncome: number; totalOutcome: number; netFlow: number; totalBalance: number; period: { end: string; start: string; }; }; corrections: { incomeCorrections: number; outcomeCorrections: number; totalCorrections: number; }; formatted: { totalIncome: string; totalOutcome: string; netFlow: string; totalBalance: string; memberPaymentsExpected?: string | undefined; memberPaymentsCollected?: string | undefined; }; 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; 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; createdAt: string; updatedAt: string; agency: string; account: string; pixKeyType: string | null; pixKey: string | null; initialBalance: string; currentBalance: string; accountType: "CASH" | "BANK"; }, { id: string; image: string | null; name: string; createdAt: string; updatedAt: string; agency: string; account: string; pixKeyType: string | null; pixKey: string | null; initialBalance: string; currentBalance: string; accountType: "CASH" | "BANK"; }>, "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; createdAt: string; updatedAt: string; image?: string | null | undefined; }, { id: string; name: string; createdAt: string; updatedAt: string; image?: string | null | undefined; }>>; }, "strip", z.ZodTypeAny, { id: string; agency: string; account: string; bankAccountOption?: { id: string; name: string; createdAt: string; updatedAt: string; image?: string | null | undefined; } | undefined; }, { id: string; agency: string; account: string; bankAccountOption?: { id: string; name: string; createdAt: string; updatedAt: 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; createdAt: string; updatedAt: 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; createdAt: string; updatedAt: 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, { totalIncome: number; totalOutcome: number; netFlow: number; totalBalance: number; period: { end: string; start: string; }; }, { totalIncome: number; totalOutcome: number; netFlow: number; totalBalance: number; period: { end: string; start: string; }; }>; 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, { overview: { totalIncome: number; totalOutcome: number; netFlow: number; totalBalance: number; period: { end: string; start: string; }; }; corrections: { incomeCorrections: number; outcomeCorrections: number; totalCorrections: number; }; formatted: { totalIncome: string; totalOutcome: string; netFlow: string; totalBalance: string; memberPaymentsExpected?: string | undefined; memberPaymentsCollected?: string | undefined; }; 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; }, { overview: { totalIncome: number; totalOutcome: number; netFlow: number; totalBalance: number; period: { end: string; start: string; }; }; corrections: { incomeCorrections: number; outcomeCorrections: number; totalCorrections: number; }; formatted: { totalIncome: string; totalOutcome: string; netFlow: string; totalBalance: string; memberPaymentsExpected?: string | undefined; memberPaymentsCollected?: string | undefined; }; 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>>; }, "strip", z.ZodTypeAny, { onBack: () => void; monthlyFee: { id: string; monthlyFee: string | number; dueDay: string | number; paymentMethod: string; receivingAccount: { id: string; agency: string; account: string; bankAccountOption?: { id: string; name: string; createdAt: string; updatedAt: string; image?: string | null | undefined; } | undefined; }; }; accounts: { id: string; image: string | null; name: string; createdAt: string; updatedAt: string; agency: string; account: string; pixKeyType: string | null; pixKey: string | null; initialBalance: string; currentBalance: string; accountType: "CASH" | "BANK"; }[]; onSelectAccount: (args_0: string) => void; onAddAccount: () => void; onEditMonthlyFee: (args_0: string) => void; outcome: { month: number; year: number; totalAmount: string | number; }; income: { month: number; year: number; totalAmount: string | number; }; periodLabel?: string | undefined; periodInputValue?: string | undefined; onPeriodInputChange?: ((args_0: string) => void) | undefined; onViewMyMonthlyFee?: (() => void) | undefined; onSelectMonthlyFee?: ((args_0: string) => void) | undefined; onClickIncome?: (() => void) | undefined; onClickOutcome?: (() => void) | undefined; isTerreiro?: boolean | undefined; financialOverview?: { overview: { totalIncome: number; totalOutcome: number; netFlow: number; totalBalance: number; period: { end: string; start: string; }; }; corrections: { incomeCorrections: number; outcomeCorrections: number; totalCorrections: number; }; formatted: { totalIncome: string; totalOutcome: string; netFlow: string; totalBalance: string; memberPaymentsExpected?: string | undefined; memberPaymentsCollected?: string | undefined; }; 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; periodInputMin?: string | undefined; periodInputMax?: string | undefined; showPeriodFilter?: boolean | undefined; onResetToCurrentPeriod?: (() => void) | undefined; canExportFinancialReport?: boolean | undefined; isExportingFinancialReport?: boolean | undefined; onExportFinancialReport?: (() => void) | undefined; }, { onBack: () => void; monthlyFee: { id: string; monthlyFee: string | number; dueDay: string | number; paymentMethod: string; receivingAccount: { id: string; agency: string; account: string; bankAccountOption?: { id: string; name: string; createdAt: string; updatedAt: string; image?: string | null | undefined; } | undefined; }; }; accounts: { id: string; image: string | null; name: string; createdAt: string; updatedAt: string; agency: string; account: string; pixKeyType: string | null; pixKey: string | null; initialBalance: string; currentBalance: string; accountType: "CASH" | "BANK"; }[]; onSelectAccount: (args_0: string) => void; onAddAccount: () => void; onEditMonthlyFee: (args_0: string) => void; outcome: { month: number; year: number; totalAmount: string | number; }; income: { month: number; year: number; totalAmount: string | number; }; periodLabel?: string | undefined; periodInputValue?: string | undefined; onPeriodInputChange?: ((args_0: string) => void) | undefined; onViewMyMonthlyFee?: (() => void) | undefined; onSelectMonthlyFee?: ((args_0: string) => void) | undefined; onClickIncome?: (() => void) | undefined; onClickOutcome?: (() => void) | undefined; isTerreiro?: boolean | undefined; financialOverview?: { overview: { totalIncome: number; totalOutcome: number; netFlow: number; totalBalance: number; period: { end: string; start: string; }; }; corrections: { incomeCorrections: number; outcomeCorrections: number; totalCorrections: number; }; formatted: { totalIncome: string; totalOutcome: string; netFlow: string; totalBalance: string; memberPaymentsExpected?: string | undefined; memberPaymentsCollected?: string | undefined; }; 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; periodInputMin?: string | undefined; periodInputMax?: string | undefined; showPeriodFilter?: boolean | undefined; onResetToCurrentPeriod?: (() => void) | undefined; canExportFinancialReport?: boolean | undefined; isExportingFinancialReport?: boolean | undefined; onExportFinancialReport?: (() => void) | 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; } declare const FinancialOverviewCard: React__default.MemoExoticComponent<({ data, isLoading, formatCurrency, onClick, defaultExpanded, showMemberPayments, }: FinancialOverviewCardProps) => React__default.JSX.Element>; 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; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }, { id: string; date: string; description: string | null; category: string; amount: number; 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; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }, { id: string; date: string; description: string | null; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { items: { id: string; date: string; description: string | null; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; totalAmount: number; expenseCount: number; byCategory: { id: string; name: string; count: number; amount: number; formattedAmount: string; }[]; projectedAmount?: number | undefined; totalAmountWithProjected?: number | undefined; projectedExpenseCount?: number | undefined; totalExpenseCount?: number | undefined; projectedByCategory?: { id: string; name: string; count: number; amount: number; formattedAmount: string; }[] | undefined; projectedItems?: { id: string; date: string; description: string | null; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }, { items: { id: string; date: string; description: string | null; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; totalAmount: number; expenseCount: number; byCategory: { id: string; name: string; count: number; amount: number; formattedAmount: string; }[]; projectedAmount?: number | undefined; totalAmountWithProjected?: number | undefined; projectedExpenseCount?: number | undefined; totalExpenseCount?: number | undefined; projectedByCategory?: { id: string; name: string; count: number; amount: number; formattedAmount: string; }[] | undefined; projectedItems?: { id: string; date: string; description: string | null; category: string; amount: number; 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; }; period: { end: string; month: string; start: string; year: number; }; formatted: { monthlyFee: string; totalPaidThisMonth: string; totalSharedExpenses: string; contributionPerMember: string; projectedPaidThisMonth?: string | undefined; totalPlannedThisMonth?: string | undefined; projectedSharedExpenses?: string | undefined; totalSharedExpensesWithProjected?: string | 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; }; sharedExpenses: { items: { id: string; date: string; description: string | null; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; totalAmount: number; expenseCount: number; byCategory: { id: string; name: string; count: number; amount: number; formattedAmount: string; }[]; projectedAmount?: number | undefined; totalAmountWithProjected?: number | undefined; projectedExpenseCount?: number | undefined; totalExpenseCount?: number | undefined; projectedByCategory?: { id: string; name: string; count: number; amount: number; formattedAmount: string; }[] | undefined; projectedItems?: { id: string; date: string; description: string | null; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }; contributionImpact: { totalMembers: number; amountPerMember: number; monthlyFeeCovers: number; monthlyFeeCoversTotal: number; }; }, { medium: { id: string; name: string; }; terreiro: { id: string; name: string; }; period: { end: string; month: string; start: string; year: number; }; formatted: { monthlyFee: string; totalPaidThisMonth: string; totalSharedExpenses: string; contributionPerMember: string; projectedPaidThisMonth?: string | undefined; totalPlannedThisMonth?: string | undefined; projectedSharedExpenses?: string | undefined; totalSharedExpensesWithProjected?: string | 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; }; sharedExpenses: { items: { id: string; date: string; description: string | null; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; totalAmount: number; expenseCount: number; byCategory: { id: string; name: string; count: number; amount: number; formattedAmount: string; }[]; projectedAmount?: number | undefined; totalAmountWithProjected?: number | undefined; projectedExpenseCount?: number | undefined; totalExpenseCount?: number | undefined; projectedByCategory?: { id: string; name: string; count: number; amount: number; formattedAmount: string; }[] | undefined; projectedItems?: { id: string; date: string; description: string | null; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }; contributionImpact: { totalMembers: number; amountPerMember: number; monthlyFeeCovers: number; monthlyFeeCoversTotal: number; }; }>>>; 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>>; }, "strip", z.ZodTypeAny, { note: string; competenceMonth: string; paidAmount: string; error?: string | null | undefined; isSubmitting?: boolean | undefined; onBack?: (() => void) | undefined; terreiroId?: string | null | undefined; isLoading?: boolean | 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; onRefresh?: (() => void) | 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; }; period: { end: string; month: string; start: string; year: number; }; formatted: { monthlyFee: string; totalPaidThisMonth: string; totalSharedExpenses: string; contributionPerMember: string; projectedPaidThisMonth?: string | undefined; totalPlannedThisMonth?: string | undefined; projectedSharedExpenses?: string | undefined; totalSharedExpensesWithProjected?: string | 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; }; sharedExpenses: { items: { id: string; date: string; description: string | null; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; totalAmount: number; expenseCount: number; byCategory: { id: string; name: string; count: number; amount: number; formattedAmount: string; }[]; projectedAmount?: number | undefined; totalAmountWithProjected?: number | undefined; projectedExpenseCount?: number | undefined; totalExpenseCount?: number | undefined; projectedByCategory?: { id: string; name: string; count: number; amount: number; formattedAmount: string; }[] | undefined; projectedItems?: { id: string; date: string; description: string | null; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }; contributionImpact: { totalMembers: number; amountPerMember: number; monthlyFeeCovers: number; monthlyFeeCoversTotal: number; }; } | null | undefined; }, { note: string; competenceMonth: string; paidAmount: string; error?: string | null | undefined; isSubmitting?: boolean | undefined; onBack?: (() => void) | undefined; terreiroId?: string | null | undefined; isLoading?: boolean | 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; onRefresh?: (() => void) | 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; }; period: { end: string; month: string; start: string; year: number; }; formatted: { monthlyFee: string; totalPaidThisMonth: string; totalSharedExpenses: string; contributionPerMember: string; projectedPaidThisMonth?: string | undefined; totalPlannedThisMonth?: string | undefined; projectedSharedExpenses?: string | undefined; totalSharedExpensesWithProjected?: string | 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; }; sharedExpenses: { items: { id: string; date: string; description: string | null; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; totalAmount: number; expenseCount: number; byCategory: { id: string; name: string; count: number; amount: number; formattedAmount: string; }[]; projectedAmount?: number | undefined; totalAmountWithProjected?: number | undefined; projectedExpenseCount?: number | undefined; totalExpenseCount?: number | undefined; projectedByCategory?: { id: string; name: string; count: number; amount: number; formattedAmount: string; }[] | undefined; projectedItems?: { id: string; date: string; description: string | null; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }; contributionImpact: { totalMembers: number; amountPerMember: number; monthlyFeeCovers: number; monthlyFeeCoversTotal: number; }; } | 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; }; period: { end: string; month: string; start: string; year: number; }; formatted: { monthlyFee: string; totalPaidThisMonth: string; totalSharedExpenses: string; contributionPerMember: string; projectedPaidThisMonth?: string | undefined; totalPlannedThisMonth?: string | undefined; projectedSharedExpenses?: string | undefined; totalSharedExpensesWithProjected?: string | 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; }; sharedExpenses: { items: { id: string; date: string; description: string | null; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; totalAmount: number; expenseCount: number; byCategory: { id: string; name: string; count: number; amount: number; formattedAmount: string; }[]; projectedAmount?: number | undefined; totalAmountWithProjected?: number | undefined; projectedExpenseCount?: number | undefined; totalExpenseCount?: number | undefined; projectedByCategory?: { id: string; name: string; count: number; amount: number; formattedAmount: string; }[] | undefined; projectedItems?: { id: string; date: string; description: string | null; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }; contributionImpact: { totalMembers: number; amountPerMember: number; monthlyFeeCovers: number; monthlyFeeCoversTotal: number; }; } | 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; createdAt?: string | undefined; updatedAt?: 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; createdAt?: string | undefined; updatedAt?: 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; paymentMethod: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque"; settlementStatus: "PROJECTED" | "CONSOLIDATED"; 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; paymentMethod: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque"; settlementStatus: "PROJECTED" | "CONSOLIDATED"; 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; createdAt?: string | undefined; updatedAt?: 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; createdAt?: string | undefined; updatedAt?: 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; paymentMethod: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque"; settlementStatus: "PROJECTED" | "CONSOLIDATED"; 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; paymentMethod: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque"; settlementStatus: "PROJECTED" | "CONSOLIDATED"; 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; paymentMethod?: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque" | undefined; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; shareReason?: string | null | 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; paymentMethod?: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque" | undefined; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; shareReason?: string | null | 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; }[]; categories: { id: string; name: string; subcategories: { id: string; name: string; description?: string | null | undefined; }[]; type?: string | undefined; flow?: string | undefined; description?: string | null | undefined; }[]; accounts: { id: string; name: string; createdAt?: string | undefined; updatedAt?: 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; }[]; 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; paymentMethod?: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque" | undefined; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; shareReason?: string | null | 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; paymentMethod: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque"; settlementStatus: "PROJECTED" | "CONSOLIDATED"; 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; 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; accounts?: { id: string; name: string; createdAt?: string | undefined; updatedAt?: 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; canShareWithMembers?: boolean | undefined; initialValues?: { id?: string | undefined; value?: number | undefined; description?: string | undefined; dueDate?: string | undefined; isRecurring?: boolean | undefined; paymentMethod?: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque" | undefined; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; shareReason?: string | null | 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; }>; 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; paymentMethod: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque"; settlementStatus: "PROJECTED" | "CONSOLIDATED"; 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; }; 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; createdAt?: string | undefined; updatedAt?: 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; category: string; amount: 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; periodLabel?: string | undefined; onBack?: ((...args: unknown[]) => void) | undefined; onAdd?: ((...args: unknown[]) => void) | undefined; periodInputValue?: string | undefined; onPeriodInputChange?: ((args_0: string) => void) | undefined; periodInputMin?: string | undefined; periodInputMax?: string | undefined; showPeriodFilter?: boolean | undefined; onResetToCurrentPeriod?: (() => void) | 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; expectedAmount: number; competenceMonth: string; rejectionReason: string | null; requestedAt: string | null; paidAmount: number | null; 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; expectedAmount: number; competenceMonth: string; rejectionReason: string | null; requestedAt: string | null; paidAmount: number | null; 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; expectedAmount: number; competenceMonth: string; rejectionReason: string | null; requestedAt: string | null; paidAmount: number | null; 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; expectedAmount: number; competenceMonth: string; rejectionReason: string | null; requestedAt: string | null; paidAmount: number | null; 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, { activeMediums: number; approved: number; pending: number; rejected: number; notPaid: number; }, { activeMediums: number; approved: number; pending: 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, { dueDay: number | null; competenceMonth: string; dispatchDate: string; totals: { activeMediums: number; approved: number; pending: number; rejected: number; notPaid: number; }; reminder: { alreadyDispatched: boolean; lastDispatchedAt: string | null; dispatchCount: number; canDispatchToday: boolean; todayDispatched: boolean; dispatchesToday: number; }; }, { dueDay: number | null; competenceMonth: string; totals: { activeMediums: number; approved: number; pending: 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; 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; onCompetenceMonthChange?: ((args_0: string) => void) | undefined; requests?: { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED" | "NOT_PAID"; note: string | null; mediumId: string; expectedAmount: number; competenceMonth: string; rejectionReason: string | null; requestedAt: string | null; paidAmount: number | null; 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; reminderStatus?: { dueDay: number | null; competenceMonth: string; dispatchDate: string; totals: { activeMediums: number; approved: number; pending: 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; onCompetenceMonthChange?: ((args_0: string) => void) | undefined; requests?: { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED" | "NOT_PAID"; note: string | null; mediumId: string; expectedAmount: number; competenceMonth: string; rejectionReason: string | null; requestedAt: string | null; paidAmount: number | null; 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; reminderStatus?: { dueDay: number | null; competenceMonth: string; totals: { activeMediums: number; approved: number; pending: 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; expectedAmount: number; competenceMonth: string; rejectionReason: string | null; requestedAt: string | null; paidAmount: number | null; 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: { dueDay: number | null; competenceMonth: string; dispatchDate: string; totals: { activeMediums: number; approved: number; pending: 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; expectedAmount: number; competenceMonth: string; rejectionReason: string | null; requestedAt: string | null; paidAmount: number | null; 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"; searchTerm: string; rejectDialogRequestId: string | null; selectedRequestForReject: { id: string; status: "PENDING" | "APPROVED" | "REJECTED" | "CANCELLED" | "NOT_PAID"; note: string | null; mediumId: string; expectedAmount: number; competenceMonth: string; rejectionReason: string | null; requestedAt: string | null; paidAmount: number | null; 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; category: string; amount: 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; periodLabel?: string | undefined; onBack?: ((...args: unknown[]) => void) | undefined; onAdd?: ((...args: unknown[]) => void) | undefined; periodInputValue?: string | undefined; onPeriodInputChange?: ((args_0: string) => void) | undefined; periodInputMin?: string | undefined; periodInputMax?: string | undefined; showPeriodFilter?: boolean | undefined; onResetToCurrentPeriod?: (() => void) | undefined; onToggleSettlementStatus?: ((args_0: string, args_1: "PROJECTED" | "CONSOLIDATED") => void) | undefined; }>; /** * 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"]>; 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; }, { 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; }>; 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: "weekly" | "monthly"; }, { startDate: string; endDate: string; viewMode: "weekly" | "monthly"; }>; 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, { total: number; weekly: number; monthly: number; yearly: number; }, { total: number; weekly: number; monthly: number; yearly: 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, { total: number; weekly: number; monthly: number; yearly: number; }, { total: number; weekly: number; monthly: number; yearly: 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: { total: number; weekly: number; monthly: number; yearly: 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" | "empty" | "ready" | 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: { total: number; weekly: number; monthly: number; yearly: 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" | "empty" | "ready" | 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: { total: number; weekly: number; monthly: number; yearly: 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" | "empty" | "ready" | 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: { total: number; weekly: number; monthly: number; yearly: 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" | "empty" | "ready" | 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: { total: number; weekly: number; monthly: number; yearly: 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" | "empty" | "ready" | 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: { total: number; weekly: number; monthly: number; yearly: 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" | "empty" | "ready" | 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: { total: number; weekly: number; monthly: number; yearly: 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" | "empty" | "ready" | 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" | "empty" | "ready"; 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; }; }; /** * 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; } 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; /** 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; /** 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; }>; /** Callback when "Ver todas" is clicked in bell panel (falls back to onNotificationClick) */ onViewAllNotifications?: () => 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; /** 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 */ 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?: ProfileCompletenessData; /** 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; } type WeeklyTaskFeature = "events" | "activities" | "participation" | "financial" | "baths" | "mediums" | "inventory" | "requests" | "academy" | "spiritual"; 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; }; /** * 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; /** 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; /** 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; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: 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; qrReleaseOffsetMinutes?: number | null | undefined; qrCheckinGraceMinutes?: number | null | undefined; checkinStartWindowMinutes?: number | null | undefined; checkinEndWindowMinutes?: 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" | "financial" | "inventory"; icon: string; description: string; timestamp: Date; }, { title: string; id: number; type: "event" | "member" | "financial" | "inventory"; 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; street: string; neighborhood: string; city: string; state: string; zipCode: string; complement?: string | undefined; }, { number: string; id: string; country: string; street: string; neighborhood: string; city: string; state: 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; street: string; neighborhood: string; city: string; state: 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; street: string; neighborhood: string; city: string; state: 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; street: string; neighborhood: string; city: string; state: string; zipCode: string; complement?: string | undefined; }, { number: string; id: string; country: string; street: string; neighborhood: string; city: string; state: 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; street: string; neighborhood: string; city: string; state: 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; street: string; neighborhood: string; city: string; state: 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; street: string; neighborhood: string; city: string; state: 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; street: string; neighborhood: string; city: string; state: 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; 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[]; upcomingEvents: EventItem[]; recentActivities: { title: string; id: number; type: "event" | "member" | "financial" | "inventory"; 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; }[]; 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; }[]; 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; }[]; isLoadingRituals: boolean; selectedRitualDate: string | undefined; calendarViewMode: "weekly" | "monthly"; calendarStatusFilter: "PENDING" | "CONFIRMED" | "CANCELLED" | "IN_PROGRESS" | "FINALIZED" | "REALIZED" | "NOT_REALIZED" | "MODEL" | "ALL"; isLoadingCalendar: boolean; }; fns: { handleQuickActionClick: (route: string) => void; handleProfileClick: () => 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; }; }; /** * HomePage Design System Constants * * This file defines the design tokens for consistent spacing, animations, * and component dimensions across the HomePage and its child components. * * Following Material Design principles and mobile-first responsive design. */ /** Max unread notifications shown in the home bell quick panel. */ declare const HOME_BELL_NOTIFICATION_LIMIT = 3; 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"; hasSelectedTerreiro: boolean; isError: 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; onRetry?: (() => void) | undefined; onBack?: (() => 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; onRetry?: (() => void) | undefined; onBack?: (() => void) | undefined; isLoading?: boolean | undefined; hasSelectedTerreiro?: boolean | undefined; isError?: boolean | undefined; onPeriodChange?: ((args_0: "WEEKLY" | "MONTHLY" | "YEARLY") => void) | undefined; }>; type AttendanceInsightsPageProps = z.infer; declare const AttendanceInsightsPage: React__default.FC; declare const useAttendanceInsightsPage: (props: AttendanceInsightsPageProps) => { data: { search: 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; subcategory?: string | undefined; estimatedUnitCost?: number | undefined; }, { name: string; location: string; category: string; unit: InventoryUnit; quantity: number; minimumQuantity: number; file?: File | undefined; description?: string | undefined; imageUrl?: string | undefined; subcategory?: string | undefined; consumable?: boolean | undefined; estimatedUnitCost?: number | 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; category: string | null; imageUrl: string | null; unit: string; createdAt: string; updatedAt: 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; category: string | null; imageUrl: string | null; unit: string; createdAt: string; updatedAt: 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; category: string | null; imageUrl: string | null; unit: string; createdAt: string; updatedAt: 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; category: string | null; imageUrl: string | null; unit: string; createdAt: string; updatedAt: 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; category: string | null; imageUrl: string | null; unit: string; createdAt: string; updatedAt: 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; category: string | null; imageUrl: string | null; unit: string; createdAt: string; updatedAt: 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; category: string | null; imageUrl: string | null; unit: string; createdAt: string; updatedAt: 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; category: string | null; imageUrl: string | null; unit: string; createdAt: string; updatedAt: 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; category: string | null; imageUrl: string | null; unit: string; createdAt: string; updatedAt: 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; category: string | null; imageUrl: string | null; unit: string; createdAt: string; updatedAt: 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 = "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; category: string | null; imageUrl: string | null; unit: string; createdAt: string; updatedAt: 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; category: string | null; imageUrl: string | null; unit: string; createdAt: string; updatedAt: 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; category: string | null; imageUrl: string | null; unit: string; createdAt: string; updatedAt: 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; category: string | null; imageUrl: string | null; unit: string; createdAt: string; updatedAt: 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; category: string | null; imageUrl: string | null; unit: string; createdAt: string; updatedAt: 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; stockCounts: Record; }; fns: { handleSearchChange: (value: string) => void; handleStatusChange: (status: InventoryStockAvailabilityStatus | "all") => void; handleCreatedAtSortChange: (sort: InventoryCreatedAtSort) => void; handleItemSelect: (itemId: string) => void; handleItemEdit: (itemId: string) => void; handleAddItem: () => void; handleBack: () => 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; onBack?: ((...args: unknown[]) => void) | undefined; onEdit?: ((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; isTemplate?: boolean | undefined; consumable?: boolean | undefined; estimatedUnitCost?: number | null | undefined; }>; type InventoryItem = 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; isTemplate?: boolean | undefined; consumable?: boolean | undefined; estimatedUnitCost?: number | null | undefined; }>; onEdit: z.ZodOptional, z.ZodVoid>>; onBack: z.ZodOptional, z.ZodVoid>>; onDelete: z.ZodOptional, z.ZodVoid>>; canDelete: z.ZodDefault; isPersonalProfile: z.ZodDefault; }, "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; onBack?: ((...args: unknown[]) => void) | undefined; onEdit?: ((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; isTemplate?: boolean | undefined; consumable?: boolean | undefined; estimatedUnitCost?: number | null | undefined; }; onDelete?: ((args_0: string, ...args: unknown[]) => void) | undefined; onBack?: ((...args: unknown[]) => void) | undefined; onEdit?: ((args_0: string, ...args: unknown[]) => void) | undefined; isPersonalProfile?: boolean | undefined; canDelete?: boolean | undefined; }>; type InventoryItemDetailProps = z.infer; 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; onHand: number; committedQuantity: number; reservedQuantity: number; toBuyQuantity: 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; unitCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; unitCostMeta?: { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; } | undefined; estimatedCost?: number | undefined; }, { id: string; name: string; category: string; unit: string; minimumQuantity: number; consumable: boolean; onHand: number; committedQuantity: number; reservedQuantity: number; toBuyQuantity: 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; unitCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; unitCostMeta?: { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; } | undefined; estimatedCost?: number | 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, { formatted: { totalEstimatedCost: string; }; coveragePercent: number; itemsWithoutCostCount: number; totalEstimatedCost: number; itemsWithCostCount: number; }, { formatted: { totalEstimatedCost: string; }; coveragePercent: number; itemsWithoutCostCount: number; totalEstimatedCost: number; itemsWithCostCount: number; }>; 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; onHand: number; committedQuantity: number; reservedQuantity: number; toBuyQuantity: 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; unitCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; unitCostMeta?: { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; } | undefined; estimatedCost?: number | undefined; }, { id: string; name: string; category: string; unit: string; minimumQuantity: number; consumable: boolean; onHand: number; committedQuantity: number; reservedQuantity: number; toBuyQuantity: 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; unitCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; unitCostMeta?: { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; } | undefined; estimatedCost?: number | 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, { formatted: { totalEstimatedCost: string; }; coveragePercent: number; itemsWithoutCostCount: number; totalEstimatedCost: number; itemsWithCostCount: number; }, { formatted: { totalEstimatedCost: string; }; coveragePercent: number; itemsWithoutCostCount: number; totalEstimatedCost: number; itemsWithCostCount: number; }>>; 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; onHand: number; committedQuantity: number; reservedQuantity: number; toBuyQuantity: 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; unitCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; unitCostMeta?: { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; } | undefined; estimatedCost?: number | 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?: { formatted: { totalEstimatedCost: string; }; coveragePercent: number; itemsWithoutCostCount: number; totalEstimatedCost: number; itemsWithCostCount: number; } | undefined; }, { items: { id: string; name: string; category: string; unit: string; minimumQuantity: number; consumable: boolean; onHand: number; committedQuantity: number; reservedQuantity: number; toBuyQuantity: 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; unitCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; unitCostMeta?: { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; } | undefined; estimatedCost?: number | 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?: { formatted: { totalEstimatedCost: string; }; coveragePercent: number; itemsWithoutCostCount: number; totalEstimatedCost: number; itemsWithCostCount: number; } | 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; onHand: number; committedQuantity: number; reservedQuantity: number; toBuyQuantity: 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; unitCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; unitCostMeta?: { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; } | undefined; estimatedCost?: number | undefined; }, { id: string; name: string; category: string; unit: string; minimumQuantity: number; consumable: boolean; onHand: number; committedQuantity: number; reservedQuantity: number; toBuyQuantity: 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; unitCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; unitCostMeta?: { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; } | undefined; estimatedCost?: number | 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, { formatted: { totalEstimatedCost: string; }; coveragePercent: number; itemsWithoutCostCount: number; totalEstimatedCost: number; itemsWithCostCount: number; }, { formatted: { totalEstimatedCost: string; }; coveragePercent: number; itemsWithoutCostCount: number; totalEstimatedCost: number; itemsWithCostCount: number; }>>; 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">; }, "costs" | "stock" | "demand" | "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" | "costSource" | "estimatedCost">, "strip", z.ZodTypeAny, { id: string; name: string; unit: string; toBuyQuantity: number; imageUrl?: string | null | undefined; costSource?: "manual" | "purchase_history" | null | undefined; estimatedCost?: number | undefined; }, { id: string; name: string; unit: string; toBuyQuantity: number; imageUrl?: string | null | undefined; costSource?: "manual" | "purchase_history" | null | undefined; estimatedCost?: number | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { 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; }[]; itemsToBuyCount: number; topItems: { id: string; name: string; unit: string; toBuyQuantity: number; imageUrl?: string | null | undefined; costSource?: "manual" | "purchase_history" | null | undefined; estimatedCost?: number | undefined; }[]; costs?: { formatted: { totalEstimatedCost: string; }; coveragePercent: number; itemsWithoutCostCount: number; totalEstimatedCost: number; itemsWithCostCount: number; } | 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; }[]; itemsToBuyCount: number; topItems: { id: string; name: string; unit: string; toBuyQuantity: number; imageUrl?: string | null | undefined; costSource?: "manual" | "purchase_history" | null | undefined; estimatedCost?: number | undefined; }[]; costs?: { formatted: { totalEstimatedCost: string; }; coveragePercent: number; itemsWithoutCostCount: number; totalEstimatedCost: number; itemsWithCostCount: number; } | 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; onHand: number; committedQuantity: number; reservedQuantity: number; toBuyQuantity: 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; unitCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; unitCostMeta?: { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; } | undefined; estimatedCost?: number | undefined; }, { id: string; name: string; category: string; unit: string; minimumQuantity: number; consumable: boolean; onHand: number; committedQuantity: number; reservedQuantity: number; toBuyQuantity: 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; unitCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; unitCostMeta?: { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; } | undefined; estimatedCost?: number | 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, { formatted: { totalEstimatedCost: string; }; coveragePercent: number; itemsWithoutCostCount: number; totalEstimatedCost: number; itemsWithCostCount: number; }, { formatted: { totalEstimatedCost: string; }; coveragePercent: number; itemsWithoutCostCount: number; totalEstimatedCost: number; itemsWithCostCount: number; }>>; 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; onHand: number; committedQuantity: number; reservedQuantity: number; toBuyQuantity: 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; unitCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; unitCostMeta?: { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; } | undefined; estimatedCost?: number | 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?: { formatted: { totalEstimatedCost: string; }; coveragePercent: number; itemsWithoutCostCount: number; totalEstimatedCost: number; itemsWithCostCount: number; } | undefined; }, { items: { id: string; name: string; category: string; unit: string; minimumQuantity: number; consumable: boolean; onHand: number; committedQuantity: number; reservedQuantity: number; toBuyQuantity: 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; unitCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; unitCostMeta?: { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; } | undefined; estimatedCost?: number | 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?: { formatted: { totalEstimatedCost: string; }; coveragePercent: number; itemsWithoutCostCount: number; totalEstimatedCost: number; itemsWithCostCount: number; } | undefined; }>>>; isLoading: 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; onHand: number; committedQuantity: number; reservedQuantity: number; toBuyQuantity: 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; unitCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; unitCostMeta?: { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; } | undefined; estimatedCost?: number | 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?: { formatted: { totalEstimatedCost: string; }; coveragePercent: number; itemsWithoutCostCount: number; totalEstimatedCost: number; itemsWithCostCount: number; } | undefined; } | null | undefined; onBack?: (() => void) | undefined; isLoading?: boolean | undefined; isPersonalProfile?: 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; onHand: number; committedQuantity: number; reservedQuantity: number; toBuyQuantity: 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; unitCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; unitCostMeta?: { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; } | undefined; estimatedCost?: number | 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?: { formatted: { totalEstimatedCost: string; }; coveragePercent: number; itemsWithoutCostCount: number; totalEstimatedCost: number; itemsWithCostCount: number; } | undefined; } | null | undefined; onBack?: (() => void) | undefined; isLoading?: boolean | undefined; isPersonalProfile?: 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; 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; onHand: number; committedQuantity: number; reservedQuantity: number; toBuyQuantity: 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; unitCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; unitCostMeta?: { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; } | undefined; estimatedCost?: number | 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?: { formatted: { totalEstimatedCost: string; }; coveragePercent: number; itemsWithoutCostCount: number; totalEstimatedCost: number; itemsWithCostCount: number; } | undefined; } | null | undefined; isLoading: boolean; isPersonalProfile: boolean; itemsToBuy: { id: string; name: string; category: string; unit: string; minimumQuantity: number; consumable: boolean; onHand: number; committedQuantity: number; reservedQuantity: number; toBuyQuantity: 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; unitCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; unitCostMeta?: { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; } | undefined; estimatedCost?: number | undefined; }[]; consumableItems: { id: string; name: string; category: string; unit: string; minimumQuantity: number; consumable: boolean; onHand: number; committedQuantity: number; reservedQuantity: number; toBuyQuantity: 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; unitCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; unitCostMeta?: { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; } | undefined; estimatedCost?: number | undefined; }[]; nonConsumableItems: { id: string; name: string; category: string; unit: string; minimumQuantity: number; consumable: boolean; onHand: number; committedQuantity: number; reservedQuantity: number; toBuyQuantity: 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; unitCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; unitCostMeta?: { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; } | undefined; estimatedCost?: number | undefined; }[]; hasCosts: boolean; isEmpty: boolean; stock: { totalItems: number; totalUnits: number; lowStockCount: number; outOfStockCount: number; } | undefined; demand: { activityCount: number; eventCount: number; distinctItemCount: number; } | undefined; costs: { formatted: { totalEstimatedCost: string; }; coveragePercent: number; itemsWithoutCostCount: number; totalEstimatedCost: number; itemsWithCostCount: number; } | 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; onHand: number; committedQuantity: number; reservedQuantity: number; toBuyQuantity: 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; unitCost?: number | undefined; costSource?: "manual" | "purchase_history" | null | undefined; unitCostMeta?: { outcomeId?: string | undefined; purchaseDate?: string | undefined; formattedPurchaseDate?: string | undefined; } | undefined; estimatedCost?: number | 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?: { formatted: { totalEstimatedCost: string; }; coveragePercent: number; itemsWithoutCostCount: number; totalEstimatedCost: number; itemsWithCostCount: number; } | 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; ranks: { id: string; name: string; description?: string | undefined; level?: number | undefined; }[]; isPersonalProfile: boolean; 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; isLoading?: boolean | undefined; isPersonalProfile?: 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; isLoading?: boolean | undefined; onNavigate?: ((args_0: "dados" | "spiritual-profile") => void) | 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; 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; street: string; neighborhood: string; city: 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"; zipCode: string; country?: string | undefined; complement?: string | null | undefined; reference?: string | null | undefined; }, { number: string; street: string; neighborhood: string; city: 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"; 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; street: string; neighborhood: string; city: 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"; zipCode: string; country?: string | undefined; complement?: string | null | undefined; reference?: string | null | undefined; }, { number: string; street: string; neighborhood: string; city: 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"; 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; street: string; neighborhood: string; city: 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"; zipCode: string; country?: string | undefined; complement?: string | null | undefined; reference?: string | null | undefined; }, { number: string; street: string; neighborhood: string; city: 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"; 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>>; 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; onSave?: ((args_0: { number: string; street: string; neighborhood: string; city: 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"; zipCode: string; country?: string | undefined; complement?: string | null | undefined; reference?: string | null | undefined; }) => void) | undefined; addressId?: string | undefined; initialAddress?: { number: string; street: string; neighborhood: string; city: 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"; zipCode: string; country?: string | undefined; complement?: string | null | undefined; reference?: string | null | undefined; } | undefined; onAddressLoad?: ((args_0: { number: string; street: string; neighborhood: string; city: 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"; 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; enableCepLookup?: boolean | undefined; enableGoogleAddress?: boolean | undefined; googleMapsApiKey?: string | undefined; googleCountryCode?: string | undefined; googleLanguage?: string | undefined; }, { onBack: () => void; error?: string | undefined; isLoading?: boolean | undefined; onSave?: ((args_0: { number: string; street: string; neighborhood: string; city: 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"; zipCode: string; country?: string | undefined; complement?: string | null | undefined; reference?: string | null | undefined; }) => void) | undefined; addressId?: string | undefined; initialAddress?: { number: string; street: string; neighborhood: string; city: 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"; zipCode: string; country?: string | undefined; complement?: string | null | undefined; reference?: string | null | undefined; } | undefined; onAddressLoad?: ((args_0: { number: string; street: string; neighborhood: string; city: 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"; 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; 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; street: string; neighborhood: string; city: string; state: string; zipCode: string; complement?: string | undefined; }, { number: string; country: string; street: string; neighborhood: string; city: string; state: 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; street: string; neighborhood: string; city: string; state: 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; street: string; neighborhood: string; city: string; state: 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>; 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; /** 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; street: string; neighborhood: string; city: string; state: 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; badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined; onCompleteProfile?: ((...args: unknown[]) => unknown) | undefined; isPersonalProfile?: boolean | undefined; mediumStatus?: string | undefined; onNavigate?: ((args_0: string) => void) | undefined; handleRequestAccessAgain?: (() => void) | undefined; showMediumSection?: 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; street: string; neighborhood: string; city: string; state: 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; badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined; onCompleteProfile?: ((...args: unknown[]) => unknown) | undefined; isPersonalProfile?: boolean | undefined; mediumStatus?: string | undefined; onNavigate?: ((args_0: string) => void) | undefined; handleRequestAccessAgain?: (() => void) | undefined; showMediumSection?: 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 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; visibility: z.ZodEnum<["only_me", "leaders", "terreiro"]>; developmentStage: z.ZodNullable>; notes: z.ZodOptional>; name: z.ZodOptional; createdAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; visibility: "terreiro" | "only_me" | "leaders"; line: string; type: "line" | "entity"; createdAt: string; developmentStage: "confirmed" | "initial_contact" | "developing" | "active_work" | null; name?: string | undefined; notes?: string | null | undefined; }, { id: string; visibility: "terreiro" | "only_me" | "leaders"; line: string; type: "line" | "entity"; createdAt: string; developmentStage: "confirmed" | "initial_contact" | "developing" | "active_work" | 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, { totalMediums: number; totalEntities: number; topLines: { line: string; count: number; }[]; }, { totalMediums: number; totalEntities: number; topLines: { line: string; count: 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; }>; 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; visibility: z.ZodEnum<["only_me", "leaders", "terreiro"]>; developmentStage: z.ZodNullable>; notes: z.ZodOptional>; name: z.ZodOptional; createdAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; visibility: "terreiro" | "only_me" | "leaders"; line: string; type: "line" | "entity"; createdAt: string; developmentStage: "confirmed" | "initial_contact" | "developing" | "active_work" | null; name?: string | undefined; notes?: string | null | undefined; }, { id: string; visibility: "terreiro" | "only_me" | "leaders"; line: string; type: "line" | "entity"; createdAt: string; developmentStage: "confirmed" | "initial_contact" | "developing" | "active_work" | null; name?: string | undefined; notes?: string | null | undefined; }>, "many">; analytics: z.ZodOptional, "many">; }, "strip", z.ZodTypeAny, { totalMediums: number; totalEntities: number; topLines: { line: string; count: number; }[]; }, { totalMediums: number; totalEntities: number; topLines: { line: string; count: 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>; onBack: z.ZodOptional, z.ZodVoid>>; onAddClick: z.ZodOptional, z.ZodVoid>>; canViewAnalytics: z.ZodOptional; canAdd: z.ZodDefault>; hideAddForm: z.ZodDefault>; hideAddFab: z.ZodDefault>; }, "strip", z.ZodTypeAny, { items: { id: string; visibility: "terreiro" | "only_me" | "leaders"; line: string; type: "line" | "entity"; createdAt: string; developmentStage: "confirmed" | "initial_contact" | "developing" | "active_work" | 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; 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; canAdd: boolean; hideAddForm: boolean; error?: string | null | undefined; onRetry?: ((...args: unknown[]) => void) | undefined; onBack?: ((...args: unknown[]) => void) | undefined; isLoading?: boolean | undefined; analytics?: { totalMediums: number; totalEntities: number; topLines: { line: string; count: number; }[]; } | undefined; onAddClick?: ((...args: unknown[]) => void) | undefined; canViewAnalytics?: boolean | undefined; }, { items: { id: string; visibility: "terreiro" | "only_me" | "leaders"; line: string; type: "line" | "entity"; createdAt: string; developmentStage: "confirmed" | "initial_contact" | "developing" | "active_work" | 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; onRetry?: ((...args: unknown[]) => void) | undefined; onBack?: ((...args: unknown[]) => void) | undefined; isLoading?: boolean | 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?: { totalMediums: number; totalEntities: number; topLines: { line: string; count: number; }[]; } | undefined; onAddClick?: ((...args: unknown[]) => void) | undefined; canViewAnalytics?: boolean | undefined; canAdd?: boolean | undefined; hideAddForm?: boolean | undefined; }>; type SpiritualDevelopmentStage = z.infer; type SpiritualVisibility = z.infer; type SpiritualLine = z.infer; type SpiritualProfileItem = z.infer; type SpiritualAnalyticsSummary = z.infer; type AddSpiritualProfileInput = 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"; line: string; type: "line" | "entity"; createdAt: string; developmentStage: "confirmed" | "initial_contact" | "developing" | "active_work" | null; name?: string | undefined; notes?: string | null | undefined; }[]; analytics: { totalMediums: number; totalEntities: number; topLines: { line: string; count: number; }[]; } | undefined; isLoading: boolean; error: string | null; canViewAnalytics: boolean; canAdd: boolean; hideAddForm: boolean; hideAddFab: boolean; 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; }; 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; handleRetry: () => void | undefined; handleAddClick: () => void | undefined; handleBack: () => void | undefined; }; }; 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"; 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; updatedAt: 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"; 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; updatedAt: string; terreiro?: any; profileCompletion?: { percent: number | null; } | undefined; createdBy?: any; updatedBy?: any; }>, "many">; isLoading: z.ZodOptional; onBack: z.ZodFunction, z.ZodVoid>; onAddMedium: z.ZodFunction, 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"; 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; updatedAt: string; terreiro?: any; profileCompletion?: { percent: number | null; } | undefined; createdBy?: any; updatedBy?: any; }[]; onBack: () => void; onSelectMedium: (args_0: string) => void; onAddMedium: () => void; isLoading?: boolean | undefined; showSearch?: boolean | 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"; 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; updatedAt: string; terreiro?: any; profileCompletion?: { percent: number | null; } | undefined; createdBy?: any; updatedBy?: any; }[]; onBack: () => void; onSelectMedium: (args_0: string) => void; onAddMedium: () => void; isLoading?: boolean | undefined; showSearch?: boolean | 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; street: string; complement: string; neighborhood: string; city: string; state: string; zipCode: string; }, { number: string; id: string; country: string; street: string; complement: string; neighborhood: string; city: string; state: string; zipCode: string; }>; }, "strip", z.ZodTypeAny, { id: string; address: { number: string; id: string; country: string; street: string; complement: string; neighborhood: string; city: string; state: 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; street: string; complement: string; neighborhood: string; city: string; state: 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; street: string; complement: string; neighborhood: string; city: string; state: 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; street: string; complement: string; neighborhood: string; city: string; state: 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; street: string; complement: string; neighborhood: string; city: string; state: 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; street: string; complement: string; neighborhood: string; city: string; state: 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"; createdAt: string; updatedAt: 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"; createdAt: string; updatedAt: 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; street: string; neighborhood: string; city: string; state: string; zipCode: string; complement?: string | undefined; }, { number: string; street: string; neighborhood: string; city: string; state: 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; firstName: string; lastName: string; street: string; neighborhood: string; city: string; state: 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; firstName: string; lastName: string; street: string; neighborhood: string; city: string; state: 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; firstName: string; lastName: string; street: string; complement: string; neighborhood: string; city: string; state: 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; firstName?: string | undefined; lastName?: string | undefined; street?: string | undefined; complement?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; state?: 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; firstName: string; lastName: string; street: string; neighborhood: string; city: string; state: 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; firstName: string; lastName: string; street: string; neighborhood: string; city: string; state: 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; firstName: string; lastName: string; street: string; neighborhood: string; city: string; state: 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; firstName: string; lastName: string; street: string; neighborhood: string; city: string; state: 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; firstName: string; lastName: string; street: string; neighborhood: string; city: string; state: 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; firstName: string; lastName: string; street: string; neighborhood: string; city: string; state: 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; firstName: string; lastName: string; street: string; neighborhood: string; city: string; state: 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; firstName: string; lastName: string; street: string; neighborhood: string; city: string; state: 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; firstName: string; lastName: string; street: string; neighborhood: string; city: string; state: 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; firstName: string; lastName: string; street: string; neighborhood: string; city: string; state: 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; firstName: string; lastName: string; street: string; neighborhood: string; city: string; state: 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; firstName: string; lastName: string; street: string; neighborhood: string; city: string; state: 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; onStepChange?: ((args_0: number) => void) | undefined; enableGoogleAddress?: boolean | undefined; onFinishAutoRedirect?: ((args_0: { number: string; email: string; password: string; document: string; firstName: string; lastName: string; street: string; neighborhood: string; city: string; state: 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; firstName: string; lastName: string; street: string; neighborhood: string; city: string; state: 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; firstName: string; lastName: string; street: string; neighborhood: string; city: string; state: 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; onStepChange?: ((args_0: number) => void) | undefined; enableGoogleAddress?: boolean | undefined; onFinishAutoRedirect?: ((args_0: { number: string; email: string; password: string; document: string; firstName: string; lastName: string; street: string; neighborhood: string; city: string; state: 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; street: string; neighborhood: string; city: string; state: string; zipCode: string; } | undefined; }, { description: string; placeId: string; structured?: { number: string; street: string; neighborhood: string; city: string; state: 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; firstName: string; lastName: string; street: string; neighborhood: string; city: string; state: 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; firstName: string; lastName: string; phone: string; religionId: 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; createdAt: string; updatedAt: string; description?: string | null | undefined; }[] | undefined; isLoading?: boolean | undefined; onCancel?: (() => void) | undefined; initialData?: { email?: string | undefined; password?: string | undefined; terreiroName?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; phone?: string | undefined; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; religionId?: 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; firstName: string; lastName: string; phone: string; religionId: 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; createdAt: string; updatedAt: 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; firstName: string; lastName: string; phone: string; religionId: 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; firstName: string; lastName: string; phone: string; religionId: 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; firstName: string; lastName: string; phone: string; religionId: 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; firstName: string; lastName: string; phone: string; religionId: 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; firstName: string; lastName: string; phone: string; religionId: 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; firstName: string; lastName: string; phone: string; religionId: 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; firstName: string; lastName: string; phone: string; religionId: 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; firstName: string; lastName: string; phone: string; religionId: 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; firstName: string; lastName: string; phone: string; religionId: 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; firstName: string; lastName: string; phone: string; religionId: 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; firstName: string; lastName: string; phone: string; religionId: 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; firstName: string; lastName: string; phone: string; religionId: 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; firstName: string; lastName: string; phone: string; religionId: 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; firstName: string; lastName: string; phone: string; religionId: 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; createdAt: string; updatedAt: string; matriz: string; characteristics: string; founder: string | null; mainNations: string | null; examples: string | null; origin?: string | null | undefined; }, { id: string; name: string; description: string; createdAt: string; updatedAt: 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; createdAt: string; updatedAt: string; description?: string | null | undefined; }, { id: string; name: string; createdAt: string; updatedAt: 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; firstName?: string | undefined; lastName?: string | undefined; phone?: string | undefined; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; religionId?: 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; firstName?: string | undefined; lastName?: string | undefined; phone?: string | undefined; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; religionId?: 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; firstName: string; lastName: string; phone: string; religionId: 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; firstName: string; lastName: string; phone: string; religionId: 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; firstName: string; lastName: string; phone: string; religionId: 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; firstName: string; lastName: string; phone: string; religionId: 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; createdAt: string; updatedAt: string; matriz: string; characteristics: string; founder: string | null; mainNations: string | null; examples: string | null; origin?: string | null | undefined; }, { id: string; name: string; description: string; createdAt: string; updatedAt: 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; createdAt: string; updatedAt: string; description?: string | null | undefined; }, { id: string; name: string; createdAt: string; updatedAt: 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; firstName: string; lastName: string; phone: string; religionId: 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; firstName: string; lastName: string; phone: string; religionId: 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; firstName: string; lastName: string; phone: string; religionId: 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; firstName: string; lastName: string; phone: string; religionId: 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; firstName: string; lastName: string; phone: string; religionId: 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; createdAt: string; updatedAt: string; description?: string | null | undefined; }[] | undefined; isLoading?: boolean | undefined; onCancel?: (() => void) | undefined; initialData?: { email?: string | undefined; password?: string | undefined; terreiroName?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; phone?: string | undefined; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; religionId?: 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; firstName: string; lastName: string; phone: string; religionId: 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; createdAt: string; updatedAt: 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; firstName: string; lastName: string; phone: string; religionId: 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; createdAt: string; updatedAt: string; description?: string | null | undefined; }[] | undefined; isLoading?: boolean | undefined; onCancel?: (() => void) | undefined; initialData?: { email?: string | undefined; password?: string | undefined; terreiroName?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; phone?: string | undefined; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; religionId?: 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; firstName: string; lastName: string; phone: string; religionId: 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; createdAt: string; updatedAt: 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; firstName: string; lastName: string; phone: string; religionId: string; }, { email: string; terreiroName: string; firstName: string; lastName: string; phone: string; religionId: 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; firstName: string; lastName: string; phone: string; rankId: string; roleId: string; initiationDate: string; foundationDate: string; religionId: 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; firstName?: string | undefined; lastName?: string | undefined; phone?: string | undefined; rankId?: string | undefined; roleId?: string | undefined; initiationDate?: string | undefined; foundationDate?: string | undefined; religionId?: 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; firstName: string; lastName: string; phone: string; religionId: string; }, { email: string; terreiroName: string; firstName: string; lastName: string; phone: string; religionId: 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; firstName: string; lastName: string; phone: string; religionId: 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; firstName: string; lastName: string; phone: string; religionId: 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; firstName: string; lastName: string; phone: string; religionId: 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; onSave?: ((args_0: string[]) => void) | undefined; selectedMediumIds?: string[] | undefined; onSelectionChange?: ((args_0: string[]) => void) | 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; onSave?: ((args_0: string[]) => void) | undefined; selectedMediumIds?: string[] | undefined; onSelectionChange?: ((args_0: string[]) => void) | 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" | "member" | "system" | "financial" | "inventory" | "reminder" | "achievement" | "social"; timestamp: Date; read: boolean; metadata?: Record | undefined; avatar?: string | undefined; actionText?: string | undefined; actionRoute?: string | undefined; }, { title: string; id: string; message: string; type: "event" | "member" | "system" | "financial" | "inventory" | "reminder" | "achievement" | "social"; 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" | "member" | "system" | "financial" | "inventory" | "reminder" | "achievement" | "social"; read: "all" | "read" | "unread"; }, { type: "all" | "event" | "member" | "system" | "financial" | "inventory" | "reminder" | "achievement" | "social"; 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" | "member" | "system" | "financial" | "inventory" | "reminder" | "achievement" | "social"; timestamp: Date; read: boolean; metadata?: Record | undefined; avatar?: string | undefined; actionText?: string | undefined; actionRoute?: string | undefined; }, { title: string; id: string; message: string; type: "event" | "member" | "system" | "financial" | "inventory" | "reminder" | "achievement" | "social"; 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; currentFilter: z.ZodOptional; read: z.ZodEnum<["all", "unread", "read"]>; }, "strip", z.ZodTypeAny, { type: "all" | "event" | "member" | "system" | "financial" | "inventory" | "reminder" | "achievement" | "social"; read: "all" | "read" | "unread"; }, { type: "all" | "event" | "member" | "system" | "financial" | "inventory" | "reminder" | "achievement" | "social"; 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" | "member" | "system" | "financial" | "inventory" | "reminder" | "achievement" | "social"; read: "all" | "read" | "unread"; }, { type: "all" | "event" | "member" | "system" | "financial" | "inventory" | "reminder" | "achievement" | "social"; read: "all" | "read" | "unread"; }>], null>, z.ZodVoid>>; onRefresh: 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, { onBack?: (() => void) | undefined; isLoading?: boolean | undefined; onRefresh?: (() => void) | undefined; onNotificationClick?: ((args_0: string) => void) | undefined; stats?: { today: number; total: number; unread: number; thisWeek: number; byType: Record; } | undefined; onNavigate?: ((args_0: string) => void) | undefined; autoRefresh?: boolean | undefined; notifications?: { title: string; id: string; message: string; type: "event" | "member" | "system" | "financial" | "inventory" | "reminder" | "achievement" | "social"; timestamp: Date; read: boolean; metadata?: Record | undefined; avatar?: string | undefined; actionText?: string | undefined; actionRoute?: string | undefined; }[] | undefined; currentFilter?: { type: "all" | "event" | "member" | "system" | "financial" | "inventory" | "reminder" | "achievement" | "social"; 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" | "member" | "system" | "financial" | "inventory" | "reminder" | "achievement" | "social"; read: "all" | "read" | "unread"; }) => void) | undefined; enableGrouping?: boolean | undefined; enableSwipeActions?: boolean | undefined; }, { onBack?: (() => void) | undefined; isLoading?: boolean | undefined; onRefresh?: (() => void) | undefined; onNotificationClick?: ((args_0: string) => void) | undefined; stats?: { today: number; total: number; unread: number; thisWeek: number; byType: Record; } | undefined; onNavigate?: ((args_0: string) => void) | undefined; autoRefresh?: boolean | undefined; notifications?: { title: string; id: string; message: string; type: "event" | "member" | "system" | "financial" | "inventory" | "reminder" | "achievement" | "social"; timestamp: Date; read: boolean; metadata?: Record | undefined; avatar?: string | undefined; actionText?: string | undefined; actionRoute?: string | undefined; }[] | undefined; currentFilter?: { type: "all" | "event" | "member" | "system" | "financial" | "inventory" | "reminder" | "achievement" | "social"; 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" | "member" | "system" | "financial" | "inventory" | "reminder" | "achievement" | "social"; 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; 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; }, { 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; }>; 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, { appName?: string | undefined; cancel?: string | undefined; protectionPrompt?: string | undefined; }, { appName?: string | undefined; cancel?: string | undefined; protectionPrompt?: string | undefined; }>>; googleAuthButtonText: z.ZodOptional; googleAuthLoading: 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; onPasskeyLogin?: (() => void) | undefined; passkeyDialogTexts?: { appName?: string | undefined; cancel?: 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; onPasskeyLogin?: (() => void) | undefined; passkeyDialogTexts?: { appName?: string | undefined; cancel?: 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; 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; 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; 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; isPending?: boolean | undefined; submitted?: boolean | undefined; }, { onSubmit: () => void; email: string; onEmailChange: (args_0: string) => void; onBackToSignin: () => void; isPending?: boolean | undefined; submitted?: 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; }, "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; statusLabel?: string | undefined; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; }, { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; statusLabel?: string | undefined; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | 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; }, "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; statusLabel?: string | undefined; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; }, { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; statusLabel?: string | undefined; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | 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; }, "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; statusLabel?: string | undefined; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; }, { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; statusLabel?: string | undefined; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; }>, "many">; usageLabel: z.ZodString; }, "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; statusLabel?: string | undefined; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | 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; statusLabel?: string | undefined; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; }[]; usageLabel: string; }, { activePlan: { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; statusLabel?: string | undefined; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | 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; statusLabel?: string | undefined; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; }[]; usageLabel: string; }>>; 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>; 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, { plan?: string | undefined; tier?: 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; }, { plan?: string | undefined; tier?: 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; isPersonalProfile: boolean; canViewSubscriptionPlan: boolean; canViewUsageQuotas: boolean; canUseWhatsAppNotifications: boolean; createTerreiroReligions: { id: string; name: string; }[]; isCreatingTerreiro: boolean; canManageTerreiroPolicy: boolean; isTerreiroPolicyLoading: boolean; isSavingTerreiroPolicy: boolean; onSubscriptionChange?: ((args_0: string) => void) | undefined; onBack?: (() => void) | undefined; onCreateTerreiro?: (() => void) | undefined; onNavigate?: ((args_0: string) => void) | undefined; onThemeChange?: ((args_0: "dark" | "light" | "system") => void) | undefined; currentTheme?: "dark" | "light" | "system" | undefined; currentLanguage?: string | undefined; onLanguageChange?: ((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; statusLabel?: string | undefined; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | 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; statusLabel?: string | undefined; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; }[]; usageLabel: string; } | 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" | "unsupported" | "granted" | "denied" | 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; 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; onCreateTerreiroSubmit?: ((args_0: { terreiroName: string; religionId: string; }) => boolean | void | Promise | 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?: { plan?: string | undefined; tier?: 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; }, { isAdmin?: boolean | undefined; onSubscriptionChange?: ((args_0: string) => void) | undefined; onBack?: (() => void) | undefined; onCreateTerreiro?: (() => void) | undefined; isPersonalProfile?: boolean | undefined; onNavigate?: ((args_0: string) => void) | undefined; onThemeChange?: ((args_0: "dark" | "light" | "system") => void) | undefined; currentTheme?: "dark" | "light" | "system" | undefined; canViewSubscriptionPlan?: boolean | undefined; canViewUsageQuotas?: boolean | undefined; canUseWhatsAppNotifications?: boolean | undefined; currentLanguage?: string | undefined; onLanguageChange?: ((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; statusLabel?: string | undefined; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | 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; statusLabel?: string | undefined; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; }[]; usageLabel: string; } | 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" | "unsupported" | "granted" | "denied" | 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; 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; createTerreiroReligions?: { id: string; name: string; }[] | undefined; onCreateTerreiroSubmit?: ((args_0: { terreiroName: string; religionId: string; }) => boolean | void | Promise | Promise) | undefined; isCreatingTerreiro?: boolean | undefined; canManageTerreiroPolicy?: 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?: { plan?: string | undefined; tier?: 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; }>; 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; createdAt: string; updatedAt: string; shareUrl: string; pixKey?: string | null | undefined; policiesAcceptedAt?: string | null | undefined; policyVersion?: string | null | undefined; }, { id: string; code: string; status: string; createdAt: string; updatedAt: 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; createdAt: string; updatedAt: 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; createdAt: string; updatedAt: 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; createdAt: string; updatedAt: string; shareUrl: string; pixKey?: string | null | undefined; policiesAcceptedAt?: string | null | undefined; policyVersion?: string | null | undefined; }, { id: string; code: string; status: string; createdAt: string; updatedAt: 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; createdAt: string; updatedAt: 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; createdAt: string; updatedAt: 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; createdAt: string; updatedAt: string; shareUrl: string; pixKey?: string | null | undefined; policiesAcceptedAt?: string | null | undefined; policyVersion?: string | null | undefined; }; mediumId: string; terreiroId: string | null; isPersonalProfile: boolean; stats: { totalReferrals: number; signupCompleted: number; subscriptionSelected: number; firstPaymentsConfirmed: number; commissionsGenerated: number; totalCommissionAmount: number; totalPaidCommissionAmount: number; totalOutstandingCommissionAmount: number; }; referrals: { id: string; source: string | null; createdAt: string; updatedAt: 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; createdAt: string; updatedAt: string; shareUrl: string; pixKey?: string | null | undefined; policiesAcceptedAt?: string | null | undefined; policyVersion?: string | null | undefined; }; mediumId: string; terreiroId: string | null; isPersonalProfile: boolean; stats: { totalReferrals: number; signupCompleted: number; subscriptionSelected: number; firstPaymentsConfirmed: number; commissionsGenerated: number; totalCommissionAmount: number; totalPaidCommissionAmount: number; totalOutstandingCommissionAmount: number; }; referrals: { id: string; source: string | null; createdAt: string; updatedAt: 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; createdAt: string; updatedAt: string; shareUrl: string; pixKey?: string | null | undefined; policiesAcceptedAt?: string | null | undefined; policyVersion?: string | null | undefined; }, { id: string; code: string; status: string; createdAt: string; updatedAt: 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; createdAt: string; updatedAt: 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; createdAt: string; updatedAt: 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; createdAt: string; updatedAt: string; shareUrl: string; pixKey?: string | null | undefined; policiesAcceptedAt?: string | null | undefined; policyVersion?: string | null | undefined; }; mediumId: string; terreiroId: string | null; isPersonalProfile: boolean; stats: { totalReferrals: number; signupCompleted: number; subscriptionSelected: number; firstPaymentsConfirmed: number; commissionsGenerated: number; totalCommissionAmount: number; totalPaidCommissionAmount: number; totalOutstandingCommissionAmount: number; }; referrals: { id: string; source: string | null; createdAt: string; updatedAt: 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; createdAt: string; updatedAt: string; shareUrl: string; pixKey?: string | null | undefined; policiesAcceptedAt?: string | null | undefined; policyVersion?: string | null | undefined; }; mediumId: string; terreiroId: string | null; isPersonalProfile: boolean; stats: { totalReferrals: number; signupCompleted: number; subscriptionSelected: number; firstPaymentsConfirmed: number; commissionsGenerated: number; totalCommissionAmount: number; totalPaidCommissionAmount: number; totalOutstandingCommissionAmount: number; }; referrals: { id: string; source: string | null; createdAt: string; updatedAt: 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; createdAt: string; updatedAt: string; shareUrl: string; pixKey?: string | null | undefined; policiesAcceptedAt?: string | null | undefined; policyVersion?: string | null | undefined; }; mediumId: string; terreiroId: string | null; isPersonalProfile: boolean; stats: { totalReferrals: number; signupCompleted: number; subscriptionSelected: number; firstPaymentsConfirmed: number; commissionsGenerated: number; totalCommissionAmount: number; totalPaidCommissionAmount: number; totalOutstandingCommissionAmount: number; }; referrals: { id: string; source: string | null; createdAt: string; updatedAt: 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; createdAt: string; updatedAt: string; shareUrl: string; pixKey?: string | null | undefined; policiesAcceptedAt?: string | null | undefined; policyVersion?: string | null | undefined; }; mediumId: string; terreiroId: string | null; isPersonalProfile: boolean; stats: { totalReferrals: number; signupCompleted: number; subscriptionSelected: number; firstPaymentsConfirmed: number; commissionsGenerated: number; totalCommissionAmount: number; totalPaidCommissionAmount: number; totalOutstandingCommissionAmount: number; }; referrals: { id: string; source: string | null; createdAt: string; updatedAt: 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; createdAt: string; updatedAt: string; shareUrl: string; pixKey?: string | null | undefined; policiesAcceptedAt?: string | null | undefined; policyVersion?: string | null | undefined; }; mediumId: string; terreiroId: string | null; isPersonalProfile: boolean; stats: { totalReferrals: number; signupCompleted: number; subscriptionSelected: number; firstPaymentsConfirmed: number; commissionsGenerated: number; totalCommissionAmount: number; totalPaidCommissionAmount: number; totalOutstandingCommissionAmount: number; }; referrals: { id: string; source: string | null; createdAt: string; updatedAt: 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; biography?: string | undefined; religionId?: 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; biography?: string | undefined; religionId?: string | undefined; isPublicProfile?: boolean | undefined; publicDescription?: string | undefined; publicContactEmail?: string | undefined; }) => void) | undefined; religions?: { id: string; name: string; description: string; createdAt: string; updatedAt: 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; biography?: string | undefined; religionId?: 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; biography?: string | undefined; religionId?: string | undefined; isPublicProfile?: boolean | undefined; publicDescription?: string | undefined; publicContactEmail?: string | undefined; }, { id: string; name: string; documentType: "CPF" | "CNPJ"; foundationDate: string; document?: string | undefined; biography?: string | undefined; religionId?: 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; biography?: string | undefined; religionId?: string | undefined; isPublicProfile?: boolean | undefined; publicDescription?: string | undefined; publicContactEmail?: string | undefined; }, { id: string; name: string; documentType: "CPF" | "CNPJ"; foundationDate: string; document?: string | undefined; biography?: string | undefined; religionId?: 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; biography?: string | undefined; religionId?: string | undefined; isPublicProfile?: boolean | undefined; publicDescription?: string | undefined; publicContactEmail?: string | undefined; }, { id: string; name: string; documentType: "CPF" | "CNPJ"; foundationDate: string; document?: string | undefined; biography?: string | undefined; religionId?: 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; createdAt: string; updatedAt: string; matriz: string; characteristics: string; founder: string | null; mainNations: string | null; examples: string | null; origin?: string | null | undefined; }, { id: string; name: string; description: string; createdAt: string; updatedAt: 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; biography?: string | undefined; religionId?: string | undefined; isPublicProfile?: boolean | undefined; publicDescription?: string | undefined; publicContactEmail?: string | undefined; }, { id: string; name: string; documentType: "CPF" | "CNPJ"; foundationDate: string; document?: string | undefined; biography?: string | undefined; religionId?: 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; biography?: string | undefined; religionId?: string | undefined; isPublicProfile?: boolean | undefined; publicDescription?: string | undefined; publicContactEmail?: string | undefined; }, { id: string; name: string; documentType: "CPF" | "CNPJ"; foundationDate: string; document?: string | undefined; biography?: string | undefined; religionId?: 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; biography?: string | undefined; religionId?: 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; biography?: string | undefined; religionId?: string | undefined; isPublicProfile?: boolean | undefined; publicDescription?: string | undefined; publicContactEmail?: string | undefined; }) => void) | undefined; religions?: { id: string; name: string; description: string; createdAt: string; updatedAt: 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; biography?: string | undefined; religionId?: 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; biography?: string | undefined; religionId?: 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; biography?: string | undefined; religionId?: string | undefined; isPublicProfile?: boolean | undefined; publicDescription?: string | undefined; publicContactEmail?: string | undefined; }) => void) | undefined; religions?: { id: string; name: string; description: string; createdAt: string; updatedAt: 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; biography?: string | undefined; religionId?: 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; documentType?: "CPF" | "CNPJ" | undefined; foundationDate?: string | undefined; biography?: string | undefined; religionId?: string | undefined; isPublicProfile?: boolean | undefined; publicDescription?: string | undefined; publicContactEmail?: string | undefined; }, { id?: string | undefined; name?: string | undefined; document?: string | undefined; documentType?: "CPF" | "CNPJ" | undefined; foundationDate?: string | undefined; biography?: string | undefined; religionId?: 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; biography?: string | undefined; religionId?: string | undefined; isPublicProfile?: boolean | undefined; publicDescription?: string | undefined; publicContactEmail?: string | undefined; } | null; formState: { id?: string | undefined; name?: string | undefined; document?: string | undefined; documentType?: "CPF" | "CNPJ" | undefined; foundationDate?: string | undefined; biography?: string | undefined; religionId?: 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; street: string; complement: string; neighborhood: string; city: string; state: string; zipCode: string; createdAt: string; updatedAt: string; createdByUserId: string; updatedByUserId: string; }, { number: string; id: string; country: string; street: string; complement: string; neighborhood: string; city: string; state: string; zipCode: string; createdAt: string; updatedAt: 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; phone: string; contactPerson: string | null; userId: string | null; terreiroId: string; createdAt: string; updatedAt: string; createdByUserId: string; }, { id: string; phone: string; contactPerson: string | null; userId: string | null; terreiroId: string; createdAt: string; updatedAt: string; createdByUserId: string; }>, "many">; }, "strip", z.ZodTypeAny, { id: string; address: { number: string; id: string; country: string; street: string; complement: string; neighborhood: string; city: string; state: string; zipCode: string; createdAt: string; updatedAt: string; createdByUserId: string; updatedByUserId: string; }; status: "ACTIVE" | "INACTIVE"; name: string; document: string; contacts: { id: string; phone: string; contactPerson: string | null; userId: string | null; terreiroId: string; createdAt: string; updatedAt: string; createdByUserId: string; }[]; createdAt: string; updatedAt: string; documentType: "CPF" | "CNPJ"; foundationDate: string; biography: string | null; createdByUserId: string; religionId: 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; street: string; complement: string; neighborhood: string; city: string; state: string; zipCode: string; createdAt: string; updatedAt: string; createdByUserId: string; updatedByUserId: string; }; status: "ACTIVE" | "INACTIVE"; name: string; document: string; contacts: { id: string; phone: string; contactPerson: string | null; userId: string | null; terreiroId: string; createdAt: string; updatedAt: string; createdByUserId: string; }[]; createdAt: string; updatedAt: string; documentType: "CPF" | "CNPJ"; foundationDate: string; biography: string | null; createdByUserId: string; religionId: 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; street: string; complement: string; neighborhood: string; city: string; state: string; zipCode: string; createdAt: string; updatedAt: string; createdByUserId: string; updatedByUserId: string; }, { number: string; id: string; country: string; street: string; complement: string; neighborhood: string; city: string; state: string; zipCode: string; createdAt: string; updatedAt: 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; phone: string; contactPerson: string | null; userId: string | null; terreiroId: string; createdAt: string; updatedAt: string; createdByUserId: string; }, { id: string; phone: string; contactPerson: string | null; userId: string | null; terreiroId: string; createdAt: string; updatedAt: string; createdByUserId: string; }>, "many">; }, "strip", z.ZodTypeAny, { id: string; address: { number: string; id: string; country: string; street: string; complement: string; neighborhood: string; city: string; state: string; zipCode: string; createdAt: string; updatedAt: string; createdByUserId: string; updatedByUserId: string; }; status: "ACTIVE" | "INACTIVE"; name: string; document: string; contacts: { id: string; phone: string; contactPerson: string | null; userId: string | null; terreiroId: string; createdAt: string; updatedAt: string; createdByUserId: string; }[]; createdAt: string; updatedAt: string; documentType: "CPF" | "CNPJ"; foundationDate: string; biography: string | null; createdByUserId: string; religionId: 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; street: string; complement: string; neighborhood: string; city: string; state: string; zipCode: string; createdAt: string; updatedAt: string; createdByUserId: string; updatedByUserId: string; }; status: "ACTIVE" | "INACTIVE"; name: string; document: string; contacts: { id: string; phone: string; contactPerson: string | null; userId: string | null; terreiroId: string; createdAt: string; updatedAt: string; createdByUserId: string; }[]; createdAt: string; updatedAt: string; documentType: "CPF" | "CNPJ"; foundationDate: string; biography: string | null; createdByUserId: string; religionId: 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>>; 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, { terreiro: { id: string; address: { number: string; id: string; country: string; street: string; complement: string; neighborhood: string; city: string; state: string; zipCode: string; createdAt: string; updatedAt: string; createdByUserId: string; updatedByUserId: string; }; status: "ACTIVE" | "INACTIVE"; name: string; document: string; contacts: { id: string; phone: string; contactPerson: string | null; userId: string | null; terreiroId: string; createdAt: string; updatedAt: string; createdByUserId: string; }[]; createdAt: string; updatedAt: string; documentType: "CPF" | "CNPJ"; foundationDate: string; biography: string | null; createdByUserId: string; religionId: string; addressId: string; updatedByUserId: string; completenessScore?: number | undefined; badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined; imageUrl?: string | undefined; }; onBack: () => void; badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined; onCompleteSection?: ((args_0: string) => void) | undefined; onNavigate?: ((args_0: string) => void) | undefined; onEditAvatar?: ((args_0: File) => 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; }, { terreiro: { id: string; address: { number: string; id: string; country: string; street: string; complement: string; neighborhood: string; city: string; state: string; zipCode: string; createdAt: string; updatedAt: string; createdByUserId: string; updatedByUserId: string; }; status: "ACTIVE" | "INACTIVE"; name: string; document: string; contacts: { id: string; phone: string; contactPerson: string | null; userId: string | null; terreiroId: string; createdAt: string; updatedAt: string; createdByUserId: string; }[]; createdAt: string; updatedAt: string; documentType: "CPF" | "CNPJ"; foundationDate: string; biography: string | null; createdByUserId: string; religionId: string; addressId: string; updatedByUserId: string; completenessScore?: number | undefined; badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined; imageUrl?: string | undefined; }; onBack: () => void; badgeTier?: "STARTER" | "BASIC" | "ACTIVE" | "VERIFIED" | undefined; onCompleteSection?: ((args_0: string) => void) | undefined; onNavigate?: ((args_0: string) => void) | undefined; onEditAvatar?: ((args_0: File) => 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; street: string; complement: string; neighborhood: string; city: string; state: string; zipCode: string; createdAt: string; updatedAt: string; createdByUserId: string; updatedByUserId: string; }; status: "ACTIVE" | "INACTIVE"; name: string; document: string; contacts: { id: string; phone: string; contactPerson: string | null; userId: string | null; terreiroId: string; createdAt: string; updatedAt: string; createdByUserId: string; }[]; createdAt: string; updatedAt: string; documentType: "CPF" | "CNPJ"; foundationDate: string; biography: string | null; createdByUserId: string; religionId: 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, { neighborhood?: string | undefined; city?: string | undefined; state?: string | undefined; }, { neighborhood?: string | undefined; city?: string | undefined; state?: string | undefined; }>>>; }, "strip", z.ZodTypeAny, { id: string; name: string; isPublicProfile: boolean; joinRequestStatus: "NONE" | "PENDING" | "APPROVED" | "CANCELLED"; address?: { neighborhood?: string | undefined; city?: string | undefined; state?: string | undefined; } | null | undefined; imageUrl?: string | null | undefined; publicDescription?: string | null | undefined; }, { id: string; name: string; address?: { neighborhood?: string | undefined; city?: string | undefined; state?: 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, { city?: string | undefined; state?: string | undefined; religionId?: string | undefined; }, { city?: string | undefined; state?: string | undefined; religionId?: 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, { city?: string | undefined; state?: string | undefined; religionId?: string | undefined; }, { city?: string | undefined; state?: string | undefined; religionId?: 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, { city?: string | undefined; state?: string | undefined; religionId?: string | undefined; }, { city?: string | undefined; state?: string | undefined; religionId?: 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; street?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; state?: string | undefined; zipCode?: string | undefined; }, { number?: string | undefined; street?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; state?: 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, { dueDay: number; amount: number; paymentMethod?: string | null | undefined; }, { dueDay: number; amount: 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; street?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; state?: string | undefined; zipCode?: string | undefined; } | null | undefined; imageUrl?: string | null | undefined; biography?: string | null | undefined; religion?: { id: string; name: string; } | null | undefined; monthlyFee?: { dueDay: number; amount: 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; street?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; state?: 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?: { dueDay: number; amount: 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, { neighborhood?: string | undefined; city?: string | undefined; state?: string | undefined; }, { neighborhood?: string | undefined; city?: string | undefined; state?: string | undefined; }>>>; }, "strip", z.ZodTypeAny, { id: string; name: string; isPublicProfile: boolean; joinRequestStatus: "NONE" | "PENDING" | "APPROVED" | "CANCELLED"; address?: { neighborhood?: string | undefined; city?: string | undefined; state?: string | undefined; } | null | undefined; imageUrl?: string | null | undefined; publicDescription?: string | null | undefined; }, { id: string; name: string; address?: { neighborhood?: string | undefined; city?: string | undefined; state?: 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: { city?: string | undefined; state?: string | undefined; religionId?: string | undefined; }; onSearchChange: (args_0: string) => void; searchTerm: string; terreiros: { id: string; name: string; isPublicProfile: boolean; joinRequestStatus: "NONE" | "PENDING" | "APPROVED" | "CANCELLED"; address?: { neighborhood?: string | undefined; city?: string | undefined; state?: 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: { city?: string | undefined; state?: string | undefined; religionId?: 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; street?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; state?: string | undefined; zipCode?: string | undefined; } | null | undefined; imageUrl?: string | null | undefined; biography?: string | null | undefined; religion?: { id: string; name: string; } | null | undefined; monthlyFee?: { dueDay: number; amount: 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: { city?: string | undefined; state?: string | undefined; religionId?: string | undefined; }) => void; onFiltersReset: () => void; error?: string | null | undefined; acceptedPrivacyPolicy?: boolean | undefined; acknowledgedFee?: boolean | undefined; isLoading?: boolean | undefined; filters?: { city?: string | undefined; state?: string | undefined; religionId?: 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?: { neighborhood?: string | undefined; city?: string | undefined; state?: 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; street?: string | undefined; neighborhood?: string | undefined; city?: string | undefined; state?: 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?: { dueDay: number; amount: 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; createdAt: string; updatedAt: 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; createdAt: string; updatedAt: 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; street: string; neighborhood: string; city: string; state: string; zipCode: string; complement?: string | undefined; }, { number: string; country: string; street: string; neighborhood: string; city: string; state: 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; userId?: string | undefined; terreiroId?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; createdByUserId?: string | undefined; }, { id: string; phone: string; contactPerson: string | null; userId?: string | undefined; terreiroId?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; createdByUserId?: string | undefined; }>, "many">>; onBack: z.ZodOptional, z.ZodVoid>>; }, "strip", z.ZodTypeAny, { address: { number: string; country: string; street: string; neighborhood: string; city: string; state: 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; createdAt: string; updatedAt: string; matriz: string; characteristics: string; founder: string; } | null; }; contacts: { id: string; phone: string; contactPerson: string | null; userId?: string | undefined; terreiroId?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; createdByUserId?: string | undefined; }[] | null; onBack?: ((...args: unknown[]) => void) | undefined; }, { address: { number: string; country: string; street: string; neighborhood: string; city: string; state: 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; createdAt: string; updatedAt: string; matriz: string; characteristics: string; founder: string; } | null; }; contacts: { id: string; phone: string; contactPerson: string | null; userId?: string | undefined; terreiroId?: string | undefined; createdAt?: string | undefined; updatedAt?: 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; onNavigateHome?: (() => void) | undefined; onNavigateBack?: (() => void) | undefined; showBackButton?: boolean | undefined; showHomeButton?: boolean | undefined; showIcon?: boolean | undefined; animated?: 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; onNavigateHome?: (() => void) | undefined; onNavigateBack?: (() => void) | undefined; showBackButton?: boolean | undefined; showHomeButton?: boolean | undefined; showIcon?: boolean | undefined; animated?: 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; createdAt: string; updatedAt: string; }; }, { id: string; agency: string; account: string; bankAccountOption: { id: string; image: string; name: string; createdAt: string; updatedAt: 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; createdAt: string; updatedAt: 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; createdAt: string; updatedAt: 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; createdAt: string; updatedAt: string; }; }, { id: string; agency: string; account: string; bankAccountOption: { id: string; image: string; name: string; createdAt: string; updatedAt: 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, { snackbar?: { open: boolean; message: string; severity: "warning" | "error" | "info" | "success"; } | undefined; onBack?: ((...args: unknown[]) => void) | 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; createdAt: string; updatedAt: 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; createdAt: string; updatedAt: string; }; }; receivingAccountSelect?: { label: string; value: string; } | null | undefined; } | undefined; initialValidationErrors?: Record | undefined; }, { snackbar?: { open: boolean; message: string; severity: "warning" | "error" | "info" | "success"; } | undefined; onBack?: ((...args: unknown[]) => void) | 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; createdAt: string; updatedAt: 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; createdAt: string; updatedAt: 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", "INSTRUCTION"]>; 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; terreiroId?: string | null | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; colorClass?: string | undefined; textColorClass?: string | undefined; bathsCount?: number | undefined; }, { id: string; name: string; origin?: string | undefined; icon?: string | undefined; description?: string | undefined; terreiroId?: string | null | undefined; createdAt?: string | undefined; updatedAt?: 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" | "INSTRUCTION"; id?: string | undefined; icon?: string | undefined; }, { order: number; text: string; id?: string | undefined; type?: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | "INSTRUCTION" | 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.ZodOptional; status: z.ZodDefault>; }, "strip", z.ZodTypeAny, { status: "ACTIVE" | "INACTIVE" | "DRAFT"; origin: "TERREIRO" | "MEDIUM" | "SYSTEM"; categoryId?: string | undefined; }, { origin: "TERREIRO" | "MEDIUM" | "SYSTEM"; status?: "ACTIVE" | "INACTIVE" | "DRAFT" | undefined; categoryId?: string | 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" | "INSTRUCTION"; id?: string | undefined; icon?: string | undefined; }, { order: number; text: string; id?: string | undefined; type?: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | "INSTRUCTION" | undefined; icon?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { steps: { order: number; text: string; type: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | "INSTRUCTION"; id?: string | undefined; icon?: string | undefined; }[]; }, { steps: { order: number; text: string; id?: string | undefined; type?: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | "INSTRUCTION" | 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" | "INSTRUCTION"; id?: string | undefined; icon?: string | undefined; }, { order: number; text: string; id?: string | undefined; type?: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | "INSTRUCTION" | 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: "TERREIRO" | "MEDIUM" | "SYSTEM"; steps: { order: number; text: string; type: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | "INSTRUCTION"; id?: string | undefined; icon?: string | undefined; }[]; categoryId: string; ingredients: { name: string; isOptional: boolean; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; }[]; 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: "TERREIRO" | "MEDIUM" | "SYSTEM"; steps: { order: number; text: string; id?: string | undefined; type?: "INGREDIENT" | "PREPARATION" | "APPLICATION" | "TIP" | "INSTRUCTION" | undefined; icon?: string | undefined; }[]; categoryId: string; ingredients: { name: string; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; isOptional?: boolean | undefined; }[]; 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" | "INSTRUCTION"; id?: string | undefined; icon?: string | undefined; }[]; categoryId: string; ingredients: { name: string; isOptional: boolean; id?: string | undefined; unit?: string | null | undefined; quantity?: string | number | undefined; notes?: string | null | undefined; }[]; 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: "TERREIRO" | "MEDIUM" | "SYSTEM"; 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: "TERREIRO" | "MEDIUM" | "SYSTEM"; 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: "TERREIRO" | "MEDIUM" | "SYSTEM"; 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?: "TERREIRO" | "MEDIUM" | "SYSTEM" | undefined; searchQuery?: string | undefined; categoryId?: string | undefined; }, { status?: "ACTIVE" | "INACTIVE" | "DRAFT" | undefined; origin?: "TERREIRO" | "MEDIUM" | "SYSTEM" | 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: "TERREIRO" | "MEDIUM" | "SYSTEM"; 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: "TERREIRO" | "MEDIUM" | "SYSTEM"; 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?: "TERREIRO" | "MEDIUM" | "SYSTEM" | undefined; searchQuery?: string | undefined; categoryId?: string | undefined; }, { status?: "ACTIVE" | "INACTIVE" | "DRAFT" | undefined; origin?: "TERREIRO" | "MEDIUM" | "SYSTEM" | 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?: "TERREIRO" | "MEDIUM" | "SYSTEM" | undefined; searchQuery?: string | undefined; categoryId?: string | undefined; }, { status?: "ACTIVE" | "INACTIVE" | "DRAFT" | undefined; origin?: "TERREIRO" | "MEDIUM" | "SYSTEM" | 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: "TERREIRO" | "MEDIUM" | "SYSTEM"; 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; onTabChange?: ((args_0: "all" | "my" | "terreiro" | "system") => void) | undefined; onBack?: (() => void) | undefined; isLoading?: boolean | undefined; hasNextPage?: boolean | undefined; isFetchingNextPage?: boolean | undefined; onLoadMore?: (() => void | Promise) | undefined; isPersonalProfile?: boolean | 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?: "TERREIRO" | "MEDIUM" | "SYSTEM" | undefined; searchQuery?: string | undefined; categoryId?: string | undefined; }) => void) | undefined; hasTerreiroAccess?: boolean | undefined; initialTab?: "all" | "my" | "terreiro" | "system" | undefined; initialFilters?: { status?: "ACTIVE" | "INACTIVE" | "DRAFT" | undefined; origin?: "TERREIRO" | "MEDIUM" | "SYSTEM" | 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: "TERREIRO" | "MEDIUM" | "SYSTEM"; 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; onTabChange?: ((args_0: "all" | "my" | "terreiro" | "system") => void) | undefined; onBack?: (() => void) | undefined; isLoading?: boolean | undefined; hasNextPage?: boolean | undefined; isFetchingNextPage?: boolean | undefined; onLoadMore?: (() => void | Promise) | undefined; isPersonalProfile?: boolean | 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?: "TERREIRO" | "MEDIUM" | "SYSTEM" | undefined; searchQuery?: string | undefined; categoryId?: string | undefined; }) => void) | undefined; hasTerreiroAccess?: boolean | undefined; initialTab?: "all" | "my" | "terreiro" | "system" | undefined; initialFilters?: { status?: "ACTIVE" | "INACTIVE" | "DRAFT" | undefined; origin?: "TERREIRO" | "MEDIUM" | "SYSTEM" | 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: "TERREIRO" | "MEDIUM" | "SYSTEM"; 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" | "terreiro" | "system"; availableTabs: ("all" | "my" | "terreiro" | "system")[]; filters: { status?: "ACTIVE" | "INACTIVE" | "DRAFT" | undefined; origin?: "TERREIRO" | "MEDIUM" | "SYSTEM" | 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; onRetry?: (() => void) | undefined; onBack?: (() => void) | undefined; isLoading?: boolean | undefined; onSchedule?: ((args_0: string) => void) | undefined; onEdit?: ((args_0: string) => void) | undefined; isPersonalProfile?: boolean | undefined; isTerreiro?: boolean | undefined; canDelete?: boolean | undefined; isDeleting?: boolean | undefined; hasTerreiroAccess?: boolean | undefined; ritualBath?: { title: string; id: string; status: "ACTIVE" | "INACTIVE" | "DRAFT"; origin: "TERREIRO" | "MEDIUM" | "SYSTEM"; 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; 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; updatedAt?: 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: "TERREIRO" | "MEDIUM" | "SYSTEM"; 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; 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; updatedAt?: 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: "TERREIRO" | "MEDIUM" | "SYSTEM"; source?: string | undefined; description?: 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; updatedAt?: 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; 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; 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; 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: "TERREIRO" | "MEDIUM" | "SYSTEM"; 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; 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; updatedAt?: 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: "TERREIRO" | "MEDIUM" | "SYSTEM"; source?: string | undefined; description?: 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; updatedAt?: 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; 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; 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; 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; onRetry?: (() => void) | undefined; onBack?: (() => void) | undefined; isLoading?: boolean | undefined; onSchedule?: ((args_0: string) => void) | undefined; onEdit?: ((args_0: string) => void) | undefined; isPersonalProfile?: boolean | undefined; isTerreiro?: boolean | undefined; canDelete?: boolean | undefined; isDeleting?: boolean | undefined; hasTerreiroAccess?: boolean | undefined; ritualBath?: { title: string; id: string; status: "ACTIVE" | "INACTIVE" | "DRAFT"; origin: "TERREIRO" | "MEDIUM" | "SYSTEM"; 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; 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; updatedAt?: 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; onRetry?: (() => void) | undefined; onBack?: (() => void) | undefined; isLoading?: boolean | undefined; onSchedule?: ((args_0: string) => void) | undefined; onEdit?: ((args_0: string) => void) | undefined; isPersonalProfile?: boolean | undefined; isTerreiro?: boolean | undefined; canDelete?: boolean | undefined; isDeleting?: boolean | undefined; hasTerreiroAccess?: boolean | undefined; ritualBath?: { title: string; id: string; status: "ACTIVE" | "INACTIVE" | "DRAFT"; origin: "TERREIRO" | "MEDIUM" | "SYSTEM"; source?: string | undefined; description?: 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; updatedAt?: 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; 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; 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; 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: "TERREIRO" | "MEDIUM" | "SYSTEM"; 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; 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; updatedAt?: 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: "TERREIRO" | "MEDIUM" | "SYSTEM"; 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: "TERREIRO" | "MEDIUM" | "SYSTEM"; 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: "TERREIRO" | "MEDIUM" | "SYSTEM"; 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: "TERREIRO" | "MEDIUM" | "SYSTEM"; 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: "TERREIRO" | "MEDIUM" | "SYSTEM"; 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: "TERREIRO" | "MEDIUM" | "SYSTEM"; 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; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }, { id: string; date: string; description: string | null; category: string; amount: number; 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; count: number; amount: number; formattedAmount: string; }, { id: string; name: string; count: number; amount: 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; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }, { id: string; date: string; description: string | null; category: string; amount: number; 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; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }, { id: string; date: string; description: string | null; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { items: { id: string; date: string; description: string | null; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; totalAmount: number; expenseCount: number; byCategory: { id: string; name: string; count: number; amount: number; formattedAmount: string; }[]; projectedAmount?: number | undefined; totalAmountWithProjected?: number | undefined; projectedExpenseCount?: number | undefined; totalExpenseCount?: number | undefined; projectedByCategory?: { id: string; name: string; count: number; amount: number; formattedAmount: string; }[] | undefined; projectedItems?: { id: string; date: string; description: string | null; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }, { items: { id: string; date: string; description: string | null; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; totalAmount: number; expenseCount: number; byCategory: { id: string; name: string; count: number; amount: number; formattedAmount: string; }[]; projectedAmount?: number | undefined; totalAmountWithProjected?: number | undefined; projectedExpenseCount?: number | undefined; totalExpenseCount?: number | undefined; projectedByCategory?: { id: string; name: string; count: number; amount: number; formattedAmount: string; }[] | undefined; projectedItems?: { id: string; date: string; description: string | null; category: string; amount: number; 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; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }, { id: string; date: string; description: string | null; category: string; amount: number; 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; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }, { id: string; date: string; description: string | null; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { items: { id: string; date: string; description: string | null; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; totalAmount: number; expenseCount: number; byCategory: { id: string; name: string; count: number; amount: number; formattedAmount: string; }[]; projectedAmount?: number | undefined; totalAmountWithProjected?: number | undefined; projectedExpenseCount?: number | undefined; totalExpenseCount?: number | undefined; projectedByCategory?: { id: string; name: string; count: number; amount: number; formattedAmount: string; }[] | undefined; projectedItems?: { id: string; date: string; description: string | null; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }, { items: { id: string; date: string; description: string | null; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; totalAmount: number; expenseCount: number; byCategory: { id: string; name: string; count: number; amount: number; formattedAmount: string; }[]; projectedAmount?: number | undefined; totalAmountWithProjected?: number | undefined; projectedExpenseCount?: number | undefined; totalExpenseCount?: number | undefined; projectedByCategory?: { id: string; name: string; count: number; amount: number; formattedAmount: string; }[] | undefined; projectedItems?: { id: string; date: string; description: string | null; category: string; amount: number; 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; }; period: { end: string; month: string; start: string; year: number; }; formatted: { monthlyFee: string; totalPaidThisMonth: string; totalSharedExpenses: string; contributionPerMember: string; projectedPaidThisMonth?: string | undefined; totalPlannedThisMonth?: string | undefined; projectedSharedExpenses?: string | undefined; totalSharedExpensesWithProjected?: string | 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; }; sharedExpenses: { items: { id: string; date: string; description: string | null; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; totalAmount: number; expenseCount: number; byCategory: { id: string; name: string; count: number; amount: number; formattedAmount: string; }[]; projectedAmount?: number | undefined; totalAmountWithProjected?: number | undefined; projectedExpenseCount?: number | undefined; totalExpenseCount?: number | undefined; projectedByCategory?: { id: string; name: string; count: number; amount: number; formattedAmount: string; }[] | undefined; projectedItems?: { id: string; date: string; description: string | null; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }; contributionImpact: { totalMembers: number; amountPerMember: number; monthlyFeeCovers: number; monthlyFeeCoversTotal: number; }; }, { medium: { id: string; name: string; }; terreiro: { id: string; name: string; }; period: { end: string; month: string; start: string; year: number; }; formatted: { monthlyFee: string; totalPaidThisMonth: string; totalSharedExpenses: string; contributionPerMember: string; projectedPaidThisMonth?: string | undefined; totalPlannedThisMonth?: string | undefined; projectedSharedExpenses?: string | undefined; totalSharedExpensesWithProjected?: string | 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; }; sharedExpenses: { items: { id: string; date: string; description: string | null; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; totalAmount: number; expenseCount: number; byCategory: { id: string; name: string; count: number; amount: number; formattedAmount: string; }[]; projectedAmount?: number | undefined; totalAmountWithProjected?: number | undefined; projectedExpenseCount?: number | undefined; totalExpenseCount?: number | undefined; projectedByCategory?: { id: string; name: string; count: number; amount: number; formattedAmount: string; }[] | undefined; projectedItems?: { id: string; date: string; description: string | null; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }; contributionImpact: { totalMembers: number; amountPerMember: number; monthlyFeeCovers: number; monthlyFeeCoversTotal: number; }; }>; 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; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }, { id: string; date: string; description: string | null; category: string; amount: number; 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; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }, { id: string; date: string; description: string | null; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { items: { id: string; date: string; description: string | null; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; totalAmount: number; expenseCount: number; byCategory: { id: string; name: string; count: number; amount: number; formattedAmount: string; }[]; projectedAmount?: number | undefined; totalAmountWithProjected?: number | undefined; projectedExpenseCount?: number | undefined; totalExpenseCount?: number | undefined; projectedByCategory?: { id: string; name: string; count: number; amount: number; formattedAmount: string; }[] | undefined; projectedItems?: { id: string; date: string; description: string | null; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }, { items: { id: string; date: string; description: string | null; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; totalAmount: number; expenseCount: number; byCategory: { id: string; name: string; count: number; amount: number; formattedAmount: string; }[]; projectedAmount?: number | undefined; totalAmountWithProjected?: number | undefined; projectedExpenseCount?: number | undefined; totalExpenseCount?: number | undefined; projectedByCategory?: { id: string; name: string; count: number; amount: number; formattedAmount: string; }[] | undefined; projectedItems?: { id: string; date: string; description: string | null; category: string; amount: number; 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; }; period: { end: string; month: string; start: string; year: number; }; formatted: { monthlyFee: string; totalPaidThisMonth: string; totalSharedExpenses: string; contributionPerMember: string; projectedPaidThisMonth?: string | undefined; totalPlannedThisMonth?: string | undefined; projectedSharedExpenses?: string | undefined; totalSharedExpensesWithProjected?: string | 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; }; sharedExpenses: { items: { id: string; date: string; description: string | null; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; totalAmount: number; expenseCount: number; byCategory: { id: string; name: string; count: number; amount: number; formattedAmount: string; }[]; projectedAmount?: number | undefined; totalAmountWithProjected?: number | undefined; projectedExpenseCount?: number | undefined; totalExpenseCount?: number | undefined; projectedByCategory?: { id: string; name: string; count: number; amount: number; formattedAmount: string; }[] | undefined; projectedItems?: { id: string; date: string; description: string | null; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }; contributionImpact: { totalMembers: number; amountPerMember: number; monthlyFeeCovers: number; monthlyFeeCoversTotal: number; }; }, { medium: { id: string; name: string; }; terreiro: { id: string; name: string; }; period: { end: string; month: string; start: string; year: number; }; formatted: { monthlyFee: string; totalPaidThisMonth: string; totalSharedExpenses: string; contributionPerMember: string; projectedPaidThisMonth?: string | undefined; totalPlannedThisMonth?: string | undefined; projectedSharedExpenses?: string | undefined; totalSharedExpensesWithProjected?: string | 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; }; sharedExpenses: { items: { id: string; date: string; description: string | null; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; totalAmount: number; expenseCount: number; byCategory: { id: string; name: string; count: number; amount: number; formattedAmount: string; }[]; projectedAmount?: number | undefined; totalAmountWithProjected?: number | undefined; projectedExpenseCount?: number | undefined; totalExpenseCount?: number | undefined; projectedByCategory?: { id: string; name: string; count: number; amount: number; formattedAmount: string; }[] | undefined; projectedItems?: { id: string; date: string; description: string | null; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }; contributionImpact: { totalMembers: number; amountPerMember: number; monthlyFeeCovers: number; monthlyFeeCoversTotal: number; }; }>>>; /** 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>>; }, "strip", z.ZodTypeAny, { data?: { medium: { id: string; name: string; }; terreiro: { id: string; name: string; }; period: { end: string; month: string; start: string; year: number; }; formatted: { monthlyFee: string; totalPaidThisMonth: string; totalSharedExpenses: string; contributionPerMember: string; projectedPaidThisMonth?: string | undefined; totalPlannedThisMonth?: string | undefined; projectedSharedExpenses?: string | undefined; totalSharedExpensesWithProjected?: string | 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; }; sharedExpenses: { items: { id: string; date: string; description: string | null; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; totalAmount: number; expenseCount: number; byCategory: { id: string; name: string; count: number; amount: number; formattedAmount: string; }[]; projectedAmount?: number | undefined; totalAmountWithProjected?: number | undefined; projectedExpenseCount?: number | undefined; totalExpenseCount?: number | undefined; projectedByCategory?: { id: string; name: string; count: number; amount: number; formattedAmount: string; }[] | undefined; projectedItems?: { id: string; date: string; description: string | null; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }; contributionImpact: { totalMembers: number; amountPerMember: number; monthlyFeeCovers: number; monthlyFeeCoversTotal: number; }; } | null | undefined; error?: string | null | undefined; note?: string | undefined; isSubmitting?: boolean | undefined; onBack?: (() => void) | undefined; terreiroId?: string | null | undefined; isLoading?: boolean | 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; onRefresh?: (() => void) | 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; }; period: { end: string; month: string; start: string; year: number; }; formatted: { monthlyFee: string; totalPaidThisMonth: string; totalSharedExpenses: string; contributionPerMember: string; projectedPaidThisMonth?: string | undefined; totalPlannedThisMonth?: string | undefined; projectedSharedExpenses?: string | undefined; totalSharedExpensesWithProjected?: string | 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; }; sharedExpenses: { items: { id: string; date: string; description: string | null; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; totalAmount: number; expenseCount: number; byCategory: { id: string; name: string; count: number; amount: number; formattedAmount: string; }[]; projectedAmount?: number | undefined; totalAmountWithProjected?: number | undefined; projectedExpenseCount?: number | undefined; totalExpenseCount?: number | undefined; projectedByCategory?: { id: string; name: string; count: number; amount: number; formattedAmount: string; }[] | undefined; projectedItems?: { id: string; date: string; description: string | null; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }; contributionImpact: { totalMembers: number; amountPerMember: number; monthlyFeeCovers: number; monthlyFeeCoversTotal: number; }; } | null | undefined; error?: string | null | undefined; note?: string | undefined; isSubmitting?: boolean | undefined; onBack?: (() => void) | undefined; terreiroId?: string | null | undefined; isLoading?: boolean | 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; onRefresh?: (() => void) | 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; }; period: { end: string; month: string; start: string; year: number; }; formatted: { monthlyFee: string; totalPaidThisMonth: string; totalSharedExpenses: string; contributionPerMember: string; projectedPaidThisMonth?: string | undefined; totalPlannedThisMonth?: string | undefined; projectedSharedExpenses?: string | undefined; totalSharedExpensesWithProjected?: string | 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; }; sharedExpenses: { items: { id: string; date: string; description: string | null; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[]; totalAmount: number; expenseCount: number; byCategory: { id: string; name: string; count: number; amount: number; formattedAmount: string; }[]; projectedAmount?: number | undefined; totalAmountWithProjected?: number | undefined; projectedExpenseCount?: number | undefined; totalExpenseCount?: number | undefined; projectedByCategory?: { id: string; name: string; count: number; amount: number; formattedAmount: string; }[] | undefined; projectedItems?: { id: string; date: string; description: string | null; category: string; amount: number; formattedAmount: string; shareReason: string | null; settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined; }[] | undefined; }; contributionImpact: { totalMembers: number; amountPerMember: number; monthlyFeeCovers: number; monthlyFeeCoversTotal: number; }; } | 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"; scopeId: string | null; totalEntries: number; 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"; scopeId: string | null; totalEntries: number; 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"; scopeId: string | null; totalEntries: number; 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"; scopeId: string | null; totalEntries: number; 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"; scopeId: string | null; totalEntries: number; 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"; scopeId: string | null; totalEntries: number; 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; subtitle?: string | undefined; supportingText?: string | undefined; backLabel?: string | undefined; closeLabel?: 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; subtitle?: string | undefined; supportingText?: string | undefined; backLabel?: string | undefined; closeLabel?: 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; onBadgeClick?: ((...args: unknown[]) => unknown) | undefined; onBack?: ((...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; onBadgeClick?: ((...args: unknown[]) => unknown) | undefined; onBack?: ((...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"; createdAt?: string | undefined; updatedAt?: 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"; createdAt?: string | undefined; updatedAt?: string | undefined; }>, "many">>; permissionCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; name: string; terreiroId: string; isDefault: boolean; description?: string | null | undefined; createdAt?: string | undefined; updatedAt?: 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"; createdAt?: string | undefined; updatedAt?: string | undefined; }[] | undefined; permissionCount?: number | undefined; }, { id: string; name: string; terreiroId: string; isDefault: boolean; description?: string | null | undefined; createdAt?: string | undefined; updatedAt?: 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"; createdAt?: string | undefined; updatedAt?: 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"; createdAt?: string | undefined; updatedAt?: 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"; createdAt?: string | undefined; updatedAt?: 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"; createdAt?: string | undefined; updatedAt?: 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"; createdAt?: string | undefined; updatedAt?: string | undefined; }>, "many">>; permissionCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; name: string; terreiroId: string; isDefault: boolean; description?: string | null | undefined; createdAt?: string | undefined; updatedAt?: 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"; createdAt?: string | undefined; updatedAt?: string | undefined; }[] | undefined; permissionCount?: number | undefined; }, { id: string; name: string; terreiroId: string; isDefault: boolean; description?: string | null | undefined; createdAt?: string | undefined; updatedAt?: 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"; createdAt?: string | undefined; updatedAt?: 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"; createdAt?: string | undefined; updatedAt?: string | undefined; }[]; onCancel: (...args: unknown[]) => void; disabled?: boolean | undefined; error?: string | null | undefined; isSubmitting?: boolean | undefined; initialRole?: { id: string; name: string; terreiroId: string; isDefault: boolean; description?: string | null | undefined; createdAt?: string | undefined; updatedAt?: 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"; createdAt?: string | undefined; updatedAt?: string | undefined; }[] | undefined; permissionCount?: number | undefined; } | undefined; isLoadingPermissions?: boolean | undefined; isReadOnly?: 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"; createdAt?: string | undefined; updatedAt?: string | undefined; }[]; onCancel: (...args: unknown[]) => void; disabled?: boolean | undefined; error?: string | null | undefined; isSubmitting?: boolean | undefined; initialRole?: { id: string; name: string; terreiroId: string; isDefault: boolean; description?: string | null | undefined; createdAt?: string | undefined; updatedAt?: 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"; createdAt?: string | undefined; updatedAt?: string | undefined; }[] | undefined; permissionCount?: number | undefined; } | undefined; isLoadingPermissions?: boolean | undefined; isReadOnly?: 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"; createdAt?: string | undefined; updatedAt?: 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"; createdAt?: string | undefined; updatedAt?: 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"; createdAt?: string | undefined; updatedAt?: string | undefined; }>, "many">>; permissionCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; name: string; terreiroId: string; isDefault: boolean; description?: string | null | undefined; createdAt?: string | undefined; updatedAt?: 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"; createdAt?: string | undefined; updatedAt?: string | undefined; }[] | undefined; permissionCount?: number | undefined; }, { id: string; name: string; terreiroId: string; isDefault: boolean; description?: string | null | undefined; createdAt?: string | undefined; updatedAt?: 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"; createdAt?: string | undefined; updatedAt?: 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; createdAt?: string | undefined; updatedAt?: 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"; createdAt?: string | undefined; updatedAt?: 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; isSubmitting?: boolean | undefined; onBack?: ((...args: unknown[]) => void) | undefined; isLoading?: boolean | undefined; }, { roles: { id: string; name: string; terreiroId: string; isDefault: boolean; description?: string | null | undefined; createdAt?: string | undefined; updatedAt?: 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"; createdAt?: string | undefined; updatedAt?: 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; isSubmitting?: boolean | undefined; onBack?: ((...args: unknown[]) => void) | 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; createdAt?: string | undefined; updatedAt?: 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"; createdAt?: string | undefined; updatedAt?: string | undefined; }[] | undefined; permissionCount?: number | undefined; }[]; customRoles: { id: string; name: string; terreiroId: string; isDefault: boolean; description?: string | null | undefined; createdAt?: string | undefined; updatedAt?: 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"; createdAt?: string | undefined; updatedAt?: string | undefined; }[] | undefined; permissionCount?: number | undefined; }[]; defaultRoles: { id: string; name: string; terreiroId: string; isDefault: boolean; description?: string | null | undefined; createdAt?: string | undefined; updatedAt?: 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"; createdAt?: string | undefined; updatedAt?: string | undefined; }[] | undefined; permissionCount?: number | undefined; }[]; filteredCustomRoles: { id: string; name: string; terreiroId: string; isDefault: boolean; description?: string | null | undefined; createdAt?: string | undefined; updatedAt?: 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"; createdAt?: string | undefined; updatedAt?: string | undefined; }[] | undefined; permissionCount?: number | undefined; }[]; searchQuery: string; deleteDialog: DeleteDialogState; selectedRole: { id: string; name: string; terreiroId: string; isDefault: boolean; description?: string | null | undefined; createdAt?: string | undefined; updatedAt?: 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"; createdAt?: string | undefined; updatedAt?: 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, { plan?: string | undefined; tier?: 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; }, { plan?: string | undefined; tier?: 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>; onBack: z.ZodOptional, z.ZodVoid>>; onViewPlanManagement: z.ZodOptional, z.ZodVoid>>; }, "strip", z.ZodTypeAny, { isPersonalProfile: boolean; currentPlanId: string; usageTracking: { plan?: string | undefined; tier?: 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; }; onBack?: (() => void) | undefined; onViewPlanManagement?: (() => void) | undefined; }, { currentPlanId: string; usageTracking: { plan?: string | undefined; tier?: 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; }; onBack?: (() => void) | undefined; isPersonalProfile?: boolean | undefined; onViewPlanManagement?: (() => void) | 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; }; }; 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; }, "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; statusLabel?: string | undefined; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; }, { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; statusLabel?: string | undefined; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | 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; }, "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; statusLabel?: string | undefined; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; }, { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; statusLabel?: string | undefined; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; }>, "many">; usageLabel: z.ZodString; }, "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; statusLabel?: string | undefined; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | 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; statusLabel?: string | undefined; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; }[]; usageLabel: string; }, { activePlan: { name: string; description: string; tier: string; currency: string; monthlyPriceCents: number; isFree: boolean; mediumLimit: number; topIncluded: string[]; topUnlocks: string[]; costPerMediumCents: number | null; mediumUsage: number; statusLabel?: string | undefined; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | 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; statusLabel?: string | undefined; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; }[]; usageLabel: string; }>; 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>; }, "strip", z.ZodTypeAny, { isPersonalProfile: boolean; 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; statusLabel?: string | undefined; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | 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; statusLabel?: string | undefined; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; }[]; usageLabel: string; }; onChangePlan: (args_0: { tier: string; interval: "month" | "year"; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; }) => void; onBack?: (() => void) | undefined; billingInterval?: "month" | "year" | null | undefined; onManageBilling?: (() => void) | 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; statusLabel?: string | undefined; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | 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; statusLabel?: string | undefined; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; }[]; usageLabel: string; }; onChangePlan: (args_0: { tier: string; interval: "month" | "year"; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; }) => void; onBack?: (() => void) | undefined; isPersonalProfile?: boolean | undefined; billingInterval?: "month" | "year" | null | undefined; onManageBilling?: (() => void) | 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; statusLabel?: string | undefined; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | 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; statusLabel?: string | undefined; yearlyPriceCents?: number | undefined; monthlyPriceId?: string | undefined; yearlyPriceId?: string | undefined; isBestValue?: boolean | undefined; renewalDate?: string | undefined; isUnknown?: boolean | undefined; reasonCode?: string | undefined; activePriceId?: string | null | undefined; }[]; 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; whatsapp: boolean; sms: boolean; inApp: 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; whatsapp: boolean; sms: boolean; inApp: 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; whatsapp: boolean; sms: boolean; inApp: boolean; }; onNotificationChange: (args_0: "push" | "email" | "whatsapp" | "sms" | "inApp", args_1: boolean) => void; onBack?: (() => void) | undefined; pushPermission?: "default" | "unsupported" | "granted" | "denied" | undefined; typePreferences?: { push: boolean; type: string; }[] | 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" | "whatsapp" | "sms" | "inApp", args_1: boolean) => void; onBack?: (() => void) | undefined; canUseWhatsAppNotifications?: boolean | undefined; pushPermission?: "default" | "unsupported" | "granted" | "denied" | undefined; typePreferences?: { push: boolean; type: string; }[] | 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" | "unsupported" | "granted" | "denied"; 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, { dueDay: number; amount: number; paymentMethod?: string | null | undefined; }, { dueDay: number; amount: 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, { dueDay: number; amount: number; paymentMethod?: string | null | undefined; }, { dueDay: number; amount: number; paymentMethod?: string | null | undefined; }>>>; inviteExpiresAt: z.ZodOptional; inviteUsageMode: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; name: string; imageUrl?: string | null | undefined; monthlyFee?: { dueDay: number; amount: 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?: { dueDay: number; amount: 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, { dueDay: number; amount: number; paymentMethod?: string | null | undefined; }, { dueDay: number; amount: number; paymentMethod?: string | null | undefined; }>>>; inviteExpiresAt: z.ZodOptional; inviteUsageMode: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; name: string; imageUrl?: string | null | undefined; monthlyFee?: { dueDay: number; amount: 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?: { dueDay: number; amount: 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>>; }, "strip", z.ZodTypeAny, { error?: string | null | undefined; terreiro?: { id: string; name: string; imageUrl?: string | null | undefined; monthlyFee?: { dueDay: number; amount: 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; onBack?: (() => void) | 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; }, { error?: string | null | undefined; terreiro?: { id: string; name: string; imageUrl?: string | null | undefined; monthlyFee?: { dueDay: number; amount: 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; onBack?: (() => void) | 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; }>; 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?: { dueDay: number; amount: 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; handleCloseSignUpModal: () => void; }; }; 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; }; 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$1) => number; /** Drawer/sheet corners derived from theme.shape.borderRadius */ declare const drawerSheetRadius: (anchor: "top" | "bottom" | "left" | "right", theme: Theme$1) => string | number; /** * 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" | "basic" | "advanced" | "unlimit" | "enterprise"; isAdmin: boolean; trialEndsAt?: string | null | undefined; currentPeriodEnd?: string | null | undefined; }; isActive: boolean; isTrialing: boolean; trialDaysRemaining: number | null; currentPlan: "standard" | "complete" | "free" | "essential" | "management" | "basic" | "advanced" | "unlimit" | "enterprise"; currentStatus: "none" | "paused" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete" | "incomplete_expired"; isAdmin: boolean; planDisplayName: string; nextPlan: "standard" | "complete" | "free" | "essential" | "management" | "basic" | "advanced" | "unlimit" | "enterprise" | null; }; readonly fns: { hasAccess: (requiredLevel: FeatureAccessLevel) => 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; declare function isPasskeySupported(): Promise; declare function startPasskeyRegistration(options: PublicKeyCredentialCreationOptionsJSON): Promise; declare function startPasskeyAuthentication(options: PublicKeyCredentialRequestOptionsJSON): Promise; declare function mapPasskeyError(error: unknown): string; export { ACTIVITY_STEP_ORDER, 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, AddMediumByQRCodePage, AddressInfoSchema, AddressPage, AffiliateProgramPage, _default$c as AttendanceCheckinCta, AttendanceCheckinDialog, AttendanceCheckinEntryPage, AttendanceInsightsPage, AvatarWithBadge, BADGE_SIZE_CONFIG, BADGE_TIER_COLORS, BADGE_TIER_CONFIG, BADGE_TIER_LABELS, BADGE_TYPE_LABELS, BANK_OPTIONS, BRAZILIAN_STATES, BadgeProgressSchema, BadgeTierSchema$2 as BadgeTierSchema, BadgesPage, BadgeInfoSchema as BadgesPageBadgeInfoSchema, BadgeTierSchema as BadgesPageBadgeTierSchema, BadgeTypeSchema as BadgesPageBadgeTypeSchema, BadgesPagePropsSchema, BathCategorySchema$1 as BathCategorySchema, BrazilianStateUFSchema, CARD_CONTENT_STYLES, CATEGORY_CONFIG, CellphoneInput, CellphoneInputPropsSchema, ContactArraySchema, ContactPage, ContactPagePropsSchema, ContactSchema, ContactSectionCardPropsSchema, ContributionImpactCard, CopyTargetSchema, CreateIngressoPage, CredentialsApiErrorSchema, CredentialsDataSchema, CredentialsFormStateSchema, CredentialsPage, CredentialsPagePropsSchema, CredentialsValidationErrorsSchema, DAILY_MESSAGE_POOL, DOCUMENT_TYPE_OPTIONS, DailyRitualCard, DescriptionBox, DetailedPermissionSchema, EVENT_STEP_ORDER, EditEventPage, 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, ExpiredLinkPage, FORM_CONFIG, FinanceMetricCard, FinancialAccountPage, _default$7 as FinancialAccountsList, FinancialOverviewCard, FinancialRegisterPage, FinancialTransparencyPage, ForbiddenPage, ForgotPasswordPage, FormChatAssistant, FormChatListSelect, FormChatPickerDrawer, FormChatSelectionBar, GLOW_EFFECT, GamificationBadgeSchema, GamificationBadgeTierEnum, GamificationBadgeTypeEnum, GamificationCard, GamificationCardPropsSchema, GamificationHelpPage, GamificationHelpPagePropsSchema, GamificationHelpTopicSchema, GamificationSummarySchema, GoogleAuthButton, HOME_BELL_NOTIFICATION_LIMIT, HomePage, HomePageUser, Image, ImageButton, _default$6 as IncomeListPage, IncomingFinancialPage, InfiniteScroll, InfiniteScrollPropsSchema, InstallPrompt, InsumosAvatarGroup, _default$4 as InventoryItemDetailPage, InventoryItemOnboardingPage, InventoryListItemPage, InventoryListPage, InventoryUnit, _default$h as InviteCard, InviteLandingPage, InviteLandingPagePropsSchema, InviteLandingViewStateSchema, InviteTerreiroInfoSchema, JoinTerreiroPage, LAYOUT, LabeledBrazilianStateSelect, LabeledBrazilianStateSelectPropsSchema, LabeledDatePickerPropsSchema, LabeledFieldHeaderPropsSchema, LabeledMinuteInput, LabeledMonthPickerPropsSchema, LabeledTextField, LabeledTimePicker, LeaderboardPage, LeaderboardPagePropsSchema, LoadMoreResultSchema, Loading, LunarEclipseSchema, MediumBadgeSchema, MediumFinancialTransparencyPage, MediumHubPage, MediumListPage, MediumPage, MediumPointsSchema, MediumProfilePage, _default$3 as MediumProfileViewPage, MediumStatus$2 as MediumStatus, _default$d as MemberListItem, MonthlyFeeInfoSchema, MonthlyFeePage, MonthlyFeePaymentsManagementPage, MoonApiResponseSchema, MoonCard, MoonCardContent, MoonCardPropsSchema, MoonCardSkeleton, MoonDataSchema, MoonDetailedSchema, MoonEventsSchema, MoonPositionSchema, MoonZodiacSchema, MyPermissionsDetailedSchema, MyPermissionsPage, MyPermissionsPagePropsSchema, NotFoundPage, NotificationSettingsPage, NotificationSettingsPagePropsSchema, NotificationsPage, ONBOARDING_TERREIRO_STEPS, ORIGIN_LABELS, OnboardingFormChatPanel, OnboardingFormChatSummaryCard, OnboardingIntroModal, OnboardingMediumPage, OnboardingPage, _default$2 as OnboardingTerreiroPage, OnboardingTerreiroPagePropsSchema, _default$5 as OutcomeListPage, OutgoingFinancialPage, PAYMENT_METHOD_OPTIONS, PIX_KEY_TYPE_OPTIONS, PWAUpdatePromptUI, PageHeader, PaginationInfoSchema, _default$e as ParticipationResponseButtons, _default$f as ParticipationStatusBadge, ParticipationStatusLabels, PasskeyCredentialSchema, PasskeyEnrollmentPrompt, PasskeyLoginDialog, PasswordInfoSchemaWithConfirmation, PasswordVisibilitySchema, PaymentStatusBanner, PendingApprovalBlockedPage, PermissionSelector, PermissionStatsSchema, PersonalInfoSchema, PhaseEventSchema, PlanChangePayloadSchema, PlanManagementPage, PlanManagementPagePropsSchema, PointsSummarySchema, PositionInfoSchema, ProfileCompletenessCard, ProfileDetailsPage, PublicEventTicketPage, PublicTerreiroAgendaPage, QUICK_ONBOARDING_TERREIRO_STEPS, QUICK_TERREIRO_ONBOARDING_FIELDS_BY_STEP, QrAnalyticsEventNameSchema, QrLandingPage, QrLandingPagePropsSchema, _default$b as QrScannerSurface, QrTrackingEventSchema, QrTrackingPayloadSchema, QrVariantSchema, QuickActionSchema, QuickActions, QuickActionsPropsSchema, QuickMediumOnboardingFormStateSchema, QuickPersonalInfoSchema, QuickPersonalInfoStep, QuickTerreiroOnboardingFormStateSchema, QuickTerreiroPersonalInfoSchema, QuickTerreiroStepValidationSchemas, QuotaBehaviorSchema, QuotaGuard, QuotaGuardPropsSchema, QuotaStatusSchema, QuotaSummaryCard, QuotaSummaryCardPropsSchema, RADIUS, RANKING_PERIOD_LABELS, RANKING_SCOPE_LABELS, RankingEntrySchema, RankingPeriodEnum, RankingResultSchema, RankingScopeEnum, _default$g as ReasonDialog, ReasonDialogPropsSchema, ReligionSchema, ResetPasswordPage, BasicInfoStepSchema as RitualBathBasicInfoStepSchema, _default as RitualBathDetailPage, RitualBathDetailPagePropsSchema, RitualBathDetailSchema, RitualBathFilterSchema, 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, STATUS_COLORS, STATUS_LABELS, STEP_ORDER, STEP_TYPE_ICONS, STEP_TYPE_LABELS, _default$a as ScheduleDateTimeFields, SelectField, ShareDrawerPropsSchema, SharePlatformSchema, SharedExpensesCard, SigninPage, SignupPage, SingleContactSchema, SpiritualFormChatSummaryCard, SpiritualProfilePage, StreakInfoSchema, SubscriptionGuard, SubscriptionProvider, SubscriptionRequiredForMediumPage, SuggestionsCarousel, SupplyPlanBlockerSchema, SupplyPlanCostsSchema, SupplyPlanItemSchema, SupplyPlanMissionSchema, SupplyPlanPage, SupplyPlanPagePropsSchema, SupplyPlanReadinessSchema, SupplyPlanSchema, SupplyPlanSourceActivitySchema, SupplyPlanSourceEventSchema, SupplyPlanSummarySchema, SystemSettingsPage, SubscriptionStatus as SystemSettingsSubscriptionStatus, TERREIRO_COMPLETION_MESSAGES, TERREIRO_ONBOARDING_FIELDS_BY_STEP, 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, UnitCostMetaSchema, UpcomingPhasesSchema, UpgradePrompt, UsageBar, UsageBarPropsSchema, UsageProvider, UsageQuotaPage, UsageQuotaPagePropsSchema, UseInfiniteScrollReturnSchema, ValidationErrorsSchema, VerificationBadge, WhatsNewModal, brand, buildAcademyCertificatePreviewNode, buildItemReasonText, buildMergedInsumos, buildMergedMediums, defaultDisplayProps, defaultInputProps, drawerSheetRadius, filterSupplyPlanMissions, formatScheduleDate, formatSecondsAsMinutesLabel, formatCurrency as formatTerreiroCurrency, formatPhone as formatTerreiroPhone, generateAcademyCertificatePdf, getCardBaseStyles, getDateString, installPromptPropsSchema, isPasskeySupported, isValidCNPJ, isValidCPF, isValidEmail, isValidPassword, mapPasskeyError, mapRawMemberToActivityChatOption, mediumStatusLabelsPtBr, mockCalendarActivities, mockCalendarEvents, mockCalendarRitualBaths, mockHomePageProps, mockLoadingHomePageProps, mockMediumHomePageProps, mockMoonData, mockPendingMediumHomePageProps, mockQuickActions, mockRituals, mockSupplyPlanEmpty, mockSupplyPlanSufficientWithDemand, mockSupplyPlanWithCosts, mockSupplyPlanWithoutCosts, mockTerreiros, mockUpcomingEvents, mockUser, onboardingIntroModalPropsSchema, onboardingIntroModeSchema, onboardingIntroProfileContextSchema, parseScheduleDate, radiusPx, secondsToRoundedMinutes, startPasskeyAuthentication, startPasskeyRegistration, useAcademyModulePage, useAcademyPage, useAccessBlockedPage, useActivityOnboarding, useAddressSectionCard, useAffiliateProgramPage, useAttendanceCheckinEntryPage, useAttendanceInsightsPage, useAvatarWithBadge, useBadgesPage, useCellphoneInput, useContactPage, useCredentialsPage, useEventAISuggestionsPage, useFinancialRegister, useFinancialTransparencyPage, useFormChatAssistant, useGamificationCard, useGamificationHelpPage, useHomePage, useInfiniteScroll, useInstallPrompt, useInventoryListItemPage, useInventoryListPage, useInviteLandingPage, useJoinTerreiroPage, useLabeledBrazilianStateSelect, useLeaderboardPage, useMediumFinancialTransparencyPage, useMediumHubPage, useMemberListItem, useMonthlyFeePaymentsManagementPage, useMoonCard, useMyPermissionsPage, useNotFoundPage, useNotificationSettingsPage, useOnboardingIntroModal, useOnboardingMedium, useOnboardingPage, useOnboardingTerreiro, useOptionalUsageContext, usePWAUpdatePromptUI, usePermissionSelector, usePlanManagementPage, useProfileCompletenessCard, 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, Activity as ActivityListItem, Medium as ActivityListMedium, ActivityListPageProps, ActivityFormValues as ActivityOnboardingFormValues, ActivityOnboardingPageProps, ActivityStatus$1 as ActivityStatus, ActivityStructuredSelectionPayload, 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, BathCategory$1 as BathCategory, BillingInterval, BootstrapTooltipProps, BrazilianStateUF, Category, CategoryBreakdownItem, CategoryDisplayInfo, CategoryExpense, CellphoneInputProps, CompletionStatus, Contact, ContactArray, ContactPageProps, ValidationErrors$1 as ContactPageValidationErrors, ContactSectionCardProps, ContributionImpact, ContributionImpactCardProps, CopyTarget, CredentialsApiError, CredentialsData, CredentialsFormState, CredentialsPageProps, CredentialsValidationErrors, DailyRitualCardProps, DeleteConfirmProps, DeleteDialogState, DetailedPermission, DocumentType, EventAISuggestionsPageProps, EventChatActivityOption, EventChatActivitySelection, EventChatLocationState, EventChatMembersConfirmPayload, EventChatSummary, EventFormValues, EventMergedInsumoOption, EventMergedMediumOption, EventOnboardingPageProps, EventProfileBlockedPageProps, EventPublicationChatSummary, EventStructuredSelectionPayload, FeatureAccessLevel, FeatureDefinition, FilterSupplyPlanMissionsOptions, FilteredSupplyPlanMissions, FinancialAccountData, FinancialAccountFormData, FinancialAccountProps, FinancialAccountsListProps, FinancialOverview, FinancialOverviewCardProps, FinancialOverviewData, FinancialRegisterPageProps, FinancialTransactionFormValues, FinancialTransparencyLatestRequest, FinancialTransparencyPageProps, FinancialTransparencyPaymentStatus, ForbiddenPageProps, FormChatApiError, FormChatAssistantControl, FormChatAssistantProps, FormChatDisplayMode, FormChatEditInteraction, FormChatEditableFieldAvatar, FormChatEditableFieldOption, FormChatFieldInput, FormChatFieldInputType, FormChatListOption, FormChatMessage, FormChatSelectionPayload, FormChatSendOptions, FormChatStep, FormMode, FormattedValues, GamificationBadge, GamificationBadgeTier, GamificationBadgeType, GamificationCardProps, GamificationHelpPageProps, GamificationHelpTopic, GamificationSummary, GoogleAuthButtonProps, GroupedPermissions, GuardBehavior, HomePageProps, HomePageQuickAction, HomePageRecentActivity, HomePageStat, HomePageUpcomingEvent, HomePageUserProfile, ImageButtonProps, InfiniteScrollProps, InstallPromptData, InstallPromptFns, InstallPromptProps, InsumoAvatarItem, InsumosAvatarGroupProps, InventoryChatSummary, InventoryCostHint, InventoryItem$1 as InventoryItem, InventoryItemDetailProps, InventoryItemForm, InventoryItemFormValues, InventoryItem as InventoryItemType, InventoryListItemPageProps, InventoryListPageProps, InviteCardProps, InviteLandingPageProps, InviteLandingViewState, InviteTerreiroInfo, JoinTerreiroPageProps, JoinTerreiroViewState, LabeledBrazilianStateSelectProps, LabeledDatePickerProps, LabeledFieldHeaderProps, LabeledMinuteInputProps, LabeledMonthPickerProps, LabeledTimePickerProps, LeaderboardPageProps, LoadMoreResult, MediumBadge, MediumFinancialTransparencyData, MediumFinancialTransparencyPageProps, MediumHubPageProps, MediumHubSectionId, MediumOnboardingFormState, MediumPoints, MemberListItemMember, MemberListItemProps, MemberPaymentsData, MonthlyFeeInfo, MonthlyFeePageProps, MonthlyFeePaymentRequestItem, MonthlyFeePaymentStatus, MonthlyFeePaymentsManagementPageProps, MonthlyFeeSavePayload, MoonApiResponse, MoonCardProps, MoonData, MoonDetailed, MoonEvents, MoonPosition, MoonZodiac, MyPermissionsDetailed, MyPermissionsPageProps, NotFoundPageCustomAction, NotFoundPageProps, NotFoundPageSuggestedRoute, Notification, NotificationFilter, NotificationSettings, NotificationSettingsPageProps, NotificationStats, NotificationTypePreference, NotificationsPageProps, OnboardingChatSummary, OnboardingIntroModalProps, OnboardingIntroMode, OnboardingIntroProfileContext, OnboardingIntroStep, OnboardingMediumPageProps, OnboardingMode, OnboardingPageProps, OnboardingStep, OnboardingTerreiroPageProps, PWAUpdatePromptUIProps, PaginationInfo, ParticipationResponseButtonsProps, ParticipationStatus, ParticipationStatusBadgeProps, PasskeyCredential, PasskeyEnrollmentPromptProps, PasskeyLoginDialogProps, PasskeyLoginDialogTexts, PasswordVisibility, PaymentMethod, PaymentRecord, PaymentStatus, PaymentStatusBannerProps, PendingApprovalBlockedPageProps, Period, Permission, PermissionCategory, PermissionSelectorProps, PermissionStats, PixKeyType, PlanChangePayload, PlanManagementPageProps, PointsSummary, PositionInfo, ProfileCompletenessCardProps, ProfileCompletenessData, ProfileSelectorEntryPoint, ProfileSelectorOpenPayload, ProfileSelectorSelectPayload, PushPermissionState, QrAnalyticsEventName, QrAnalyticsEventPayload, QrAppPreviewViewPayload, QrFeatureViewPayload, QrLandingPageProps, QrOnAnalyticsTrack, QrPageExitPayload, QrPageViewPayload, QrScannerSurfaceProps, QrScannerSurfaceVariant, QrScrollDepthPayload, QrTrackingEvent, QrTrackingPayload, QrVariant, QrVariantViewPayload, QrWhatsappClickPayload, QuickAction$1 as QuickAction, QuickActionsProps, QuickMediumOnboardingFormState, QuickPersonalInfo, QuickTerreiroOnboardingFormState, QuickTerreiroPersonalInfo, QuotaBehavior, QuotaGuardProps, QuotaStatus, QuotaSummaryCardProps, RankOption, RankingEntry, RankingPeriod, RankingResult, RankingScope, RawActivityAvailableMember, ReasonDialogProps, ReceiptInlineFeedback, Religion, ReligionOption, Ritual, 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, SelectMediumsPageProps, ShareDrawerProps, SharePlatform$1 as SharePlatform, SharedExpenseItem, SharedExpenses, SharedExpensesCardProps, SignupAnalyticsEventName, SignupAnalyticsEventPayload, SignupOnAnalyticsTrack, SingleContact, SpiritualAnalyticsSummary, SpiritualChatSummary, SpiritualDevelopmentStage, SpiritualLine, SpiritualProfileItem, SpiritualProfilePageProps, SpiritualVisibility, StreakInfo, StripeProduct, SubscriptionGuardProps, SubscriptionPlan, SubscriptionRequiredForMediumPageProps, SubscriptionStatus$1 as SubscriptionStatus, 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, UsageBarProps, UsageQuotaPageProps, UseInfiniteScrollReturn, UserSubscription, ValidationErrors, VerificationBadgeProps, WeeklyTask, WeeklyTaskFeature, WhatsNewAnnouncement, WhatsNewModalProps, WhatsNewSlide };