import type { TContext } from '../../../controllers/common/types'; import type { TNullable } from '@venizia/ignis-helpers/common'; import type { Env } from 'hono'; import type { IAuthorizationDomainSource, IAuthorizationSpec, IAuthorizeOptions } from '../common/types'; /** Read a domain value from a declarative source on the Hono context. */ export declare const readDeclarative: (opts: { source: IAuthorizationDomainSource; context: TContext; }) => TNullable; /** Resolve the request domain, precedence spec.domain (method | declarative) -> options.domainResolver -> SYSTEM_WIDE, as a casbin domain string ("_") or the SYSTEM_WIDE sentinel. */ export declare const resolveRequestDomain: (opts: { spec: IAuthorizationSpec; context: TContext; options: TNullable; }) => Promise; //# sourceMappingURL=request-domain.d.ts.map