import type { KernelScoreResult, FafbInfo } from '../core/types.js'; export declare function score(yaml: string): KernelScoreResult; /** Score a .faf YAML string (33 enterprise slots), as the file is (a leading BOM is not scored). */ export declare function scoreEnterprise(yaml: string): KernelScoreResult; /** Validate .faf YAML (a leading BOM is left out, as in {@link score}: `faf check` reads a BOM file). */ export declare function validate(yaml: string): boolean; /** Compile .faf YAML to FAFb binary (a leading BOM is not compiled, as in * {@link score}: `faf compile` and `faf refresh` read a BOM file). */ export declare function compile(yaml: string): Uint8Array; /** Decompile FAFb binary to JSON info */ export declare function decompile(bytes: Uint8Array): FafbInfo; /** Get FAFb file metadata */ export declare function fafbInfo(bytes: Uint8Array): FafbInfo; /** Score a compiled .fafb — same JSON shape as {@link score}. */ export declare function scoreFafb(bytes: Uint8Array): KernelScoreResult; /** Get WASM SDK version */ export declare function sdkVersion(): string;