import type { KeywordCxt } from "../compile/validate";
import type Ajv from "../core";
interface _SchemaObject {
+ id?: string;
$id?: string;
$schema?: string;
[x: string]: any;
}
export interface SchemaObject extends _SchemaObject {
+ id?: string;
$id?: string;
$schema?: string;
$async?: false;
}
export declare type AddedFormat = true | RegExp | FormatValidator<string> | FormatDefinition<string> | FormatDefinition<number> | AsyncFormatDefinition<string> | AsyncFormatDefinition<number>;
export declare type Format = AddedFormat | string;
+export interface RegExpEngine {
+ (pattern: string, u: string): RegExpLike;
+ code: string;
+}
+export interface RegExpLike {
+ test: (s: string) => boolean;
+}
export {};