/**
 * File was automatically generated using json-schema-to-typescript.
 * DO NOT MODIFY IT BY HAND.
 * Instead, modify the source file https://formats.openag.io/oada/websockets/request.schema.json of @oada/formats
 * and run `$ yarn build` to regenerate this file.
 */
/**
 * $id of the source schema
 * @see {@link https://formats.openag.io/oada/websockets/request.schema.json}
 */
export declare const $id = "https://formats.openag.io/oada/websockets/request.schema.json";
/**
 * Returns true if val is a @type Request, false otherwise
 */
export declare function is(val: any): val is Request;
/**
 * Asserts that val is a @type Request
 */
export declare function assert(val: any): asserts val is Request;
export default Request;
/**
 * This interface was referenced by `Request`'s JSON-Schema
 * via the `definition` "id".
 */
export declare type Id = string;
/**
 * This is the format of an OADA websocket request (client to server)
 */
export interface Request {
    requestId: string;
    /**
     * The represenation of a path within an OADA server
     */
    path: string;
    method: ("head" | "get" | "put" | "post" | "delete") | ("watch" | "unwatch" | "ping");
    headers: {
        authorization: string;
        [k: string]: unknown;
    };
    /**
     * The optional data payload of the request
     */
    data?: {
        [k: string]: unknown;
    };
    [k: string]: unknown;
}
//# sourceMappingURL=request.d.ts.map