agentfootprint
Version:
The explainable agent framework — backtrack a wrong answer to the exact context that caused it (evidence, not guesses). Built on footprintjs.
14 lines • 841 B
TypeScript
/**
* The app's declared data — validated at call time. A bad declaration is a
* CALLER error and throws (on the server the declarations are the host's, handed
* in at boot, so it throws when the host boots, never per request).
*
* Rules: labels non-empty, one plain visible line (`lib/plainLine.ts` ·
* `plainLineProblem`, the rule `short` and `title` use), at most 60 characters; `rowsAt` a non-empty
* top-level key with no `/` or `.`; unknown keys refused by name.
*/
import type { AnswerAccountDeclarations } from './types.js';
export declare const MAX_LABEL_CHARS = 60;
/** Returns the declarations (or `{}`), or throws a `TypeError` naming the first problem. */
export declare function validateDeclarations(value: AnswerAccountDeclarations | undefined): AnswerAccountDeclarations;
//# sourceMappingURL=declarations.d.ts.map