import { Encoding } from './Encoding'; import { Example } from './Example'; import { Node } from './Node'; import { Schema } from './Schema'; import type { Header } from './Header'; import type { ParameterBase } from './Parameter'; import type { RequestBody } from './RequestBody'; import type { Response } from './Response'; import type { MediaTypeModel } from './types'; import type { Nullable } from '@fresha/api-tools-core'; type MediaTypeParent = ParameterBase | RequestBody | Response | Header; export declare class MediaType extends Node implements MediaTypeModel { #private; constructor(parent: MediaTypeParent); get schema(): Nullable; addSchema(): Schema; deleteSchema(): void; get exampleCount(): number; exampleKeys(): IterableIterator; examples(): IterableIterator<[string, Example]>; hasExample(key: string): boolean; addExample(key: string): Example; deleteExample(key: string): void; clearExamples(): void; get encodingCount(): number; encodingKeys(): IterableIterator; encodings(): IterableIterator<[string, Encoding]>; hasEncoding(key: string): boolean; addEncoding(key: string): Encoding; deleteEncoding(key: string): void; clearEncodings(): void; } export {}; //# sourceMappingURL=MediaType.d.ts.map