export interface SyncWebhookPayload {
    sender_peer_id: string;
    sender_peer_url: string;
    target_user_id: string;
    entity_id: string;
    source_observation_id: string;
    guest_access_token?: string;
}
export interface SyncEntitiesPayload {
    sender_peer_id: string;
    target_user_id: string;
    entity_types: string[];
    observed_after?: string;
    limit?: number;
}
export declare function applyInboundSyncWebhook(params: {
    rawBody: string;
    signatureHeader: string | undefined;
    verifiedAauthThumbprint?: string;
}): Promise<{
    status: string;
    entity_id?: string;
}>;
export declare function applyInboundSyncEntitiesRequest(params: {
    rawBody: string;
    signatureHeader: string | undefined;
    verifiedAauthThumbprint?: string;
}): Promise<{
    rows: Array<{
        entity_id: string;
        entity_type: string;
        observed_at: string;
        source_observation_id: string;
        snapshot: Record<string, unknown>;
    }>;
}>;
//# sourceMappingURL=sync_webhook_inbound.d.ts.map