/**
 * DEPRECATED — `DataGateway` has moved to the AEOESS Gateway.
 *
 * This class was product intelligence (composable enforcement + terms
 * acceptance runtime), not a protocol primitive. It lives at @aeoess/gateway
 * (src/sdk-migrated/core/data-gateway.ts).
 *
 * Interface types remain here for compatibility with `ProxyGateway` config.
 * See MIGRATION.md#data-lifecycle.
 */
import type { SourceReceipt } from '../types/data-source.js';
import type { DataAccessRequest, DataAccessDecision } from './data-enforcement.js';
export interface TermsAcceptance {
    agentId: string;
    agentPublicKey: string;
    sourceReceiptId: string;
    acceptedAt: string;
    compensationAcknowledged: boolean;
    signature?: string;
}
export interface DataGatewayConfig {
    gatewayId: string;
    gatewayPublicKey: string;
    gatewayPrivateKey: string;
    enforcementMode: 'enforce' | 'audit' | 'off';
    requireTermsAcceptance: boolean;
    onAccessBlocked?: (agentId: string, source: string, reason: string) => void;
    onAccessGranted?: (agentId: string, source: string, receiptId: string) => void;
    onTermsAccepted?: (acceptance: TermsAcceptance) => void;
}
export declare class DataGateway {
    constructor(_config?: unknown, _ledger?: unknown);
    registerSource(_receipt: SourceReceipt, _descriptor: string): void;
    acceptTerms(_opts: {
        agentId: string;
        agentPublicKey: string;
        sourceReceiptId: string;
        signature?: string;
    }): TermsAcceptance;
    hasAcceptedTerms(_agentId: string, _sourceReceiptId: string): boolean;
    requestAccess(_request: DataAccessRequest): DataAccessDecision;
    preflightAccess(_requests: DataAccessRequest[]): {
        allAllowed: boolean;
        decisions: DataAccessDecision[];
    };
    getEnforcementGate(): never;
    getLedger(): never;
    getAcceptances(): TermsAcceptance[];
    revokeAcceptance(_agentId: string, _sourceReceiptId: string): boolean;
    revokeAllAcceptancesForSource(_sourceReceiptId: string): number;
}
//# sourceMappingURL=data-gateway.d.ts.map