import { IMiddlewareHandler, BuiltInMiddlewareName } from '../exports';
import { HttpSvcMiddleware } from '@http-svc/middleware';
import { IStringifyOptions } from 'qs'

export type ParamsSerializer = (params: Record<string, unknown>) => string
export interface IBodyPayload {
    stringify?: boolean
    paramsSerializer?: ParamsSerializer | IStringifyOptions
}
export declare class HttpSvcBody extends HttpSvcMiddleware<IBodyPayload> {
    static handler: IMiddlewareHandler<IBodyPayload>;
    name: BuiltInMiddlewareName
    constructor();
}
