import type { Grants } from "../../grants.js"; /** The structural app shape this rail registers on (mirrors the intent-sign rail). */ export interface CredentialRailApp { get?(path: string, ...handlers: unknown[]): unknown; post?(path: string, ...handlers: unknown[]): unknown; } export declare function registerGrantCredentialGate(app: CredentialRailApp, grants: Grants): void;