10 lines
392 B
TypeScript
10 lines
392 B
TypeScript
import { SingleYAMLDocument } from '../parser/yamlParser07';
|
|
import { JSONDocument } from '../parser/jsonParser07';
|
|
/**
|
|
* Retrieve schema if declared as modeline.
|
|
* Public for testing purpose, not part of the API.
|
|
* @param doc
|
|
*/
|
|
export declare function getSchemaFromModeline(doc: SingleYAMLDocument | JSONDocument): string;
|
|
export declare function isModeline(lineText: string): boolean;
|