/** * The charts of accounts skr keeps, SKR03 and SKR04, and the one check every * entry point that decides by the chart makes of a name it is given: another * name, another spelling, or none is refused (`UnknownChartError`), never * read as either chart. */ import type { TSKRType } from './core.types.js'; import type { IAccountPolicy } from './core.accountpolicy.js'; /** The charts of accounts skr keeps. */ export declare const SKR_TYPES: readonly TSKRType[]; /** Whether a value read at run time names a chart skr keeps, exactly as `TSKRType` spells it. */ export declare function isSkrType(valueArg: unknown): valueArg is TSKRType; /** Refuses a value that names no chart skr keeps (`UnknownChartError`, code `chart_unknown`). */ export declare function assertSkrType(valueArg: unknown): asserts valueArg is TSKRType; /** * The chart of a policy, checked: every recipe and every list of the chart's * accounts reads the chart through here, so a policy built by hand with a * chart skr does not keep is refused rather than read as another. */ export declare function chartOf(policyArg: Pick): TSKRType;