/*!
 * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
 * Licensed under the MIT License.
 */
import type { NodeSchemaOptionsAlpha } from "../../api/index.js";
import { NodeKind, type ImplicitAllowedTypes, type TreeNodeSchemaCorePrivate } from "../../core/index.js";
import type { RecordNodeCustomizableSchema, RecordNodePojoEmulationSchema } from "./recordNodeTypes.js";
/**
 * {@link recordSchema} options.
 * @input
 */
export interface RecordSchemaOptions<TName extends string, TAllowedTypes extends ImplicitAllowedTypes, TImplicitlyConstructable extends boolean, TCustomMetadata = unknown> {
    /**
     * Unique identifier for this schema within this factory's scope.
     */
    readonly identifier: TName;
    readonly customizable: boolean;
    /**
     * The kinds of nodes that are allowed as children of this record.
     */
    readonly info: TAllowedTypes;
    readonly implicitlyConstructable: TImplicitlyConstructable;
    readonly nodeOptions?: NodeSchemaOptionsAlpha<TCustomMetadata>;
}
/**
 * Define a {@link TreeNodeSchema} for a {@link TreeRecordNode}.
 *
 * @param fields - Schema for fields of the object node's schema. Defines what children can be placed under each key.
 * @param persistedMetadata -
 */
export declare function recordSchema<TName extends string, const TAllowedTypes extends ImplicitAllowedTypes, const TImplicitlyConstructable extends boolean, const TCustomMetadata = unknown>(options: RecordSchemaOptions<TName, TAllowedTypes, TImplicitlyConstructable, TCustomMetadata>): RecordNodeCustomizableSchema<TName, TAllowedTypes, TImplicitlyConstructable, TCustomMetadata> & RecordNodePojoEmulationSchema<TName, TAllowedTypes, TImplicitlyConstructable, TCustomMetadata> & TreeNodeSchemaCorePrivate<string, NodeKind, never, boolean, unknown, unknown>;
//# sourceMappingURL=recordNode.d.ts.map