import { Container } from 'validup'; import type { AuthorizationCheckEvaluatorInput, AuthorizationCheckPermissions } from './types'; /** * The whole input `createAuthorizationCheckEvaluator` takes: the answer * `POST /authorization/check` served and the identity it belongs to. Same * validup-over-zod shape as the catalog's input, so a consumer can override * one member's rules instead of restating the answer. */ export declare class AuthorizationCheckEvaluatorInputValidator extends Container { initialize(): void; } export type AuthorizationCheckEvaluatorInputParsed = { permissions: AuthorizationCheckPermissions; identity: AuthorizationCheckEvaluatorInput['identity']; }; /** * Validate the check evaluator's input, plus the one rule a per-key validator * cannot express: a permission namespace appears at most once. Two entries for * one name would make the answer depend on which the consumer looked up first, * and the server emits one entry per name by construction. */ export declare function parseAuthorizationCheckEvaluatorInput(input: AuthorizationCheckEvaluatorInput): Promise; //# sourceMappingURL=check-schema.d.ts.map