import { BasicNode } from './BasicNode'; import { ServerVariable } from './ServerVariable'; import type { ServerModel, ServerModelParent } from './types'; import type { CommonMarkString, Nullable } from '@fresha/api-tools-core'; /** * @see http://spec.openapis.org/oas/v3.0.3#server-object */ export declare class Server extends BasicNode implements ServerModel { #private; constructor(parent: ServerModelParent, url: string, variableDefaults?: Record); get url(): string; set url(value: string); get description(): Nullable; set description(value: Nullable); get variableCount(): number; variableNames(): IterableIterator; variables(): IterableIterator<[string, ServerVariable]>; hasVariable(name: string): boolean; getVariable(name: string): ServerVariable | undefined; getVariableOrThrow(name: string): ServerVariable; } //# sourceMappingURL=Server.d.ts.map