declare type UnknownBody = Record; declare type UnknownQuery = Record; export interface ActionPayload { readonly query?: Q; readonly body?: B; } export declare type RestMethod = "GET" | "POST" | "PATCH" | "PUT" | "DELETE"; export declare type UnknownActionPayload = ActionPayload; export declare type EndpointOptions

= { path?: string; payload?: P; }; export interface Endpoint { runAction

(method: RestMethod, options?: EndpointOptions

): Promise; } export {};