import { RatesReducerState, SwapTransactionType } from "../types";
type PageState = "initial" | "empty" | "loading" | "loaded";
type SwapError = SwapTransactionType["fromAmountError"] | RatesReducerState["error"] | {
    message: string;
};
export declare const usePageState: (swapTransaction: SwapTransactionType, swapError: SwapError | undefined) => PageState;
export {};
//# sourceMappingURL=usePageState.d.ts.map