import { Platform, GatewayConfig } from './config';
import { PlatformAdapter } from './platform-registry';
import { SessionSource } from './session';
export interface DeliveryTarget {
    platform: Platform;
    chatId?: string;
    threadId?: string;
    isOrigin: boolean;
    isExplicit: boolean;
}
export declare function parseDeliveryTarget(target: string, origin?: SessionSource): DeliveryTarget | null;
export declare class DeliveryRouter {
    private _config;
    private _adapters;
    constructor(_config: GatewayConfig, adapters?: Map<Platform, PlatformAdapter>);
    setAdapters(adapters: Map<Platform, PlatformAdapter>): void;
    deliver(content: string, targets: DeliveryTarget[], metadata?: {
        jobId?: string;
        jobName?: string;
    }): Promise<Record<string, {
        success: boolean;
        error?: string;
    }>>;
    private _deliverLocal;
    private _deliverToPlatform;
}
//# sourceMappingURL=delivery.d.ts.map