import { type ConstExpr } from '@skyleague/axioms'; import type { ThereforeExpr } from '../../cst/cst.js'; import type { Node } from '../../cst/node.js'; import type { SchemaOptions } from '../base.js'; import { ObjectType } from '../object/object.js'; export type RecordOptions = object; export declare class RecordType extends ObjectType { infer: Record; input: Record; element: IndexType; key: IndexType; constructor(recordType: ThereforeExpr, options: SchemaOptions>); } /** * Create a new `RecordType` instance with the given options. * * ### Example * ```ts * $record($integer) * * $record($boolean()) * ``` * * @param items - The items on this record. * @param options - Additional options to pass to the record. * * @group Primitives */ export declare function $record(items: ConstExpr, options?: SchemaOptions>): RecordType; /** * @deprecated use $record instead */ export declare function $dict(items: ConstExpr, options?: SchemaOptions>): RecordType;