/** * @deprecated unused */ export interface Action { id: string; type: string; state: 'started' | 'completed' | 'failed'; message: string; } /** * @deprecated unused */ export type SendAction = (action: Action) => Promise; /** * @deprecated unused */ export declare function makeActionWrapper(sendAction: SendAction): (message: string, type: string, action: () => Promise) => Promise; /** * @deprecated unused */ export declare function makeAction(sendAction: SendAction | undefined, type: string, message: string): (state?: Action["state"]) => Promise; //# sourceMappingURL=action.d.ts.map