@mintlify/common
Version:
Commonly shared code within Mintlify
8 lines (7 loc) • 319 B
TypeScript
import { AsyncAPIDocumentInterface, AsyncAPIParserInput } from '../types/asyncapi.js';
export type ValidateAsyncApiResult = {
valid: boolean;
errorMessage?: string;
document?: AsyncAPIDocumentInterface;
};
export declare function validateAsyncApi(str: AsyncAPIParserInput): Promise<ValidateAsyncApiResult>;