import type { ToolIssue } from "./errors"; import type { Schema, SchemaKind } from "./Schema"; export interface SchemaCheckOptions { /** The schema is a property (or a param), so `omit()` needs it to be optional. */ isProperty: boolean; } /** Checks a schema and everything under it. `path` names it in messages, e.g. `"body.reason"`. */ export declare function checkSchema(schema: Schema, path: string, options: SchemaCheckOptions, issues: ToolIssue[]): void; export declare function isLiteral(kind: SchemaKind): boolean; export declare function error(code: ToolIssue["code"], path: string | undefined, message: string): ToolIssue;