export type RuleParameters = { [key: string]: unknown; }; export declare const MOCKTTP_PARAM_REF: unique symbol; /** * A reference to a rule parameter defined in the `ruleParameters` admin server * option of the corresponding admin server. * * Rule parameter references are only valid with a remote client. They can be useful in * cases where the admin server has access to local state or APIs that are not * accessible from the remote client, but which would be useful in rule definitions. This * is only supported for some specific parameters where documented explicitly in that rule * parameter. */ export type RuleParameterReference = { [MOCKTTP_PARAM_REF]: string; }; export declare function isParamReference(input: any): input is RuleParameterReference; export declare function dereferenceParam(paramRef: RuleParameterReference, params: RuleParameters): R; export declare function assertParamDereferenced(maybeParamRef: R | RuleParameterReference): R; //# sourceMappingURL=rule-parameters.d.ts.map