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