import * as State from "./types/State"; import * as Actions from "./types/Actions"; import { State as PageState } from "./types/pageStates"; import { Shopify } from "~/types/Context"; import { Translator } from "~/locale/useTranslation"; import { ReadyToDisplay } from "./CategoryItems/list/utils"; export declare const isEditedPageState: (state: PageState) => boolean; export declare const editedStateLogic: (c: Shopify, t: Translator) => (s: State.Ready, a: Actions.AcceptConfirmationPayload) => State.Ready | State.Confirmation | State.Close; export declare type ReadyOrEdited = State.Ready | State.Confirmation; export declare const isReadyOrEdited: (v: State.State) => v is State.Ready | State.Confirmation; export interface WithGoToEditorState extends Omit { page: ReadyToDisplay; } export declare const isWithGoToEditorState: (s: State.State) => s is WithGoToEditorState;