import Request from './request'; import InferMethod from './method/string/infer'; import InferPath from './path/path/infer'; import InferHeader from '../headers/record/infer'; import InferBody from '../body/value/infer'; import Partial from '@alirya/object/partial'; export declare class CreateClass = Record, Body = unknown> implements Request { method: Method; path: Path; headers: Headers; body: Body; constructor(method: Method, path: Path, headers: Headers, body: Body); } export declare function CreateParameters = Record, Body = unknown>(method: Method, path: Path, headers?: Headers, body?: Body): Request; export declare type RequestParameterReturn> = Request, InferPath, InferHeader extends never ? {} : InferHeader, InferBody extends never ? unknown : InferBody>; export declare function CreateParameter>(request: RequestType): RequestParameterReturn; declare namespace RequestFunction { const Parameters: typeof CreateParameters; const Parameter: typeof CreateParameter; const Class: typeof CreateClass; type ParameterReturn> = RequestParameterReturn; } export default RequestFunction; //# sourceMappingURL=create.d.ts.map