import { Optional } from '@stoplight/types'; import { MDAST } from '../ast-types'; import { IFrontmatter, PropertyPath } from './types'; export declare class Frontmatter implements IFrontmatter { readonly document: MDAST.Root; private readonly node; private properties; constructor(data: MDAST.Root | string, mutate?: boolean); get isEmpty(): boolean; getAll(): Partial | void; get(prop: PropertyPath): V | void; set(prop: PropertyPath, value: unknown): void; unset(prop: PropertyPath): void; stringify(): string; static getFrontmatterBlock(value: string): Optional; private updateDocument; }