UNPKG

@adyen/adyen-platform-experience-web

Version:

![Platform Experience header](https://github.com/Adyen/adyen-platform-experience-web/assets/7926613/18094965-9e01-450e-8dc9-ea84e6b22c2b)

16 lines 811 B
import type { SelectItem } from '../components/internal/FormFields/Select/types'; import type { IBalanceAccountBase } from '../types'; export declare const ALL_BALANCE_ACCOUNTS_SELECTION_ID: string; declare const useBalanceAccountSelection: (balanceAccounts?: IBalanceAccountBase[], allowAllSelection?: boolean) => { readonly activeBalanceAccount: { defaultCurrencyCode: string; description?: string | undefined; id: string; timeZone: string; } | undefined; readonly balanceAccountSelectionOptions: Readonly<SelectItem<string>[] | undefined>; readonly onBalanceAccountSelection: ({ target }: any) => void; readonly resetBalanceAccountSelection: () => void; }; export default useBalanceAccountSelection; //# sourceMappingURL=useBalanceAccountSelection.d.ts.map