Files
NapCatQQ/.pnpm-store/v3/files/66/09f6725dabb385255e389f23f2ee9f331f8285778412c0572932f1eae58c9d4b6697504de6c8e0b1abf74db513111a88fb649356d82cad4673885c4d8bf520
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

7 lines
512 B
Plaintext

import type { TSchema } from '../../type/schema/index';
import type { StaticDecode } from '../../type/static/index';
/** Decodes a value or throws if error */
export declare function Decode<T extends TSchema, Static = StaticDecode<T>, Result extends Static = Static>(schema: T, references: TSchema[], value: unknown): Result;
/** Decodes a value or throws if error */
export declare function Decode<T extends TSchema, Static = StaticDecode<T>, Result extends Static = Static>(schema: T, value: unknown): Result;