import type { RbacMatrix } from "../dsl/types"; /** * Import lines emitted at the head of the generated file when the caller does * not supply `importLines`. These are the neural-erp conventions and are kept * verbatim so the default output stays byte-identical for existing consumers. */ export declare const DEFAULT_IMPORT_LINES: readonly string[]; interface Options { roleNames: Record; moduleNames: Record; /** * Import lines emitted verbatim at the head of the generated file, in order. * Supply this when the consuming app's `RoleId` / `ModuleId` / module-paths * map do not live where {@link DEFAULT_IMPORT_LINES} expects them — the * generated file must be re-generatable without hand-editing its header. * Omit to keep the default (byte-identical) output. */ importLines?: string[]; } /** * Serialise an RbacMatrix to formatted TypeScript source. * Deterministic: module and role keys are sorted by UUID; tokens are * normalised per action. */ export declare function serializeMatrixToTs(matrix: RbacMatrix, opts: Options): Promise; export {}; //# sourceMappingURL=matrix-to-ts.d.ts.map