import * as react_jsx_runtime from 'react/jsx-runtime'; import { Rule } from 'antd/lib/form/index'; import { ReactElement, ReactNode } from 'react'; import { IconName } from '@fortawesome/free-solid-svg-icons'; import { FormInstance } from 'antd'; declare const getAccount: ({ id, apiHost, token, componentsVersion, }: { id: string; apiHost: string; token?: string | undefined; componentsVersion?: string | undefined; }) => Promise; type AccountType = { id: string; name: string; created_at: string; updated_at: string; }; type Currency = { id: string; enabled: boolean; priority: number; name: string; isoCode: string; isoNumeric: string; symbol: string; symbolFirst: boolean; }; declare enum BillingPeriod { ONCE = "ONCE", MONTHLY = "MONTHLY", QUARTERLY = "QUARTERLY", SEMI_ANNUALLY = "SEMI_ANNUAL", ANNUALLY = "ANNUAL" } declare enum ChargeType { USAGE = "USAGE", ONE_TIME = "ONE_TIME", RECURRING = "RECURRING" } declare enum SubscriptionState { ACTIVE = "ACTIVE", TRIAL = "TRIAL", PENDING = "PENDING", EXPIRED = "EXPIRED", CANCELED = "CANCELED" } declare enum TransactionState { not_due = "not_due", due = "due", unpaid = "unpaid", paid = "paid", voided = "voided", ready = "ready", failed = "failed", preparing = "preparing", unapplied = "unapplied", partially_applied = "partially_applied", applied = "applied" } declare enum QuoteChangeKind { ADJUSTMENT = "ADJUSTMENT", COUPON = "COUPON", CREDIT = "CREDIT", DISCOUNT = "DISCOUNT", FREE_PERIOD_DISCOUNT = "FREE_PERIOD_DISCOUNT", PRICE_UPDATE = "PRICE_UPDATE", QUANTITY_UPDATE = "QUANTITY_UPDATE", REINSTATE = "REINSTATE", RENEW = "RENEW", SUBSCRIBE = "SUBSCRIBE", UNSUBSCRIBE = "UNSUBSCRIBE", UPDATE = "UPDATE" } declare enum PriceAdjustmentAction { NO_CHANGE = "NO_CHANGE", PERCENTAGE = "PERCENTAGE", CATALOG = "CATALOG" } declare enum PriceAdjustmentTiming { AT_RENEWAL = "AT_RENEWAL", JANUARY = "JANUARY", FEBRUARY = "FEBRUARY", MARCH = "MARCH", APRIL = "APRIL", MAY = "MAY", JUNE = "JUNE", JULY = "JULY", AUGUST = "AUGUST", SEPTEMBER = "SEPTEMBER", OCTOBER = "OCTOBER", NOVEMBER = "NOVEMBER", DECEMBER = "DECEMBER" } declare enum CreditNoteState { PREPARING = "PREPARING", DRAFT = "DRAFT", READY = "READY", PARTIALLY_APPLIED = "PARTIALLY_APPLIED", APPLIED = "APPLIED" } type Role = { id: string; name: string; scopes?: string[]; }; type UserProfile = { title?: string; phone?: string; timezone?: string; tabnameIsSubdomain?: boolean; }; interface User { id: string; uuid?: string; managerUserId?: string; fullName: string; firstName: string; lastName?: string; email?: string; title?: string; createdAt: string; updatedAt: string; lastLogin?: string; managerUser?: User; subordinates?: User[]; roleId?: string; groupId?: string; imageUrl: string; enabled?: boolean; allowLoginViaEmailLink?: boolean; role?: Role; profile?: UserProfile; } type Campaign = { id: string; name?: string; code?: string; ownerUserId?: string; startDate?: string; endDate?: string; owner?: User; leadCount: number; contactCount: number; }; type Contact = { id: string; code?: string; accountId?: string; firstName: string; lastName?: string; fullName: string; salutation?: string; title?: string; phone?: string; mobile?: string; email?: string; mailingStreet?: string; mailingCity?: string; mailingZip?: string; mailingState?: string; mailingCountry?: string; portalAccess?: boolean; createdAt: string; updatedAt?: string; description?: string; account?: Account; campaigns: Campaign[]; }; type PlanFeature = { code: string; description?: string; feature: Feature$1; id: string; name: string; featureId: string; value?: string; planId?: string; }; type FeatureKind = "BOOLEAN" | "VALUE" | "MARKETING" | "GROUP" | "QUANTITY"; type Feature$1 = { id: string; productId?: string; name: string; kind?: FeatureKind; position: number; chargeType?: ChargeType; createdAt: string; updatedAt: string; code?: string; description?: string; isUnit?: boolean; isProvisioned?: boolean; isVisible?: boolean; plans?: Plan[]; unitName?: string; }; type TenantProvisioningState = "PENDING" | "STARTED" | "FAILED" | "COMPLETED"; type TenantProvisioningChange = { id: string; state: TenantProvisioningState; change?: any; createdAt?: string; updatedAt?: string; tenant?: Tenant; features?: string; }; type Tenant = { id: Number; platformId: Number; name: string; code?: string; subdomain?: string; accountId: Number; account: Account; platform: Platform; provisioningRequired?: Boolean; provisioningState?: string; provisioningChanges?: TenantProvisioningChange[]; latestProvisioningChangeId?: Number; latestProvisioningChange?: TenantProvisioningChange; }; type Platform = { id: string; name: string; code?: string; provisioningEnabled: boolean; webhookUrl?: string; webhookAuthToken?: string; webhookSigningKey?: string; tenants?: Tenant[]; }; type ProductCategory = { id: Number; name: string | null; createdAt: string; updatedAt: string; plans: Plan[]; }; type Product = { code?: string; description?: string; everythingInPlus?: boolean; features?: Feature$1[]; id: string; internalNotes?: string; name: string; planDefaults?: Plan; plans?: Plan[]; platform?: Platform; platformId?: Number; productCategory?: ProductCategory; productCategoryId?: Number; showProductNameOnLineItem?: Boolean; plansToDisplay?: number; }; declare enum PricingStyle { FREE = "FREE", PRICED = "PRICED", CONTACT_US = "CONTACT_US" } type Plan = { addon?: boolean; availableFrom?: string; availableTo?: string; basePrice?: number; code?: string; contactUsLabel?: string; contactUsUrl?: string; createdAt: string; description?: string; features?: Feature$1[]; id: string; internalNotes?: string; isAvailableNow?: boolean; isVisible?: boolean; name: string; planFeatures?: PlanFeature[]; position: number; priceLists: PriceList[]; pricingDescription?: string; pricingStyle: PricingStyle; product: Product; productId: string; selfServiceBuy?: boolean; selfServiceCancel?: boolean; selfServiceRenew?: boolean; trialEndDate?: string; updatedAt: string; }; type PriceListChargeTier = { starts: number; ends: number; price: number; }; declare enum UsageCalculationType { SUM = "SUM", MAX = "MAX", LAST = "LAST" } declare enum PricingModel { FLAT = "FLAT", TIERED = "TIERED", VOLUME = "VOLUME", BANDS = "BANDS" } type PriceListCharge = { id: string; priceListId: string; name: string; selfServiceQuantity?: boolean; specificInvoiceLineText?: string; chargeType?: ChargeType; pricingModel?: PricingModel; billingPeriod?: BillingPeriod; quantityMin?: number; quantityMax?: number; price?: Number; priceDecimals?: number; priceDescription?: string; basePrice: number; featureId?: string; accountingCode?: string; taxCode?: string; createdAt: string; updatedAt: string; recognitionPeriod?: number; priceListChargeTiers?: PriceListChargeTier[]; priceList?: PriceList; plan?: Plan; feature?: Feature$1; usageCalculationType?: UsageCalculationType; description?: string; featureAddon?: boolean; }; type PeriodMonths = 0 | 1 | 3 | 6 | 12; type TrialExpirationAction = "CANCEL" | "ACTIVATE"; type PriceList = { basePrice: number; charges: PriceListCharge[]; code?: string; createdAt: string; currency?: Currency; currencyId: string; id: string; isVisible?: boolean; monthlyBasePrice: number; name: string; periodMonths: PeriodMonths; plan: Plan; planId: string; priceAdjustmentAction?: PriceAdjustmentAction; priceAdjustmentActionOptions?: string[]; priceAdjustmentPercentage?: number; priceAdjustmentTiming?: PriceAdjustmentTiming; priceAdjustmentTimingOptions?: string[]; priceDescription?: string; product: Product; productId?: string; renewalTermMonths?: number; showPriceAsMonthly?: boolean; sku?: string; trialAllowed: boolean; trialExpirationAction?: TrialExpirationAction; trialLengthDays?: number; updatedAt: string; }; type PriceTier = { starts: number; price: number; }; type SubscriptionCharge$1 = { account: Account; amount: number; billingPeriod: BillingPeriod; chargeType: ChargeType; createdAt: string; currency: Currency; discount?: number; discountedPrice: string; endDate: string; expired: boolean; feature?: Feature$1; id: string; invoiceLineText: string; isAmendment: boolean; isRamp?: boolean; kind: QuoteChangeKind; name: string; periodPrice: number; price: string; priceDecimals: number; priceList: PriceList; priceListCharge?: PriceListCharge; priceListChargeId: string; priceListId: string; priceTiers: PriceTier[]; pricingModel: PricingModel; prorationRate?: number; quantity: number; quantityMax?: number; quantityMin?: number; selfServiceQuantity?: boolean; startDate: string; tieredAveragePrice?: number; trial: boolean; updatedAt: string; }; type DiscountKind = "PERCENTAGE" | "AMOUNT"; type Coupon = { id?: string; name?: string; couponCode?: string; description?: string; active?: boolean; discountKind?: DiscountKind; discountAmount?: number; discountPercentage?: number; currencyId?: string; redemptionsMax?: number; redemptionsCount?: number; redemptionEndDate?: string; planId?: string; createdAt?: string; updatedAt?: string; }; type QuoteCharge = { subtotal?: number; amountsByPeriod?: AmountByPeriod[]; amount: number; billingPeriod?: BillingPeriod; billingPeriodAmounts?: { id: string; amount: number; prorationRate: number; }[]; chargeType?: ChargeType; coupon?: Coupon; createdAt: string; currencyId: string; currentQuantity?: number; discount?: number; endDate: string; feature: Feature$1; id: string; invoiceLineText: string; name?: string; price: number; priceDecimals?: number; priceList?: PriceList; priceListCharge: PriceListCharge; priceTiers?: PriceTier[]; pricingModel: PricingModel | null; prorationRate?: number; quantity: number; quantityMax?: number; quantityMin?: number; quoteChange: QuoteChange; startDate: string; subscriptionCharge?: SubscriptionCharge$1; tieredAveragePrice?: number; updatedAt: string; kind?: string; }; type Subscription = { account: Account; accountId: string; cancellationDate?: string; charges: SubscriptionCharge$1[]; createdAt: string; currencyId: string; endDate: string; evergreen: Boolean; id: string; name: string; period: string; plan: Plan; priceList: PriceList; product: Product; provisioningRequired: Boolean; startDate: string; state: SubscriptionState; tenant: Tenant; trialEndDate: string; daysLeftInTrial?: number; trialExpirationAction: TrialExpirationAction; trialPeriod: string; trialStartDate: string; updatedAt: string; }; type QuoteChange = { charges: QuoteCharge[]; currencyId: string; endDate?: string; id: string; kind: QuoteChangeKind; name: string; priceList: PriceList; priceListId?: string; quote: Quote; quoteId: string; startDate?: string; subscription?: Subscription; subscriptionId?: string; }; interface Approver { id: string; name?: string; userId: string; user?: User; approvalRules?: ApprovalRule[]; } interface ApprovalRule { id?: string; name?: string; active?: boolean; fromDate?: string; toDate?: string; approverId?: string; approver?: Approver; totalQuoteAmount?: number; totalQuoteAmountEnabled: boolean; overallQuoteDiscount?: number; overallQuoteDiscountEnabled: boolean; } type ApprovalDecision = { id?: string; approvalRequestId: string; approvalRequest: ApprovalRequest; approverId: string; approver: Approver; notes?: string; state: ApprovalRequestState; }; type ApprovalRequestState = "PENDING" | "APPROVED" | "REJECTED"; type ApprovalRequest = { approvers: Approver[]; approvalDecisions: ApprovalDecision[]; id?: string; quoteId: string; quote: Quote; state: ApprovalRequestState; totalApprovers: number; totalApprovals: number; totalRejections: number; triggeredApprovalRules: ApprovalRule[]; }; type AmountByTier = { id: string; tier: { starts: number; ends: number | null; price: number; }; quantity: number; amount: number; }; type AmountByPeriod$1 = { amount: number; endDate: string; id: string; name: string; startDate: string; amountsByTier: AmountByTier[]; prorationRate: number; quantity: number; }; type FormattedLine = { amount: number; amountsByPeriod: AmountByPeriod$1[]; billingPeriodEnd: string; billingPeriodStart: string; chargeType: string; discount: number; frequency: string; isRamp?: boolean; lineText?: string; periods: number | string; planName: string; position: number; price: number; priceDecimals: number; priceListChargeId: string; priceListChargeName?: string; priceListId: string; pricingModel: PricingModel; productName: string; prorationRate: number; quantity?: number; showProductNameOnLineItem: boolean; taxCode?: string; trialEndDate?: string; unitOfMeasure: string; vatCode?: string; }; type FormattedLine$1_FormattedLine = FormattedLine; declare namespace FormattedLine$1 { export { AmountByPeriod$1 as AmountByPeriod, FormattedLine$1_FormattedLine as FormattedLine, }; } type PeriodAmount = { id: string; name: string; amount: number; startDate: string; endDate: string; amountsByTier: Array>; }; type FormattedQuote = { object: any; acceptedAt: string; acceptedByName: string; acceptedByTitle: string; amount: number; amountsByPeriod: PeriodAmount[]; billingCity: string; billingCountry: string; billingState: string; billingStreet: string; billingZip: string; contactEmail: string; contactName: string; currency: string; customerBillingCity: string; customerBillingCountry: string; customerBillingState: string; customerBillingStreet: string; customerBillingZip: string; customerName: string; discount: number; discountValue: number; expiresAt: string; formattedLines: FormattedLine[]; html: string; id: string; name: string; netPaymentDays: number; number: string; poNumberRequired: boolean; quote: Quote; quoteChanges: QuoteChange[]; salesContactEmail: string; sharedAt: string; state: "DRAFT" | "SHARED" | "VIEWED" | "ACCEPTED" | "APPLIED"; subtotal: number; taxAmount: number; taxNumberLabel: string; taxNumberRequired: boolean; vendorName: string; approvalRequest: ApprovalRequest; }; type PayableItem = { uuid: string; amount: number; subtotal: number; taxAmount: number; quantity: number; frequency?: string; startDate: Date; endDate: Date; }; interface Payable { id?: string; payableId: string; uuid: string; number: string; currencyId: string; currency: Currency; amount: number; amountDue: number; smallUnitAmountDue: number; state: string; items?: Array; } type Type$1 = "INPUT" | "DATEPICKER" | "SWITCH" | "COMBO" | "TEXTAREA" | "DESCRIPTION"; type Format = 'SECRET' | 'HUMANIZE' | 'BOOLEAN' | 'DATE' | 'DATETIME' | 'PERCENTAGE' | 'NUMERIC' | 'CURRENCY'; type DynamicComponent = { title: string; type: Type$1; format?: Format; name: string; column: string; value?: string; tooltip?: string; }; type Kind$2 = "SECRET" | "STRING" | "NUMBER" | "BOOLEAN"; type PluginParameter = { id: string; name?: string; shortName?: string; pluginDefinition: PluginDefinition; pluginDefinitionId: string; kind?: Kind$2; uuid?: string; }; type PluginVendor = { id: string; name: string; uuid: string; }; type Type = "PAYMENT" | "OTHER" | "TAXATION" | "SIGNING"; type PluginDefinition = { id: string; name: string; metadata: any; shortName?: string; logo?: string; description?: string; summary?: string; userIsolation?: boolean; platformName?: string; pluginType?: Type; pluginVendorId?: string; pluginVendor?: PluginVendor; pluginParameters?: PluginParameter[]; hidden?: boolean; uuid?: string; authType?: string; helplink?: string; }; declare enum TaxTypeType { GENERIC = "GENERIC", VAT = "VAT", GST = "GST", EIN = "EIN" } type Entity = { id: string; name: string | null; billingStreet: string | null; billingCity: string | null; billingState: string | null; billingZip: string | null; billingCountry: string | null; createdAt: string; updatedAt: string; phone: string | null; fax: string | null; website: string | null; quoteNumberSeq: number | null; quoteNumberPrefix: string | null; invoiceNumberSeq: number | null; invoiceNumberPrefix: string | null; brandColor: string | null; accentColor: string | null; emailTemplate: string; emailSenderName: string | null; termsUrl: string | null; privacyUrl: string | null; refundPolicyUrl: string | null; customerServiceEmail: string | null; taxType: TaxTypeType | null; taxId: string | null; timezone: string | null; quotesImageUrl: string; invoicesImageUrl: string; topNavImageUrl: string; abbreviation: string; baseCurrencyId: string; }; type PluginActionMenuItem = { label: string; methodName: string; relUrl?: string; visible?: string; }; type PluginStatus = "VALID" | "INVALID"; type PluginType = string; type Plugin = { actionMenu?: PluginActionMenuItem[]; authType?: string; classes?: string[]; componentName?: string; description?: string; dynamicComponents: DynamicComponent[]; enabled?: boolean; enabledOnlyForUser?: User; enabledOnlyForUserId?: string; entities?: Entity[]; entityIds?: string[]; entitySelectionEnabled?: boolean; guid: string; helplink?: string; hidden?: boolean; id: string; logo?: string; name: string; pluginDefinition?: PluginDefinition; pluginDefinitionId?: string; pluginVendor?: PluginVendor; pluginVendorId?: string; status?: PluginStatus; summary?: string; type: PluginType; userIsolation?: boolean; uuid: string; webhookUrl?: string; }; type State$2 = "UNKNOWN" | "SUCCESS" | "FAILED"; type PaymentType = "CARD" | "WIRE" | "OTHER" | "ACH"; type PaymentMethod = { account?: Account; accountId?: string; createdAt?: string; disabled?: boolean; expirationDate?: string; failureCode?: string; id: string; lastSuccess?: string; metadata: { description: string; icon: string; identifier: string; issuer: string; kind: string; type: string; }; isDefault?: boolean; paymentType?: PaymentType; plugin?: Plugin; pluginId?: string; state?: State$2; updatedAt?: string; }; interface PaymentHold { id?: string; expiresAt?: Date; createdAt?: Date; updatedAt?: Date; quote?: Quote; paymentMethod?: PaymentMethod; } type QuoteDocument = { id: string; filename: string; size: string; date: string; url: string; }; type QuoteState = "DRAFT" | "SHARED" | "VIEWED" | "ACCEPTED" | "IN_APPROVAL" | "APPROVED" | "REJECTED"; type AmountByPeriod = { id?: string; name?: string; date?: string; amount: number; startDate: string; }; type DateOption = { end_date: string; label: string; }; type Quote = { acceptedByName?: string; acceptedByTitle?: string; account?: Account; accountId: string; amount: number; amountDue: number; amountsByPeriod: AmountByPeriod[]; applicationDate?: string; applied: boolean; approvalRequest: ApprovalRequest; billingDay?: number; contact?: Contact; createdAt: string; credits?: number; currency?: Currency; currencyId: string; currentPaymentHold?: PaymentHold; deal?: Deal; dealId: string; discount?: number; discountValue: number; documentTemplateId?: string; documents: QuoteDocument[]; endDate: string; endDateOptions?: DateOption[]; evergreen?: boolean; expiresAt: string; formattedQuote: FormattedQuote; id: string; invoiceUntil: string; invoiceUntilOptions?: DateOption[]; isPendingApprovalRequest: boolean; kind: QuoteChangeKind; message?: string; name?: string; netPaymentDays?: number; notes?: string; owner?: User; ownerUserId?: string; payToAccept?: boolean; payableId: string; paymentHolds?: PaymentHold[]; periodAmount: number; poNumber?: string; quoteChanges: QuoteChange[]; requiresApproval: boolean; smallUnitAmountDue?: number; startDate: string; state: QuoteState; subtotal: number; taxAmount: number; triggeredApprovalRules?: ApprovalRule[]; updatedAt: string; uuid: string; } & Payable; type Kind$1 = "OPEN" | "CLOSED_WON" | "CLOSED_LOST"; type DealStage = { id: number; position: number; name?: string; kind?: Kind$1; probability?: string; description?: string; createdAt: string; updatedAt: string; }; type Kind = "NEW" | "EXISTING"; type Origin = "SALES" | "PORTAL" | "SIGNUP" | "OTHER"; type Deal = { id: string; code?: string; accountId?: string; currencyId?: string; name: string; ownerUserId?: string; amount?: number; createdAt: string; updatedAt: string; probability?: number; description?: string; closeDate?: string; kind?: Kind; dealStageId: string; stageDescription?: string; leadSourceId?: string; contactId?: string; notForRevenue?: boolean; quoteDefaults?: Quote; viaPortal?: boolean; origin?: Origin; account?: Account; owner?: User; contact?: Contact; currency?: Currency; dealStage: DealStage; quotes?: Quote[]; }; type DisputeReason = { id?: number; name?: string; description?: string; }; type InvoiceItem = { id: string; amount: number; billingPeriodStart?: string; billingPeriodEnd?: string; charge: SubscriptionCharge$1 | QuoteCharge; chargeType?: string; currencyId: string; discount?: number; frequency?: string; lineText?: string; position?: number; price: number; priceTiers?: PriceTier[]; priceDecimals: number; priceListChargeName?: string; priceListName?: string; prorationRate?: number; quantity?: number; unitOfMeasure?: string; couponId?: string; isCoupon: boolean; comment?: string; creditNoteItem?: CreditNoteItem; creditedItem?: InvoiceItem; endDate?: string; invoice: Invoice; invoiceId: string; isCredit: boolean; kind?: QuoteChangeKind; startDate?: string; subtotal: number; taxAmount?: number; taxCode?: string; vatCode?: string; }; type CreditNoteItem = { id: string; amount: number; currencyId: string; invoiceItem?: InvoiceItem; invoiceItemId?: string; lineText?: string; position?: number; price: number; priceDecimals: number; priceTiers?: PriceTier[]; quantity?: number; subtotal: number; taxAmount?: number; taxCode?: string; vatCode?: string; }; type InvoiceConnection = { nodes: Invoice[]; totalCount?: number; }; type CreditNoteKind = "REFUND" | "WRITE_OFF"; type CreditNote = { account: Account; accountId: string; amount: number; amountApplied: number; amountUnapplied: number; appliedToInvoices?: InvoiceConnection; createdAt: string; created_at: string; creditNoteItems?: CreditNoteItem[]; creditedInvoice?: Invoice; creditedInvoiceId?: string; currency: string; currencyId: string; description: string; disputeReason?: DisputeReason; disputeReasonId?: string; entity: Entity; entityId: string; id: string; invoice?: Invoice; invoiceId?: string; isCredit: boolean; isLegacy: boolean; issuedAt?: string; kind: CreditNoteKind; notes?: string; number?: string; operations: string[]; state: CreditNoteState; subtotal: number; taxAmount: number; updatedAt: string; uuid: string; warrenId: string; }; type PaymentApplication = { id: number; paymentId?: number; invoiceId?: number; amount?: number; account?: Account; invoice?: Invoice; createdAt?: string; updatedAt?: string; }; type State$1 = "NOT_DUE" | "DUE" | "UNPAID" | "PAID" | "VOIDED" | "READY" | "FAILED" | "PREPARING"; type Invoice = { account: Account; accountId: string; amount: number; amountDue: number; amountPaid: number; baseCurrencyId: string; couponApplied: boolean; createdAt: string; creditItem?: InvoiceItem; creditNote?: CreditNote; creditNotes?: CreditNote[]; credits?: number; currency?: Currency; currencyId: string; description: string; dueAt?: string; entity: Entity; hasPaymentMethod?: boolean; id: string; invoiceId: string; invoiceItems: InvoiceItem[]; isLegacy: boolean; issuedAt?: string; kind: string; memo?: string; mergedInvoices?: Invoice[]; mergedToInvoice?: Invoice; netPaymentDays: number; notes?: string; number: string; operations: string[]; paidAt?: string; payableId: string; paymentApplications?: PaymentApplication[]; poNumber?: string; portalUrl: string; printedState: string | null; quote?: Quote; quoteId?: string; smallUnitAmountDue?: number; state: State$1; subtotal: number; taxAmount: number; transactionRecord: Transaction; updatedAt: string; url: string; uuid: string; } & Payable; type State = "APPLIED" | "UNAPPLIED" | "PARTIALLY_APPLIED"; type Payment = { id: string; currencyId: string; memo: string; description: string; state: State; amount: number; receivedAt: string; createdAt: string; updatedAt: string; transactionRecord: Transaction; account: Account; accountId: number; invoices: Invoice[]; amountUnapplied: number; }; declare enum TransactionKind { INVOICE = "INVOICE", PAYMENT = "PAYMENT", REFUND = "REFUND", WRITE_OFF = "WRITE_OFF" } type Transaction = { account: Account; accountId: string; amount: number; createdAt: string; currencyId: string; description: string; id: string; invoice?: Invoice; kind: TransactionKind; payment?: Payment; state: TransactionState; transactionable: Payment | Invoice; transactionableId: string; creditNote?: CreditNote; }; type AccountBalance = { id: Number; balance: Number; currencyId: string; }; type PayingStatus = "CURRENT" | "PAST_DUE" | "SUSPENDED" | "INACTIVE"; type Account = { id: string; code?: string; timezone?: string; accountTypeId: string; industryId?: string; employees?: Number; annualRevenue?: Number; name: string; billingStreet?: string; billingCity?: string; billingState?: string; billingZip?: string; billingCountry?: string; billingContactId?: string; shippingStreet?: string; shippingCity?: string; shippingState?: string; shippingZip?: string; shippingCountry?: string; description?: string; createdAt: string; updatedAt: string; phone?: string; fax?: string; website?: string; currencyId?: string; taxNumber?: string; groupId?: string; billingDay?: Number; netPaymentDays?: Number; duns?: string; ownerUserId?: string; dealDefaults?: Deal; accountType: AccountType; currency?: Currency; contacts?: Contact[]; deals?: Deal[]; subscriptions?: Subscription[]; owner?: User; transactions?: Transaction[]; balances: AccountBalance[]; billingContact?: Contact; entityUseCode?: string; addressValidated: boolean; arr?: number; mrr?: number; mur?: number; draftInvoices: boolean; emailsEnabled: boolean; entity?: Entity; entityId?: string; invoiceTemplateId?: string; invoices?: Invoice[]; linkedinUrl?: string; newQuoteBuilder: boolean; payingStatus?: PayingStatus; secondaryBillingContactIds?: string[]; secondaryBillingContacts?: Contact[]; taxNumberValidated?: boolean; }; declare enum SsoModeType { PROMPT = "PROMPT", AUTO = "AUTO" } type Company = { name?: string | null; createdAt: string; updatedAt: string; inactivityTimeout?: number | null; ssoEnabled: boolean; ssoGoogleEnabled: boolean; samlSsoUrl?: string | null; samlIssuer?: string | null; samlSignatureCertificate?: string | null; defaultRoleId?: string | null; ssoMode: SsoModeType; }; type EntityBranding = { accentColor?: string; brandColor?: number; topNavImageUrl?: string; }; type Interval = { intervalStart: string; intervalUsage: number; }; type DataEntry = { periodStart: string; periodEnd: string; intervals: Interval[]; intervalsTotal: number; }; type SubscriptionCharge = { id: string; name: string; amount: number; currentPeriodPriceByTiers: any | null; }; type Feature = { id: string; name: string; }; declare enum DataInterval { DAILY = "DAILY", MONTHLY = "MONTHLY", QUARTERLY = "QUARTERLY", SEMIANNUALLY = "SEMIANNUALLY", YEARLY = "YEARLY" } type FeatureUsage = { subscriptionCharge?: SubscriptionCharge; feature: Feature; periodRange: string; dataInterval: DataInterval; data: DataEntry[]; }; type FormattedInvoice = { amount: number; amountDue: number; amountPaid: number; billingCity?: string; billingCountry?: string; billingState?: string; billingStreet?: string; billingZip?: string; createdAt: string; credits?: number; currency: string; currencyId: string; currencySymbol: string; customerBillingCity?: string; customerBillingContact?: string; customerBillingCountry?: string; customerBillingState?: string; customerBillingStreet?: string; customerBillingZip?: string; customerName: string; dueAt?: string; formattedLines: InvoiceItem[]; html: string; id: string; isLegacy?: boolean; messages?: { message: string; ids: string[]; }[]; netPaymentDays: number; number: string; poNumber?: string; printedState?: string; salesContactEmail?: string; smallUnitAmountDUe?: number; state: State$1; subscriptionEndDate?: string; subscriptionStartDate?: string; subtotal: number; taxAmount?: number; taxId?: string; taxNumber?: string; taxType?: string; uuid: string; vendorName: string; }; type PriceListChangeOptions = { products: Product[]; priceLists: PriceList[]; }; type TaxationRequiredAccountFields = [Partial<"billingCountry">?, Partial<"billingState">?]; type PlanChangeOptions = { plans: Plan[]; products: Product[]; }; declare const getFormattedInvoice: ({ id, token, apiHost, componentsVersion, }: { id?: string | undefined; apiHost: string; token?: string | undefined; componentsVersion?: string | undefined; }) => Promise; type gqlRequestOptions = { query: string; vars?: Record; headers?: Record; token?: string; isInPreviewMode?: boolean; apiHost: string; componentsVersion?: string; }; declare const gqlRequest: ({ query, vars, headers, token, isInPreviewMode, apiHost, componentsVersion, }: gqlRequestOptions) => Promise; declare const createClientDevHeaders: (token?: string | null, componentsVersion?: string) => Record; declare const getPlugins: ({ entityId, token, apiHost, componentsVersion, }: { entityId?: string | undefined; token?: string | undefined; apiHost: string; componentsVersion?: string | undefined; }) => Promise; declare enum ColumnFormat { "currency-major" = "currency-major", "currency-round" = "currency-round", boolean = "boolean", currency = "currency", date = "date", dateFromNow = "dateFromNow", datetime = "datetime", hidden = "hidden", humanize = "humanize", numeric = "numeric", percentage = "percentage", relation = "relation", tag = "tag" } type TableColumn = { droppable?: boolean; format?: ColumnFormat; label: string; name: string; width?: string; }; type FormLink = { id: string; form: string; title: string | string[]; titleOverride?: string; useBaseObject: boolean; }; type DataColumn = { title: string; name: string; type: string; }; type MutationButtonJSON = { bigButton?: string; confirm: boolean; confirmPrompt: string | string[]; disabled?: string; form?: MutationButtonFormLink; functionName?: "download_invoice" | "download_quote"; icon?: "share" | "download"; invalidateQueryKeys?: string[][]; mutation: string; name: string; navigateTo?: string; object: string; successMessage: string; successModal?: { title?: string; copyToClipboard?: boolean; }; title: string; variables: string; visible?: boolean | string; visibility?: { condition: string; }; }; type SidebarComponentJSON = { actions: Array | string; links: Array; events: { rows: number; }; }; type SidebarLinkComponentJSON = { name: string; form: string; id: string; }; declare enum CardLayoutOptions { "indented" = "indented" } type InvalidateQueryCondition = { exact?: boolean; idKey?: string; invalidateKey: string; invalidateObject?: string; when?: { checkAttribute: string; invalidateIfValueIs: string; }; }; type ModalJSON = { description?: string; hideFooter?: null; isNewEntry?: boolean; mutation?: string; mutationVariables?: string[]; noScroll?: boolean; okText?: string; successMessage?: string; width?: string; }; type MutationButtonFormLink = { openInModal?: boolean; id: string; name: string; }; type SelectAdditionalOption = { label: string; type: "datepicker"; }; type BreadCrumbType = { title: string; name: string; link: { form: string; id: string; }; }; type ComponentJSON = { additionalOptions?: SelectAdditionalOption[]; aliasedMutationRelationFields?: Record; breadCrumbs?: BreadCrumbType[]; buttonLabelName?: string; buttons?: Array; capitalizeLabels?: boolean; center?: boolean; className?: string; codifyFromField?: string; column?: string; columns?: TableColumn[]; comboData?: string; compactEmptyState?: boolean; components: ComponentJSON[]; containerWidth?: string; currencyName?: string; dataFormat?: "json" | "yaml" | "javascript"; dataColumns?: Array; defaultColumns?: string[]; default?: boolean; direction?: "vertical" | "horizontal"; disableCurrency?: boolean; defaultOptionByQueryData?: { queryKey: string; labelPath: string; valuePath: string; }; defaultValue?: string | number; defaultValuesQuery?: string; deleteBtnText?: string; description?: string; disableFormQuery?: boolean; disabled?: boolean | string; displaySecondaryTitlePrefix?: boolean; disabledInNewForm?: boolean | string; displayfield?: string; doNotSaveCurrencyValue?: boolean; duplicable?: boolean | string; dynamic?: boolean; editAfterDrawerSave?: boolean; editForm?: string; emptyStateDescription?: string; emptyStateTitle?: string; enableFilters?: boolean; excludedQueryNames?: Array; fields?: string[]; filter?: string; filters?: Array<{ title: string; label: string; filterKey: string; relation?: string; fields?: Array; values?: Array<{ label: string; value: string; }>; }>; filterField?: string; forceValueIsInOptions?: boolean; formLayout?: "fullPage" | "drawer" | "rightSide" | undefined; formReadOnlyBy?: string; formTitlePrefix?: string; format?: string; goBackAfterCreate?: boolean | string; goBackObjectName?: string; header?: string; helplink?: string; hidden?: boolean; hiddenFields?: Array>>; hideBackButton?: boolean | string; hideButtons?: boolean | string; hideDecorations?: boolean; hideDeleteButton?: boolean | string; hideFormHeader?: boolean; hideHeader?: boolean; hidePrevNext?: boolean | string; hideSaveButton?: boolean | string; hideTableOnEmpty?: boolean; icon?: { name: IconName; prefix: "fas" | "far" | "fab"; }; ignoreRelationFields?: boolean; indentation?: string; invalidateQueryKeys?: string[][]; isNewDisabled?: boolean; isNewEntry?: boolean; isSaveDisabled?: boolean | string; isTableRowClickDisabled?: boolean; kanBan?: { columnField: string; displayFields?: { name: string; format?: string; }[]; filterFormat: string; hiddenFields?: string[]; }; label?: string; label_field?: string; layout?: CardLayoutOptions; link?: { form: string; id: string; }; links?: Array; maxHeight?: string; mergefields?: string[]; minHeight?: string; minValue?: number; modal?: ModalJSON; mode?: "multiple" | "tags"; monospace?: boolean; mutation?: string; mutationDependencies?: string[]; mutationOverride?: string; mutationSuccessObjectOverride?: string; mutationVariables?: string[]; name: string; navigation?: []; nestedColumnQueryOverrides?: Record; newInDrawer?: boolean; noGap?: boolean; object: string; objectField: string; options?: { marks: Record; step?: number; }; optionType?: "default" | "button"; optionsField?: string; optionsFieldMapping?: { id: string; name: string; }; orientation: "top" | "right" | "left" | "bottom"; overrideObjectType?: string; parentKeyOverride?: string; parent_key_field?: string; query?: string; reactQueryInvalidations?: InvalidateQueryCondition[]; recordIdField?: string; relation?: string; reload?: boolean; reloadOnNotification?: boolean; required?: boolean | string; rightSideDetails?: { formWidthPct?: number; }; rowEditInDrawer: boolean; rules?: Array; searchWatermark?: string; searchfield?: string | string[]; searchfieldAlias?: string; secondaryTitlePrefix?: string; sendParentKeySeparately?: boolean; showEvents?: boolean; showInputDecorations?: boolean | string; showNullKeys?: boolean; showPortalPreviewButton?: boolean; showProductQuickStart?: boolean; showProductQuickStartInEmpty?: boolean; singleton?: boolean; sort?: { sortColumn: string; sortDirection: "asc" | "desc"; }; style?: string; successMessage?: string; summary?: string; tagColors?: Record; target_field_name?: string; title?: string | ReactElement; title_field?: string; tooltip?: string; type: string; updateOnChange?: boolean | string; uploadUrl?: string; uploaderType?: "basic"; useEntityFilter?: boolean; useHistoryBackFromNew?: boolean; userIsolation?: boolean; validated?: { field: string; tooltipMessage: string; }; value?: string; valueKey?: string; values?: Array | Array>; visible?: boolean | string; visibleInNewForm?: boolean; wide?: boolean | string; width?: string; }; type Error = { message: string; }; type Error$1_Error = Error; declare namespace Error$1 { export { Error$1_Error as Error, }; } type PluginData = { classes?: string[]; enabled: boolean; entities: number[]; guid: string; hidden: boolean | undefined; id?: number; name: string; status: string; type: string; url?: string; webhookEnabled?: boolean; components?: { backend?: Array<{ name: string; access: Array; }>; frontend?: Array<{ name: string; access: Array; scenarios?: Array; }>; }; locations?: Array; }; type PaymentComponentProps = { closeModal: () => void; customPaymentSuccessHandler?: () => void; handleCancel: () => void; account?: Account; form: FormInstance; invoice?: Invoice; pluralType: string; itemJSON?: ComponentJSON; paymentData: any; plugin: PluginData; }; type CurrentUser = { authObjectName: string; companyName: string; entityId: string; returnUrl: string; privacyUrl?: string; termsUrl?: string; }; type QuotePreviewData = { priceList?: PriceList; quantity?: number; }; type TriggeredApprovalRule = { id: string; name: string; }; declare const invokePlugin: ({ method, payload, plugin, token, apiHost, componentsVersion, }: { method: string; payload?: Record | undefined; plugin: PluginData; token?: string | undefined; apiHost: string; componentsVersion?: string | undefined; }) => Promise; type RequestOptions = { method?: string; apiHost: string; endpoint: string; body?: string; headers?: Record; token?: string; }; declare const request: ({ method, apiHost, endpoint, body, headers, token, }: RequestOptions) => any; declare const WARREN_STATE_LS_KEY = "warrenState"; declare const CURRENT_WARREN_ID_LS_KEY = "currentWarrenId"; declare const DEFAULT_CONFIG: { host: string; subdomain: string; apiEndpoint: string; graphqlEndpoint: string; pluginsEndpoint: string; }; declare const ArrowDownToLine: ({ className }: { className?: string | undefined; }) => react_jsx_runtime.JSX.Element; declare const PRIMARY_COLOR = "#ff6e1c"; declare const CHARCOAL_GRAY = "#232323"; declare const INPUT_BORDER_COLOR = "rgb(226 232 240)"; declare const PAYABLE_INVOICE_STATES: string[]; declare const PREVIEW_SEARCH_PARAM = "preview"; declare const PERIOD_LABELS: Record; declare const MARK_PRO = "Markpro, Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji"; declare const MARK_PRO_MEDIUM = "Markpro Medium, Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji"; declare const MARK_PRO_BOLD = "Markpro Bold, Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji"; declare const X_BUNNY_COMPONENTS_VERSION_HEADER_NAME = "x-components-version"; declare const GRAPHQL_JWT_TOKEN_ATTRIBUTE = "X-Set-Authorization"; declare const BLACK = "rgb(0 0 0)"; declare const WHITE = "rgb(255 255 255)"; declare const SLATE_50 = "rgb(248 250 252)"; declare const SLATE_100 = "rgb(241 245 249)"; declare const SLATE_200 = "rgb(226 232 240)"; declare const SLATE_300 = "rgb(203 213 225)"; declare const SLATE_400 = "rgb(148 163 184)"; declare const SLATE_500 = "rgb(100 116 139)"; declare const SLATE_600 = "rgb(71 85 105)"; declare const SLATE_700 = "rgb(51 65 85)"; declare const SLATE_800 = "rgb(30 41 59)"; declare const SLATE_900 = "rgb(15 23 42)"; declare const SLATE_950 = "rgb(2 6 23)"; declare const GRAY_50 = "rgb(249 250 251)"; declare const GRAY_100 = "rgb(243 244 246)"; declare const GRAY_200 = "rgb(229 231 235)"; declare const GRAY_300 = "rgb(209 213 219)"; declare const GRAY_400 = "rgb(156 163 175)"; declare const GRAY_500 = "rgb(107 114 128)"; declare const GRAY_600 = "rgb(75 85 99)"; declare const GRAY_700 = "rgb(55 65 81)"; declare const GRAY_800 = "rgb(31 41 55)"; declare const GRAY_900 = "rgb(17 24 39)"; declare const GRAY_950 = "rgb(3 7 18)"; declare const BLUE_50 = "rgb(239 246 255)"; declare const BLUE_100 = "rgb(219 234 254)"; declare const BLUE_200 = "rgb(191 219 254)"; declare const BLUE_300 = "rgb(147 197 253)"; declare const BLUE_400 = "rgb(96 165 250)"; declare const BLUE_500 = "rgb(59 130 246)"; declare const BLUE_600 = "rgb(37 99 235)"; declare const BLUE_700 = "rgb(29 78 216)"; declare const BLUE_800 = "rgb(30 64 175)"; declare const BLUE_900 = "rgb(30 58 138)"; declare const BLUE_950 = "rgb(23 37 84)"; declare const ORANGE_50 = "rgb(255 247 237)"; declare const ORANGE_100 = "rgb(255 237 213)"; declare const ORANGE_200 = "rgb(254 215 170)"; declare const ORANGE_300 = "rgb(253 186 116)"; declare const ORANGE_400 = "rgb(251 146 60)"; declare const ORANGE_500 = "rgb(249 115 22)"; declare const ORANGE_600 = "rgb(234 88 12)"; declare const ORANGE_700 = "rgb(194 65 12)"; declare const ORANGE_800 = "rgb(154 52 18)"; declare const ORANGE_900 = "rgb(124 45 18)"; declare const ORANGE_950 = "rgb(67 20 7)"; declare const GREEN_50 = "rgb(236 253 245)"; declare const GREEN_100 = "rgb(209 250 229)"; declare const GREEN_200 = "rgb(167 243 208)"; declare const GREEN_300 = "rgb(110 231 183)"; declare const GREEN_400 = "rgb(52 211 153)"; declare const GREEN_500 = "rgb(16 185 129)"; declare const GREEN_600 = "rgb(5 150 105)"; declare const GREEN_700 = "rgb(4 120 87)"; declare const GREEN_800 = "rgb(6 95 70)"; declare const GREEN_900 = "rgb(6 78 59)"; declare const GREEN_950 = "rgb(3 41 30)"; declare const MODAL_MAX_HEIGHT = "80vh"; declare const TAG_COLORS: Record; declare const DEFAULT_ACCENT_COLOR = "rgb(226 232 240)"; declare const DEFAULT_BRAND_COLOR = "#ff6e1c"; declare const DEFAULT_SECONDARY_COLOR = "#000000"; declare const DEFAULT_TOP_NAV_IMAGE_URL = ""; declare const COUNTRY_LIST: { value: string; label: string; }[]; declare const Lists_COUNTRY_LIST: typeof COUNTRY_LIST; declare namespace Lists { export { Lists_COUNTRY_LIST as COUNTRY_LIST, }; } declare enum DOCUMENT_NAME { INVOICE = "invoice", QUOTE = "quote" } declare enum BreakpointNumbers { xs = 480, sm = 768, md = 992, lg = 1200, xl = 1400, xxl = 2000 } declare const useIsMobile: (breakpointSize?: BreakpointNumbers) => boolean; declare const formatDate: (date: any) => string; declare const getCardImage: (issuer: string) => "Visa_Brandmark_Blue_RGB_2021.png" | "mc_symbol_opt_73_3x.png" | undefined; declare const formatCurrency: (value: number | string, currencyIsoCode: string, decimals?: number) => string | number; declare const isColorTooDark: (hex?: string) => boolean; declare const prependHttps: (link: string) => string; declare const getUserInitials: (fullName: string) => string; declare const snakeToSpaces: (str: string) => string; declare const singularizeEntityName: (entityName: string) => string; declare const pluralizeEntityName: (entityName: string) => string; declare const pluralizeAttributeName: (str: string) => string; declare const isStringPluralized: (str?: string) => boolean; declare const capitalize: (s?: string) => string; declare const formatNumber: (num: number, decimals?: number) => string; declare function humanize(s: string): string; declare const formatValue: (value: string | number | boolean | null | undefined, format: string) => string | boolean | null | undefined; declare const replaceTokens: (searchString: string, data: Record) => string; declare const getSubdomain: (url: string) => string | null; declare const interpolateString: (template: string, values: { [key: string]: any; }) => string; declare const stringUtils_prependHttps: typeof prependHttps; declare const stringUtils_getUserInitials: typeof getUserInitials; declare const stringUtils_snakeToSpaces: typeof snakeToSpaces; declare const stringUtils_singularizeEntityName: typeof singularizeEntityName; declare const stringUtils_pluralizeEntityName: typeof pluralizeEntityName; declare const stringUtils_pluralizeAttributeName: typeof pluralizeAttributeName; declare const stringUtils_isStringPluralized: typeof isStringPluralized; declare const stringUtils_capitalize: typeof capitalize; declare const stringUtils_formatNumber: typeof formatNumber; declare const stringUtils_humanize: typeof humanize; declare const stringUtils_formatValue: typeof formatValue; declare const stringUtils_replaceTokens: typeof replaceTokens; declare const stringUtils_getSubdomain: typeof getSubdomain; declare const stringUtils_interpolateString: typeof interpolateString; declare namespace stringUtils { export { stringUtils_prependHttps as prependHttps, stringUtils_getUserInitials as getUserInitials, stringUtils_snakeToSpaces as snakeToSpaces, stringUtils_singularizeEntityName as singularizeEntityName, stringUtils_pluralizeEntityName as pluralizeEntityName, stringUtils_pluralizeAttributeName as pluralizeAttributeName, stringUtils_isStringPluralized as isStringPluralized, stringUtils_capitalize as capitalize, stringUtils_formatNumber as formatNumber, stringUtils_humanize as humanize, stringUtils_formatValue as formatValue, stringUtils_replaceTokens as replaceTokens, stringUtils_getSubdomain as getSubdomain, stringUtils_interpolateString as interpolateString, }; } declare const CHILD_SEARCH_CACHE_KEY = "childSearch"; declare const SEARCH_CACHE_KEY = "search"; interface AccountPaymentMethodKeyParams { accountId?: string; entityId?: string; token?: string; } interface BillingDetailsKeyParams { entityId?: string; token?: string; } interface CalculatedPricesKeyParams { priceListId?: string; quantity?: number; token?: string; } interface EventsKeyParams { entityId: string; pluralType: string; token?: string; } interface ObjectKeyParams { id?: string; objectName: string; token?: string; } interface TableKeyParams { filterString?: string; pluralType: string; token?: string; } interface FormattedInvoiceKeyParams { id?: string; token?: string; } interface InvoiceKeyParams { id?: string; token?: string; } interface PlanChangeOptionsKeyParams { subscriptionId?: string | null; token?: string; } interface PortalPreviewDataKeyParams { productId?: string | null; token?: string; } interface QuoteKeyParams { id?: string; token?: string; } interface QuoteTaxCalculateKeyParams { id?: string; token?: string; } interface TaxationRequiredAccountFieldsKeyParams { entityId?: string; token?: string; } interface TransactionsKeyParams { filter?: string; token?: string; } declare const QueryKeyFactory: { accountPaymentMethodKey: ({ accountId, entityId, token, }: AccountPaymentMethodKeyParams) => string[]; billingDetailsKey: ({ entityId, token }: BillingDetailsKeyParams) => string[]; brandingKey: (token?: string) => string[]; calculatedPricesKey: ({ priceListId, quantity, token, }: CalculatedPricesKeyParams) => (string | number)[]; createEventsKey: ({ entityId, pluralType, token }: EventsKeyParams) => string[]; createFormattedInvoiceKey: ({ id, token }: FormattedInvoiceKeyParams) => (string | undefined)[]; createInvoiceKey: ({ id, token }: InvoiceKeyParams) => (string | undefined)[]; createObjectKey: ({ id, objectName, token }: ObjectKeyParams) => string[]; createQuoteKey: ({ id, token }: QuoteKeyParams) => (string | undefined)[]; createQuoteTaxCalculateKey: ({ id, token }: QuoteTaxCalculateKeyParams) => string[]; createTableKey: ({ filterString, pluralType, token }: TableKeyParams) => (string | undefined)[]; currentUserKey: (token?: string) => string[]; editingQuoteKey: (token?: string) => string[]; finixAchKey: (token?: string) => string[]; finixKey: (token?: string) => string[]; planChangeOptionsKey: ({ subscriptionId, token, }: PlanChangeOptionsKeyParams) => string[]; pluginsKey: (token?: string) => string[]; portalPreviewDataKey: ({ productId, token }: PortalPreviewDataKeyParams) => string[]; taxationRequiredAccountFieldsKey: ({ entityId, token, }: TaxationRequiredAccountFieldsKeyParams) => string[]; transactionsKey: ({ filter, token }: TransactionsKeyParams) => string[]; }; declare const QueryKeyFactory$1_CHILD_SEARCH_CACHE_KEY: typeof CHILD_SEARCH_CACHE_KEY; declare const QueryKeyFactory$1_SEARCH_CACHE_KEY: typeof SEARCH_CACHE_KEY; declare namespace QueryKeyFactory$1 { export { QueryKeyFactory as default, QueryKeyFactory$1_CHILD_SEARCH_CACHE_KEY as CHILD_SEARCH_CACHE_KEY, QueryKeyFactory$1_SEARCH_CACHE_KEY as SEARCH_CACHE_KEY, }; } declare const useAllErrorFormats: (onTokenExpired?: () => void) => (error: any) => void; declare const useErrorNotification: () => (description?: string | null | ReactNode, message?: string | null, duration?: number) => void; declare const useSuccessNotification: () => (description?: string | null, message?: string | null, duration?: number) => void; declare const useInfoNotification: () => (description?: string | null, message?: string | null, duration?: number) => void; declare const useGraphQLQuery: (navigateOnTokenExpired: () => void, apiEndpoint: string, onError: (error: string) => void) => (callback: any, query: string, token: string, callbackParams?: any) => Promise; declare const useGraphQLmutation: (navigateOnTokenExpired: () => void, apiEndpoint: string, onError: (error: string) => void) => (mutation: any, variables: any, callback: any, token?: string, callbackParams?: any) => Promise; declare const sortSubscriptionCharges: (charges: SubscriptionCharge$1[]) => SubscriptionCharge$1[]; export { Account, AccountBalance, AccountType, AmountByPeriod, ApprovalDecision, ApprovalRequest, ApprovalRule, Approver, ArrowDownToLine, BLACK, BLUE_100, BLUE_200, BLUE_300, BLUE_400, BLUE_50, BLUE_500, BLUE_600, BLUE_700, BLUE_800, BLUE_900, BLUE_950, BillingPeriod, BreadCrumbType, BreakpointNumbers, CHARCOAL_GRAY, CURRENT_WARREN_ID_LS_KEY, Campaign, CardLayoutOptions, ChargeType, Company, ComponentJSON, Contact, Coupon, CreditNote, CreditNoteItem, CreditNoteState, Currency, DEFAULT_ACCENT_COLOR, DEFAULT_BRAND_COLOR, DEFAULT_CONFIG, DEFAULT_SECONDARY_COLOR, DEFAULT_TOP_NAV_IMAGE_URL, DOCUMENT_NAME, DataColumn, DataInterval, DateOption, Deal, DealStage, DisputeReason, DynamicComponent, Entity, EntityBranding, Error$1 as Error, Feature$1 as Feature, FeatureUsage, FormLink, FormattedInvoice, FormattedLine$1 as FormattedLine, FormattedQuote, GRAPHQL_JWT_TOKEN_ATTRIBUTE, GRAY_100, GRAY_200, GRAY_300, GRAY_400, GRAY_50, GRAY_500, GRAY_600, GRAY_700, GRAY_800, GRAY_900, GRAY_950, GREEN_100, GREEN_200, GREEN_300, GREEN_400, GREEN_50, GREEN_500, GREEN_600, GREEN_700, GREEN_800, GREEN_900, GREEN_950, INPUT_BORDER_COLOR, Invoice, InvoiceConnection, InvoiceItem, Lists, MARK_PRO, MARK_PRO_BOLD, MARK_PRO_MEDIUM, MODAL_MAX_HEIGHT, MutationButtonFormLink, MutationButtonJSON, ORANGE_100, ORANGE_200, ORANGE_300, ORANGE_400, ORANGE_50, ORANGE_500, ORANGE_600, ORANGE_700, ORANGE_800, ORANGE_900, ORANGE_950, PAYABLE_INVOICE_STATES, PERIOD_LABELS, PREVIEW_SEARCH_PARAM, PRIMARY_COLOR, Payable, PayableItem, Payment, PaymentApplication, PaymentComponentProps, PaymentHold, PaymentMethod, PeriodAmount, Plan, PlanChangeOptions, PlanFeature, Platform, Plugin, PluginData, PluginDefinition, PluginParameter, PluginVendor, PriceAdjustmentAction, PriceAdjustmentTiming, PriceList, PriceListChangeOptions, PriceListCharge, PriceListChargeTier, PriceTier, PricingModel, PricingStyle, Product, ProductCategory, QueryKeyFactory$1 as QueryKeyFactory, Quote, QuoteChange, QuoteChangeKind, QuoteCharge, QuoteDocument, QuotePreviewData, QuoteState, Role, SLATE_100, SLATE_200, SLATE_300, SLATE_400, SLATE_50, SLATE_500, SLATE_600, SLATE_700, SLATE_800, SLATE_900, SLATE_950, SelectAdditionalOption, SidebarComponentJSON, SidebarLinkComponentJSON, stringUtils as StringUtils, Subscription, SubscriptionCharge$1 as SubscriptionCharge, SubscriptionState, TAG_COLORS, TableColumn, TaxationRequiredAccountFields, Tenant, TenantProvisioningChange, Transaction, TransactionKind, TransactionState, TriggeredApprovalRule, UsageCalculationType, User, UserProfile, WARREN_STATE_LS_KEY, WHITE, X_BUNNY_COMPONENTS_VERSION_HEADER_NAME, createClientDevHeaders, CurrentUser as currentUser, formatCurrency, formatDate, getAccount, getCardImage, getFormattedInvoice, getPlugins, gqlRequest, invokePlugin, isColorTooDark, request, sortSubscriptionCharges, useAllErrorFormats, useErrorNotification, useGraphQLQuery, useGraphQLmutation, useInfoNotification, useIsMobile, useSuccessNotification };