import { OptionalStringMap } from "../util"; import { Client } from "../client"; import { HttpResponse } from "../agent"; export interface Options { resource: string; action?: string; client: Client; } export interface Request { query?: OptionalStringMap; header?: OptionalStringMap; timeout?: number; } export interface Response extends HttpResponse { body: U; } export declare const retrieveMethod: (options: Options) => (id: string, request: T) => Promise>; export declare const listMethod: (options: Options) => (request: T) => Promise>;