import { FetchState, ID } from '../../commonStateTypes/common'; import { TransactionID } from '../../entity/transaction/stateTypes/transactionID'; /** Which pool `fetchAccountsForTransferFlow` / transfer-flow epic should load. */ export declare const TRANSFER_ACCOUNTS_FETCH_TYPE: readonly ["transferEntryEligible", "creditCardOnlyEligible"]; export type TransferAccountsFetchType = (typeof TRANSFER_ACCOUNTS_FETCH_TYPE)[number]; export interface TransferAccountsState { accountIds: ID[]; fetchState: FetchState; } export type TransferEntryRouteReplacement = { newTransactionId: TransactionID; previousTransactionId: TransactionID; }; export interface CreateTransferEntryState { createTransferEntryStatus: FetchState; /** * Set when create-transfer returns a new transaction id (the source expense * has been replaced by a new transfer/credit-card-payment row). The host * navigates to the new url and then dispatches * `clearTransferEntryRouteReplacement` to clear this one-shot signal. */ lastTransferEntryReplacement: TransferEntryRouteReplacement | undefined; /** * Per-type fetch state + account-id list for the dropdowns shown in the * transfer drawer (eligible accounts for `transfer`, credit-card-only * accounts for `credit_card_payment`). */ transferAccountsByType: Record; } export declare const initialCreateTransferEntryState: CreateTransferEntryState;