import type { Action, ActionWithSuffix, AnyAction } from './types.js'; /** * Checks whether an action type ends with a specific lifecycle suffix. * * @template A - The action type. * @template Suffix - The expected suffix string. * @param action - The action to check. * @param suffix - The suffix to look for. * @returns `true` if the action type ends with the requested suffix. */ export declare function isActionWithSuffix(action: A, suffix: Suffix): action is ActionWithSuffix; /** * Checks whether an action is a request lifecycle action. * * @template A - The action type. * @param action - The action to check. * @returns `true` if the action type ends with `::request`. */ export declare const isRequestAction: (action: A) => action is ActionWithSuffix; /** * Checks whether an action is a success lifecycle action. * * @template A - The action type. * @param action - The action to check. * @returns `true` if the action type ends with `::success`. */ export declare const isSuccessAction: (action: A) => action is ActionWithSuffix; /** * Checks whether an action is a failure lifecycle action. * * @template A - The action type. * @param action - The action to check. * @returns `true` if the action type ends with `::failure`. */ export declare const isFailureAction: (action: A) => action is ActionWithSuffix; /** * Checks whether an action is a successful or failed completion action. * * @template A - The action type. * @param action - The action to check. * @returns `true` if the action type ends with `::success` or `::failure`. */ export declare const isCompleteAction: (action: A) => action is ActionWithSuffix;