import { ResourceActionOptions } from './resource-action-options'; /** * Type that describes the value signature for a `ResourceHeaderDefault` * instance. */ export declare type ResourceHeaderDefaultValue = ((query: Object, payload: Object, options: ResourceActionOptions) => string) | string; /** * Class that defines a http header default for building * requests on resources. */ export declare class ResourceHeaderDefault { protected _key: string; protected _value: ResourceHeaderDefaultValue; /** * Gets the key of the http header. * @returns {string} */ get key(): string; /** * Gets the value of the http header. * @returns {string} */ getValue(query: Object, payload: Object, options: ResourceActionOptions): string; /** * @param {string} _key Key of the url parm. * @param {ResourceHeaderDefaultValue} _value Value of the url param as string or as getter function. */ constructor(_key: string, _value: ResourceHeaderDefaultValue); } /** * Class that defines a http header default that takes the value from the * payload object for building requests on resources. */ export declare class ResourceHeaderDefaultFromPayload extends ResourceHeaderDefault { constructor(key: string, value: string); }