import type { PermissionTransport } from './transport.js';
import { type GrantRequest, type GrantRequestAccepted, type GrantStatus } from './types.js';
export declare class PermissionClientError extends Error {
    readonly cause?: unknown | undefined;
    readonly code: 'invalid-dependency' | 'transport-error' | 'non-canonical-response' | 'missing-required-field';
    constructor(code: PermissionClientError['code'], message: string, cause?: unknown | undefined);
}
export declare class PermissionClient {
    private readonly transport;
    constructor(transport: PermissionTransport);
    getGrantStatus(grantId: string): Promise<GrantStatus>;
    requestGrant(request: GrantRequest): Promise<GrantRequestAccepted>;
}
//# sourceMappingURL=client.d.ts.map