/** * The options of a rule whose suggestion needs a newer Obsidian API: its * `minAppVersion` takes the place of the one in manifest.json. */ export type MinAppVersionOptions = [{ minAppVersion?: string; }?]; export declare const minAppVersionSchema: { type: "object"; properties: { minAppVersion: { type: "string"; description: string; }; }; additionalProperties: boolean; }[]; /** * A version semver can compare: as written when valid, a bare "x" or "x.y" * with the missing parts read as 0 ("0.15" is 0.15.0), else undefined. Nothing * looser: semver's coerce would read "x99.0.0" as 99.0.0, and a manifest could * then switch a check off with a minAppVersion Obsidian does not read that way. */ export declare function toVersion(raw: string): string | undefined; /** * Whether the plugin's minimum app version, from the rule's `minAppVersion` * option or else from manifest.json, is `since` or later: true or false, or * undefined when there is no such version or it is not one that can be read. * * A suggestion whose replacement needs `since` is not offered when this is * false, and says which version it needs when this is undefined. */ export declare function supportsVersion(option: string | undefined, since: string): boolean | undefined;