import type { AffiliateProgramPageProps, AffiliateReferral } from "./AffiliateProgramPage.types"; 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"; }; }; export default useAffiliateProgramPage;