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