import { generators } from "openid-client"; import type { ApiClientConfig } from "./schema/config"; import type { PkceAuthoriseOptions, PkceExchangeOptions } from "./pkce"; import type { GetAuthorizeUrlOptions, GetAuthorizeUrlUsingPKCEOptions } from "./get-auth-urls"; import type { ExchangeCodeForTokensOptions, ExchangeCodeForTokensUsingPKCEOptions, LocalParams, ParamsFromCallback } from "./exchange-code-for-token"; declare const _Moneyhub: (apiClientConfig: ApiClientConfig) => Promise<{ keys: () => { keys: import("jose").JWK[]; } | null; generators: typeof generators; getStandardFinancialStatements: ({ userId, params }: { userId: string; params?: import("./requests/types/standard-financial-statements").StandardFinancialStatementsSearchParams | undefined; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getStandardFinancialStatement: ({ userId, reportId }: { userId: string; reportId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getConsentHistory: (params?: import("./schema/consent-history").ConsentHistorySearchParams | undefined, options?: import("./request").ExtraOptions | undefined) => Promise>; categoriseTransactions: import("./requests/types/categorise-transactions").CategoriseTransactionsRequest; createResellerCheckRequest: import("./requests/types/reseller-check").CreateResellerCheckRequest; registerUser: ({ clientUserId, }: { clientUserId?: string | undefined; }, options?: import("./request").ExtraOptions | undefined) => Promise; getUsers: (params?: import("./request").SearchParams | undefined, options?: import("./request").ExtraOptions | undefined) => Promise>; getSCIMUser: ({ userId }: { userId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; registerSCIMUser: (user: import("./schema/scim-user").SCIMUser, options?: import("./request").ExtraOptions | undefined) => Promise>; getUser: ({ userId, }: { userId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise; getUserConnections: ({ userId, }: { userId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; deleteUserConnection: ({ userId, connectionId, }: { userId: string; connectionId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise; deleteUser: ({ userId, }: { userId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise; getConnectionSyncs: ({ userId, connectionId, params, }: { userId: string; connectionId: string; params?: import("./request").SearchParams | undefined; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getUserSyncs: ({ userId, params, }: { userId: string; params?: import("./request").SearchParams | undefined; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getSync: ({ userId, syncId, }: { userId: string; syncId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; updateUserConnection: ({ userId, connectionId, expiresAt, }: { userId: string; connectionId: string; expiresAt: string; }, options?: import("./request").ExtraOptions | undefined) => Promise; getGlobalCounterparties: (params?: Counterparties.GlobalCounterpartiesSearchParams | undefined, options?: import("./request").ExtraOptions | undefined) => Promise>; listConnections: (query?: { clientId?: string | undefined; } | undefined) => Promise; listAPIConnections: (query?: { clientId?: string | undefined; } | undefined) => Promise; listLegacyConnections: (query?: { clientId?: string | undefined; } | undefined) => Promise; listTestConnections: (query?: { clientId?: string | undefined; } | undefined) => Promise; listBetaConnections: (query?: { clientId?: string | undefined; } | undefined) => Promise; listPaymentsConnections: (query?: { clientId?: string | undefined; } | undefined) => Promise; getOpenIdConfig: () => Promise; caasDeleteUser: ({ userId, }: { userId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise; caasPutTransactionSplits: ({ accountId, transactionId, splits, }: { accountId: string; transactionId: string; splits: import("./requests/caas/types/transaction-splits").CaasTransactionSplitBody[]; }, options?: import("./request").ExtraOptions | undefined) => Promise>; caasDeleteTransactionSplits: ({ accountId, transactionId, }: { accountId: string; transactionId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise; caasPatchTransaction: ({ accountId, transactionId, userCategoryId, recategorisationType, }: { accountId: string; transactionId: string; userCategoryId: string; recategorisationType?: import("./requests/caas/types/transactions").CaasRecategorisationType | undefined; }, options?: import("./request").ExtraOptions | undefined) => Promise>; caasEnrichTransactions: ({ transactions, }: { transactions: import("./requests/caas/types/transactions").CaasTransactionInput[]; }, options?: import("./request").ExtraOptions | undefined) => Promise; caasGetTransactions: ({ userId, accountId, limit, }: { userId?: string | undefined; accountId: string; limit?: number | undefined; }, options?: import("./request").ExtraOptions | undefined) => Promise>; caasDeleteTransaction: ({ accountId, transactionId, }: { accountId: string; transactionId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise; caasGetEnhancedTransaction: ({ accountId, transactionId, includeFieldTiers, }: { accountId: string; transactionId: string; includeFieldTiers?: ("basic" | "search_pro" | "search_enterprise" | "search_enterprise_plus") | undefined; }, options?: import("./request").ExtraOptions | undefined) => Promise>; caasGetRegularTransactions: ({ accountId }: { accountId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; caasGetGeotags: ({ geotagIds, }: { geotagIds: string[]; }, options?: import("./request").ExtraOptions | undefined) => Promise>; caasGetCounterparties: ({ limit, offset, }: { limit?: number | undefined; offset?: number | undefined; }, options?: import("./request").ExtraOptions | undefined) => Promise>; caasGetCategories: (options?: import("./request").ExtraOptions | undefined) => Promise>; caasGetCategoryGroups: (options?: import("./request").ExtraOptions | undefined) => Promise>; caasGetCustomCategories: ({ userId, }: { userId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; caasCreateCustomCategory: ({ userId, customCategoryName, }: { userId: string; customCategoryName: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; caasDeleteCustomCategory: ({ userId, categoryId, }: { userId: string; categoryId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise; caasDeleteAccount: ({ accountId, }: { accountId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise; getTransactions: ({ userId, params, }: { userId?: string | undefined; params?: Transactions.TransactionSearchParams | undefined; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getUnenrichedTransactions: ({ userId, params, }: { userId?: string | undefined; params?: Transactions.TransactionUnenrichedSearchParams | undefined; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getTransaction: ({ userId, transactionId, }: { userId?: string | undefined; transactionId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getUnenrichedTransaction: ({ userId, transactionId, }: { userId?: string | undefined; transactionId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; addTransaction: ({ userId, transaction, }: { userId: string; transaction: Transactions.TransactionPost; }, options?: import("./request").ExtraOptions | undefined) => Promise>; addTransactions: ({ userId, transactions, params, }: { userId: string; transactions: Transactions.TransactionPost[]; params?: { categorise?: boolean | undefined; } | undefined; }, options?: import("./request").ExtraOptions | undefined) => Promise>; updateTransaction: ({ userId, transactionId, transaction, }: { userId: string; transactionId: string; transaction: Partial; }, options?: import("./request").ExtraOptions | undefined) => Promise>; deleteTransaction: ({ userId, transactionId, }: { userId: string; transactionId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; splitTransaction: ({ userId, transactionId, splits, }: { userId: string; transactionId: string; splits: Transactions.TransactionSplitPost[]; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getTransactionSplits: ({ userId, transactionId, }: { userId?: string | undefined; transactionId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; patchTransactionSplit: ({ userId, transactionId, splitId, split, }: { userId: string; transactionId: string; splitId: string; split: Transactions.TransactionSplitPatch; }, options?: import("./request").ExtraOptions | undefined) => Promise>; deleteTransactionSplits: ({ userId, transactionId, }: { userId: string; transactionId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise; addFileToTransaction: ({ userId, transactionId, fileData, fileName, }: { userId?: string | undefined; transactionId: string; fileName: string; fileData: any; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getTransactionFiles: ({ userId, transactionId, }: { userId?: string | undefined; transactionId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getTransactionFile: ({ userId, transactionId, fileId, }: { userId?: string | undefined; transactionId: string; fileId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; deleteTransactionFile: ({ userId, transactionId, fileId, }: { userId?: string | undefined; transactionId: string; fileId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise; getTaxReturn: ({ userId, params, }: { userId?: string | undefined; params?: Taxes.TaxSearchParams | undefined; }, options?: import("./request").ExtraOptions | undefined) => Promise>; syncUserConnection: ({ userId, connectionId, customerIpAddress, customerLastLoggedTime, enableAsync, }: { userId?: string | undefined; connectionId: string; customerIpAddress?: string | undefined; customerLastLoggedTime?: string | undefined; enableAsync?: boolean | undefined; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getStandingOrder: ({ id }: { id: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getStandingOrders: (params?: StandingOrders.StandingOrderSearchParams | undefined, options?: import("./request").ExtraOptions | undefined) => Promise>; getSpendingGoals: (params: import("./request").SearchParams, userId: string, options?: import("./request").ExtraOptions | undefined) => Promise>; getSpendingGoal: ({ goalId, userId, }: { goalId: string; userId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; createSpendingGoal: ({ categoryId, periodType, periodStart, amount, userId, }: { categoryId: string; periodType?: ("monthly" | "annual") | undefined; periodStart?: string | undefined; amount: { value: number; }; userId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; updateSpendingGoal: ({ goalId, categoryId, amount, userId, }: { goalId: string; categoryId?: string | undefined; amount?: { value: number; } | undefined; userId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; deleteSpendingGoal: ({ goalId, userId, }: { goalId: string; userId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise; getSpendingAnalysis: ({ userId, dates, accountIds, categoryIds, projectIds, }: { userId?: string | undefined; dates: { name: string; from: string; to: string; }[]; accountIds?: string[] | undefined; categoryIds?: string[] | undefined; projectIds?: string[] | undefined; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getSavingsGoals: (params: import("./request").SearchParams, userId: string, options?: import("./request").ExtraOptions | undefined) => Promise>; getSavingsGoal: ({ goalId, userId, }: { goalId: string; userId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; createSavingsGoal: ({ name, imageUrl, notes, accounts, amount, userId, targetDate, }: { name: string; imageUrl?: string | undefined; notes?: string | undefined; accounts: { id: string; }[]; amount: { value: number; currency?: string | undefined; }; userId: string; targetDate?: string | undefined; }, options?: import("./request").ExtraOptions | undefined) => Promise>; updateSavingsGoal: ({ goalId, name, amount, imageUrl, notes, accounts, userId, targetDate, }: { goalId: string; name?: string | undefined; imageUrl?: string | undefined; notes?: string | undefined; accounts: { id: string; }[]; amount?: { value: number; } | undefined; userId: string; targetDate?: string | undefined; }, options?: import("./request").ExtraOptions | undefined) => Promise>; deleteSavingsGoal: ({ goalId, userId, }: { goalId: string; userId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise; getRentalRecords: ({ userId, }: { userId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; createRentalRecord: ({ userId, rentalData, }: { userId: string; rentalData: RentalRecords.RentalRecordPost; }, options?: import("./request").ExtraOptions | undefined) => Promise>; deleteRentalRecord: ({ userId, rentalId, }: { userId: string; rentalId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise; getRegularTransactions: ({ userId, params, }: { userId?: string | undefined; params?: RegularTransactions.RegularTransactionSearchParams | undefined; }, options?: import("./request").ExtraOptions | undefined) => Promise>; detectRegularTransactions: ({ userId, accountId, }: { userId?: string | undefined; accountId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getRecurringPayments: (params?: Payments.RecurringPaymentSearchParams | undefined, options?: import("./request").ExtraOptions | undefined) => Promise>; getRecurringPayment: ({ recurringPaymentId, }: { recurringPaymentId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; makeRecurringPayment: ({ recurringPaymentId, payment, }: { recurringPaymentId: string; payment: Payments.PaymentsClaims; }, options?: import("./request").ExtraOptions | undefined) => Promise>; revokeRecurringPayment: ({ recurringPaymentId, }: { recurringPaymentId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise; confirmFundsForRecurringPayment: ({ recurringPaymentId, fundsConfirmation, }: { recurringPaymentId: string; fundsConfirmation: Payments.FundsConfirmationRequest; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getProjects: ({ userId, params, }: { userId: string; params?: import("./request").SearchParams | undefined; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getProject: ({ userId, projectId, }: { userId: string; projectId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; addProject: ({ userId, project, }: { userId: string; project: Projects.ProjectPost; }, options?: import("./request").ExtraOptions | undefined) => Promise>; updateProject: ({ userId, projectId, project, }: { userId: string; projectId: string; project: Projects.ProjectPatch; }, options?: import("./request").ExtraOptions | undefined) => Promise>; deleteProject: ({ userId, projectId, }: { userId: string; projectId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise; addPayLink: import("./requests/types/pay-links").AddPayLink; getPayLink: import("./requests/types/pay-links").GetPayLink; getPayLinks: import("./requests/types/pay-links").GetPayLinks; getPayment: ({ id }: { id: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getPayments: (params?: Payments.PaymentSearchParams | undefined, options?: import("./request").ExtraOptions | undefined) => Promise>; getPaymentFromIDToken: ({ idToken }: { idToken: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; addPayee: ({ accountNumber, sortCode, name, externalId, userId, }: { accountNumber: string; sortCode: string; name: string; externalId?: string | undefined; userId?: string | undefined; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getPayees: (params?: Payees.PayeesSearchParams | undefined, options?: import("./request").ExtraOptions | undefined) => Promise>; getPayee: ({ id }: { id: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getOsipAccounts: ({ userId, params }: { userId?: string | undefined; params?: import("./request").SearchParams | undefined; }, options?: import("./request").ExtraOptions | undefined) => Promise, "links">>; getOsipAccount: ({ userId, accountId }: { userId?: string | undefined; accountId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise, "links">>; getOsipAccountHoldings: ({ userId, accountId, }: { userId?: string | undefined; accountId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getOsipAccountTransactions: ({ userId, accountId, }: { userId?: string | undefined; accountId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getNotificationThresholds: ({}: { userId?: string | undefined; accountId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; addNotificationThreshold: ({}: { userId?: string | undefined; accountId: string; threshold: NotificationThresholds.NotificationThresholdBody; }, options?: import("./request").ExtraOptions | undefined) => Promise>; updateNotificationThreshold: ({}: { userId?: string | undefined; accountId: string; thresholdId: string; threshold: NotificationThresholds.NotificationThresholdBody; }, options?: import("./request").ExtraOptions | undefined) => Promise>; deleteNotificationThreshold: ({}: { userId?: string | undefined; accountId: string; thresholdId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise; getCategories: ({ userId, params, }: { userId?: string | undefined; params?: (import("./request").SearchParams & { type?: Categories.CategoryType | undefined; }) | undefined; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getStandardCategories: ({ params, }: { params?: (import("./request").SearchParams & { type?: Categories.CategoryType | undefined; }) | undefined; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getCategory: ({ userId, categoryId, params, }: { userId?: string | undefined; categoryId: string; params?: { type?: Categories.CategoryType | undefined; } | undefined; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getCategoryGroups: ({ userId, params, }: { userId?: string | undefined; params?: { type?: Categories.CategoryType | undefined; } | undefined; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getStandardCategoryGroups: ({ params, }: { params?: { type?: Categories.CategoryType | undefined; } | undefined; }, options?: import("./request").ExtraOptions | undefined) => Promise>; createCustomCategory: ({ userId, category, }: { userId?: string | undefined; category: Categories.CategoryPost; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getBeneficiary: ({ id, userId, }: { id: string; userId?: string | undefined; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getBeneficiaryWithDetail: ({ id, userId, }: { id: string; userId?: string | undefined; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getBeneficiaries: ({ params, userId, }: { params?: import("./request").SearchParams | undefined; userId?: string | undefined; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getBeneficiariesWithDetail: ({ params, userId, }: { params?: import("./request").SearchParams | undefined; userId?: string | undefined; }, options?: import("./request").ExtraOptions | undefined) => Promise>; createAuthRequest: ({ redirectUri, userId, scope, connectionId, payment, standingOrder, recurringPayment, reversePayment, categorisationType, benefitsCheck, counterpartiesCheck, permissions, permissionsAction, expirationDateTime, transactionsFromDateTime, sync, accountVerification, customerIpAddress, customerLastLoggedTime, accountTypes, accountIdentification, env, }: { redirectUri?: string | undefined; userId?: string | undefined; scope: string; connectionId?: string | undefined; payment?: Payments.AuthRequestPostPayment | undefined; standingOrder?: StandingOrders.AuthRequestStandingOrderPost | undefined; recurringPayment?: Payments.AuthRequestPostRecurringPayment | undefined; reversePayment?: Payments.AuthRequestPostReversePayment | undefined; categorisationType?: Accounts.AccountType | undefined; benefitsCheck?: boolean | undefined; counterpartiesCheck?: string[] | undefined; permissions?: ("ReadStandingOrdersBasic" | "ReadStandingOrdersDetail" | "ReadBeneficiariesDetail" | "ReadAccountsDetail" | "ReadAccountsBasic" | "ReadTransactionsCredits" | "ReadTransactionsDebits" | "ReadTransactionsDetail" | "ReadProducts" | "ReadBalances" | "ReadParty") | undefined; permissionsAction?: import("./requests/types/auth-requests").PermissionsAction | undefined; expirationDateTime?: string | undefined; transactionsFromDateTime?: string | undefined; sync?: { enableAsync?: boolean | undefined; } | undefined; accountVerification?: { accVerification?: boolean | undefined; } | undefined; customerIpAddress?: string | undefined; customerLastLoggedTime?: string | undefined; accountTypes?: string[] | undefined; accountIdentification?: string[] | undefined; env?: string | undefined; }, options?: import("./request").ExtraOptions | undefined) => Promise>; completeAuthRequest: ({ id, authParams, }: { id: string; authParams: AuthRequests.AuthParams; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getAllAuthRequests: (params?: import("./request").SearchParams | undefined, options?: import("./request").ExtraOptions | undefined) => Promise>; getAuthRequest: ({ id }: { id: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; createAffordability: ({ userId }: { userId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getAffordability: ({ userId, id }: { userId: string; id: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getAllAffordability: ({ userId, ...query }: { userId: string; } & import("./request").SearchParams, options?: import("./request").ExtraOptions | undefined) => Promise>; getAccounts: ({ userId, params }: { userId?: string | undefined; params?: import("./request").SearchParams | undefined; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getAccountsWithDetails: ({ userId, }: { userId?: string | undefined; params?: import("./request").SearchParams | undefined; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getAccountsList: ({ userId, params }: { userId?: string | undefined; params?: import("./request").SearchParams | undefined; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getAccountsListWithDetails: ({ userId, }: { userId?: string | undefined; params?: import("./request").SearchParams | undefined; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getAccount: ({ userId, accountId }: { userId?: string | undefined; accountId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getAccountBalances: ({ userId, accountId, }: { userId?: string | undefined; accountId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getAccountWithDetails: ({ userId, accountId, }: { userId?: string | undefined; accountId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getAccountHoldings: ({ userId, accountId, }: { userId?: string | undefined; accountId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getAccountHoldingsWithMatches: ({ userId, accountId, }: { userId?: string | undefined; accountId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getAccountCounterparties: ({ userId, accountId, }: { userId?: string | undefined; accountId: string; params?: import("./request").SearchParams | undefined; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getAccountRecurringTransactions: ({ userId, accountId, }: { userId?: string | undefined; accountId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getAccountStandingOrders: ({ userId, accountId, }: { userId?: string | undefined; accountId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getAccountStandingOrdersWithDetail: ({ userId, accountId, }: { userId?: string | undefined; accountId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getAccountStatements: ({ userId, accountId, }: { userId?: string | undefined; accountId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getAccountStatementsWithDetail: ({ userId, accountId, }: { userId?: string | undefined; accountId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; getAccountHolding: ({ userId, accountId, holdingId, }: { userId?: string | undefined; accountId: string; holdingId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise>; createAccount: ({ userId, account }: { userId: string; account: Accounts.AccountPost; }, options?: import("./request").ExtraOptions | undefined) => Promise>; deleteAccount: ({ userId, accountId }: { userId: string; accountId: string; }, options?: import("./request").ExtraOptions | undefined) => Promise; updateAccount: ({ userId, accountId, account }: { userId: string; accountId: string; account: Accounts.AccountPatch; }, options?: import("./request").ExtraOptions | undefined) => Promise>; addAccountBalance: ({ userId, accountId, balance }: { userId: string; accountId: string; balance: Accounts.AccountBalancePost; }, options?: import("./request").ExtraOptions | undefined) => Promise>; exchangeCodeForTokensLegacy: ({ state, code, nonce, id_token, }: { state: string; code: string; nonce: string; id_token?: string | undefined; }) => Promise; exchangeCodeForTokens: (options: ExchangeCodeForTokensOptions) => Promise; exchangeCodeForTokensUsingPKCE: (options: ExchangeCodeForTokensUsingPKCEOptions) => Promise; refreshTokens: ({ refreshToken }: { refreshToken: string | import("openid-client").TokenSet; }) => Promise; getClientCredentialTokens: ({ scope, sub }: { scope: string; sub?: string | undefined; }) => Promise; getJWTBearerToken: ({ scope, sub }: { scope: string; sub: string; }) => Promise; createJWTBearerGrantToken: (subject: string) => Promise; getAuthorizeUrl: ({ state, scope, nonce, claims, permissions, permissionsAction, enableAsync, accVerification, expirationDateTime, transactionFromDateTime, codeChallenge, }: GetAuthorizeUrlOptions) => Promise; getAuthorizeUrlUsingPKCE: ({ pkce, ...options }: GetAuthorizeUrlUsingPKCEOptions) => Promise; getAuthorizeUrlLegacy: ({ state, scope, nonce, claims, permissions, permissionsAction, enableAsync, expirationDateTime, transactionFromDateTime, codeChallenge, }: { state?: string | undefined; scope: string; nonce?: string | undefined; claims?: any; permissions?: string[] | undefined; permissionsAction?: import("./requests/types/auth-requests").PermissionsAction | undefined; enableAsync?: boolean | undefined; expirationDateTime?: string | undefined; transactionFromDateTime?: string | undefined; codeChallenge?: string | undefined; }) => Promise; getAuthorizeUrlFromRequestUri: ({ requestUri }: { requestUri: string; }) => string; requestObject: ({ scope, state, claims, nonce, pkceParams, }: { scope: string; state?: string | undefined; claims: object; nonce?: string | undefined; pkceParams?: { code_challenge: string; code_challenge_method: string; } | undefined; }) => Promise; getRequestUri: (requestObject: any) => Promise; getAuthorizeUrlForCreatedUser: ({ bankId, state, nonce, userId, claims, permissions, permissionsAction, expirationDateTime, transactionFromDateTime, enableAsync, codeChallenge, }: { bankId: string; state?: string | undefined; nonce?: string | undefined; userId: string; claims?: any; permissions?: string[] | undefined; permissionsAction?: import("./requests/types/auth-requests").PermissionsAction | undefined; expirationDateTime?: string | undefined; transactionFromDateTime?: string | undefined; enableAsync?: boolean | undefined; codeChallenge?: string | undefined; }) => Promise; getReauthAuthorizeUrlForCreatedUser: ({ userId, connectionId, state, nonce, claims, expirationDateTime, transactionFromDateTime, enableAsync, codeChallenge, }: { userId: string; connectionId: string; state?: string | undefined; nonce?: string | undefined; claims?: any; expirationDateTime?: string | undefined; transactionFromDateTime?: string | undefined; enableAsync?: boolean | undefined; codeChallenge: string; }) => Promise; getReconsentAuthorizeUrlForCreatedUser: ({ userId, connectionId, expiresAt, state, nonce, claims, codeChallenge, }: { userId: string; connectionId: string; state?: string | undefined; nonce?: string | undefined; claims?: any; expiresAt?: string | undefined; codeChallenge?: string | undefined; }) => Promise; getRefreshAuthorizeUrlForCreatedUser: ({ userId, connectionId, state, nonce, claims, expirationDateTime, transactionFromDateTime, enableAsync, codeChallenge, }: { userId?: string | undefined; connectionId: string; state?: string | undefined; nonce?: string | undefined; claims?: any; expirationDateTime?: string | undefined; transactionFromDateTime?: string | undefined; enableAsync?: boolean | undefined; codeChallenge?: string | undefined; }) => Promise; getPaymentAuthorizeUrl: ({ bankId, payeeRef, payeeId, payee, payer, payeeType, amount, payerRef, payerId, payerType, state, nonce, context, readRefundAccount, userId, claims, codeChallenge, }: { bankId: string; payeeRef: string; payeeId?: string | undefined; payeeType?: Payments.PaymentActorType | undefined; amount: number; payerRef: string; payerId?: string | undefined; payee?: Payees.RequestPayee | undefined; payer?: Payees.RequestPayer | undefined; payerType?: Payments.PayerType | undefined; state?: string | undefined; nonce?: string | undefined; context?: string | undefined; readRefundAccount?: boolean | undefined; userId?: string | undefined; claims?: any; codeChallenge?: string | undefined; }) => Promise; getReversePaymentAuthorizeUrl: ({ bankId, paymentId, state, nonce, amount, claims, payerId, payerType, payer, codeChallenge, }: { bankId: string; paymentId: string; state?: string | undefined; nonce?: string | undefined; amount: number; claims?: any; payerId?: string | undefined; payerType?: Payments.PayerType | undefined; payer?: Payees.RequestPayer | undefined; codeChallenge?: string | undefined; }) => Promise; getRecurringPaymentAuthorizeUrl: ({ bankId, payeeId, payee, payeeType, payerId, payerType, reference, validFromDate, validToDate, maximumIndividualAmount, currency, periodicLimits, type, context, state, nonce, userId, claims, codeChallenge, }: { bankId: string; payeeId?: string | undefined; payee?: Payees.RequestPayee | undefined; payeeType?: Payments.PaymentActorType | undefined; payerId?: string | undefined; payerType?: Payments.PayerType | undefined; reference?: string | undefined; validFromDate?: string | undefined; validToDate?: string | undefined; maximumIndividualAmount?: number | undefined; currency?: string | undefined; periodicLimits?: any; type?: string | undefined; context?: string | undefined; state?: string | undefined; nonce?: string | undefined; userId: string; claims?: any; codeChallenge?: string | undefined; }) => Promise; getStandingOrderAuthorizeUrl: ({ bankId, payeeId, payee, payeeType, payerId, payerType, reference, frequency, numberOfPayments, firstPaymentAmount, recurringPaymentAmount, finalPaymentAmount, currency, firstPaymentDate, recurringPaymentDate, finalPaymentDate, state, nonce, context, claims, codeChallenge, }: { bankId: string; payeeId?: string | undefined; payee?: Payees.RequestPayee | undefined; payeeType?: Payments.PaymentActorType | undefined; payerId?: string | undefined; payerType?: Payments.PayerType | undefined; reference: string; frequency: StandingOrders.StandingOrderFrequency; numberOfPayments?: number | undefined; firstPaymentAmount: number; recurringPaymentAmount: number; finalPaymentAmount: number; currency?: string | undefined; firstPaymentDate: string; recurringPaymentDate: string; finalPaymentDate: string; state?: string | undefined; nonce?: string | undefined; context: string; claims?: any; codeChallenge?: string | undefined; }) => Promise; getPushedAuthorisationRequestUrl: ({ bankId, state, nonce, userId, claims, permissions, permissionsAction, expirationDateTime, transactionFromDateTime, enableAsync, codeChallenge, }: { bankId: string; state?: string | undefined; nonce?: string | undefined; userId?: string | undefined; context?: string | undefined; claims?: any; permissions?: string[] | undefined; permissionsAction?: import("./requests/types/auth-requests").PermissionsAction | undefined; expirationDateTime?: string | undefined; transactionFromDateTime?: string | undefined; enableAsync?: boolean | undefined; codeChallenge?: string | undefined; }) => Promise; }>; export declare type MoneyhubInstance = Awaited>; declare const Moneyhub: (apiClientConfig: ApiClientConfig) => Promise; import type * as Accounts from "./schema/account"; import type * as Affordability from "./schema/affordability"; import type * as AuthRequests from "./schema/auth-request"; import type * as Balances from "./schema/balance"; import type * as Beneficiaries from "./schema/beneficiary"; import type * as Categories from "./schema/category"; import type * as CategorisedTransactions from "./schema/categorised-transactions"; import type * as Counterparties from "./schema/counterparty"; import type * as Connections from "./schema/connection"; import type * as Holdings from "./schema/holding"; import type * as NotificationThresholds from "./schema/notification-threshold"; import type * as Osip from "./schema/osip"; import type * as Payees from "./schema/payee"; import type * as Payments from "./schema/payment"; import type * as Projects from "./schema/project"; import type * as RegularTransactions from "./schema/regular-transaction"; import type * as RentalRecords from "./schema/rental-record"; import type * as SavingsGoals from "./schema/savings-goal"; import type * as SpendingAnalysis from "./schema/spending-analysis"; import type * as SpendingGoals from "./schema/spending-goal"; import type * as StandingOrders from "./schema/standing-order"; import type * as Statements from "./schema/statement"; import type * as Syncs from "./schema/sync"; import type * as Taxes from "./schema/tax"; import type * as Transactions from "./schema/transaction"; import type * as Users from "./schema/user"; export { Accounts, Affordability, AuthRequests, Balances, Beneficiaries, Categories, CategorisedTransactions, Counterparties, Connections, Holdings, NotificationThresholds, Osip, Payees, Payments, Projects, RegularTransactions, RentalRecords, SavingsGoals, SpendingAnalysis, SpendingGoals, StandingOrders, Statements, Syncs, Taxes, Transactions, Users, ApiClientConfig, Moneyhub, PkceAuthoriseOptions, PkceExchangeOptions, GetAuthorizeUrlOptions, GetAuthorizeUrlUsingPKCEOptions, ExchangeCodeForTokensOptions, ExchangeCodeForTokensUsingPKCEOptions, LocalParams, ParamsFromCallback, }; //# sourceMappingURL=index.d.ts.map