import { Relay } from './index.js';
export declare class RelayBuilder {
    private relay;
    constructor();
    build(): Relay;
    /**
     * Relay a request header using a different name.
     * Header relay rules aren't case-sensitive because http headers aren't case sensitive.
     * @param from The name of the request header to relay from the incoming request.
     * @param to   The new name of the request header to relay to the outgoing request.
     */
    relayHeaderRename(from: string, to: string): RelayBuilder;
    /**
     * Relay request headers using the same names.
     * @param from The names of the incoming request headers to relay from.
     *
     * Header relay rules aren't case-sensitive because http headers aren't case sensitive.
     */
    relayHeaders(from: string[]): RelayBuilder;
    /**
     * Relay a request query parameter using a different name.
     * @param from The name of the request query parameter to relay from the incoming request.
     * @param to   The new name of the request query parameter to relay to the outgoing request.
     */
    relayQueryRename(from: string, to: string): RelayBuilder;
    /**
     * Relay request query parameters using the same names.
     * @param from The names of the incoming request query parameters to relay from.
     */
    relayQuery(from: string[]): RelayBuilder;
    /**
     * Relay request a query body field using a different name.
     * @param from The name of the request body field to relay from the incoming request.
     * @param to   The new name of the request body field to relay to the outgoing request.
     */
    relayBodyRename(from: string, to: string): RelayBuilder;
    /**
     * Relay query body fields using the same names.
     * @param from: The names of the incoming request body fields to relay from.
     */
    relayBody(from: string[]): RelayBuilder;
}
//# sourceMappingURL=builder.d.ts.map