import type { IIntegrationProtocolOption } from '../../../useOptions.js'; import { type Ref } from '#imports'; export declare const ActionStateProps: { src: { type: StringConstructor; requird: boolean; }; }; export interface IActionStateProps { src?: string; } export interface IActionState { data: Ref; status: Ref; action: ActionFunction; executing: Ref; } export type ActionFunction = (method: string, params: unknown, status: Ref, data: Ref) => Promise; export interface IActionProp { src: string; key: string; option: IIntegrationProtocolOption; type: string; url: string; srcPath: string[]; headers?: Record; } export interface IActionStateHelperProps { method: string; params: unknown; status: Ref; data: Ref; } export declare function useActionState

(props: P): IActionState;