rearrage_stuff

This commit is contained in:
Kim Ravn Hansen
2025-09-16 11:26:40 +02:00
parent 40e8c5e0ab
commit 3f11ebe6dc
4937 changed files with 1146031 additions and 134 deletions

View File

@@ -0,0 +1,19 @@
import { type DescField } from "../descriptors.js";
import { FieldError } from "./error.js";
/**
* Check whether the given field value is valid for the reflect API.
*/
export declare function checkField(field: DescField, value: unknown): FieldError | undefined;
/**
* Check whether the given list item is valid for the reflect API.
*/
export declare function checkListItem(field: DescField & {
fieldKind: "list";
}, index: number, value: unknown): FieldError | undefined;
/**
* Check whether the given map key and value are valid for the reflect API.
*/
export declare function checkMapEntry(field: DescField & {
fieldKind: "map";
}, key: unknown, value: unknown): FieldError | undefined;
export declare function formatVal(val: unknown): string;