import type { SubstrateEvent } from "../../events/types.js";
import type { SubscriptionRecord } from "../subscriptions/subscription_types.js";
import type { SyncWebhookPayload } from "./sync_webhook_inbound.js";
import type { SyncEntitiesPayload } from "./sync_webhook_inbound.js";
export declare function getNeotomaPublicBaseUrl(): string | null;
export declare function getLocalPeerIdForOutboundSync(): string | null;
export declare function postOutboundSyncWebhook(params: {
    peerUrlBase: string;
    sharedSecret?: string;
    authMethod?: "aauth" | "shared_secret";
    payload: SyncWebhookPayload;
}): Promise<{
    ok: boolean;
    status?: number;
    error?: string;
}>;
export declare function postOutboundSyncEntitiesRequest(params: {
    peerUrlBase: string;
    sharedSecret?: string;
    authMethod?: "aauth" | "shared_secret";
    payload: SyncEntitiesPayload;
}): Promise<{
    ok: boolean;
    status?: number;
    error?: string;
    rows?: Array<{
        entity_id: string;
        entity_type: string;
        observed_at: string;
        source_observation_id: string;
        snapshot: Record<string, unknown>;
    }>;
}>;
export declare function queuePeerSyncDelivery(sub: SubscriptionRecord, event: SubstrateEvent): void;
//# sourceMappingURL=sync_webhook_outbound.d.ts.map