1 | export type IExtensionName = `x-${string}`;
|
2 | export type IExtensionType = any;
|
3 | export type ISpecificationExtension = {
|
4 | [extensionName: IExtensionName]: IExtensionType;
|
5 | };
|
6 | export declare class SpecificationExtension implements ISpecificationExtension {
|
7 | [extensionName: IExtensionName]: any;
|
8 | static isValidExtension(extensionName: string): boolean;
|
9 | getExtension(extensionName: string): any;
|
10 | addExtension(extensionName: string, payload: any): void;
|
11 | listExtensions(): string[];
|
12 | }
|