@hotdocx/endash-kernel 0.0.0-stage → 0.1.0-preview.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +15 -0
- package/README.md +2 -2
- package/index.cjs +14 -0
- package/index.d.ts +12 -0
- package/index.mjs +14 -0
- package/package.json +25 -4
package/index.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type VerificationReport = {
|
|
2
|
+
readonly ok: boolean;
|
|
3
|
+
readonly frozenDefsChecked: readonly string[];
|
|
4
|
+
readonly targetTheoremsVerified: readonly string[];
|
|
5
|
+
readonly violations: readonly {
|
|
6
|
+
readonly code: string;
|
|
7
|
+
readonly declName?: string;
|
|
8
|
+
readonly message: string;
|
|
9
|
+
}[];
|
|
10
|
+
};
|
|
11
|
+
/** Load an explicit stdlib bundle and verify every declaration before accepting challenges. */
|
|
12
|
+
export declare function createVerifier(stdlibSnapshot: string): (statement: string, proof: string) => VerificationReport;
|