@nolebase/vitepress-plugin-page-properties
Version:
A VitePress plugin that renders frontmatter as page properties, and makes them editable.
9 lines (8 loc) • 1.22 kB
TypeScript
import type { DatetimeProperty, DynamicProperty, LinkProperty, PlainProperty, ProgressProperty, Property, TagsProperty } from '../types';
export declare function isTagsProperty<K extends PropertyKey = any>(value?: any, property?: Property<K> | null): property is TagsProperty<K> | null;
export declare function isPlainProperty<K extends PropertyKey = any>(_?: any, property?: Property<K> | null): property is PlainProperty<K> | null;
export declare function isDatetimeProperty<K extends PropertyKey = any>(value?: any, property?: Property<K> | null): property is DatetimeProperty<K> | null;
export declare function isProgressProperty<K extends PropertyKey = any>(value?: any, property?: Property<K> | null): property is ProgressProperty<K> | null;
export declare function isLinkProperty<K extends PropertyKey = any>(_?: any, property?: Property<K> | null): property is LinkProperty<K> | null;
export declare function isDynamicWordsCountProperty<K extends PropertyKey = any>(_?: any, property?: Property<K> | null): property is DynamicProperty<K> | null;
export declare function isDynamicReadingTimeProperty<K extends PropertyKey = any>(_?: any, property?: Property<K> | null): property is DynamicProperty<K> | null;