import { CONTEXT_VARIABLE_TYPE } from '@contract-case/case-entities-internal'; import { AnyMatcher } from '../base'; /** * Matches the content of a variable that comes from a state. See {@link https://case.contract-testing.io/docs/defining-contracts/state-definitions | state * definitions} * and {@link https://case.contract-testing.io/docs/reference/state-handlers | state handlers} for * more details. * * @public */ export declare class StateVariable extends AnyMatcher { /** @internal */ readonly '_case:matcher:type': typeof CONTEXT_VARIABLE_TYPE; /** @internal */ readonly '_case:matcher:variableName': string; /** * Matches the content of a variable that comes from a state. See * {@link https://case.contract-testing.io/docs/defining-contracts/state-definitions | state definitions} * and {@link https://case.contract-testing.io/docs/reference/state-handlers | state handlers} for * more details. * @param name - The name of the variable */ constructor(name: string); /** * For non-TypeScript implementations (see `AnyMatcher.toJSON`) * * @privateRemarks * This comment and the implementation is boilerplate on all matchers to avoid * outputting duplicate unimportant documentation on all matcher classes of * the docs. Only modify this comment or the implementation via search and replace. */ toJSON(): unknown; } //# sourceMappingURL=StateVariable.d.ts.map