export declare function getSyncIndex(ctx?: import("../../infra/db/db-bun.js").DbCtx): number | null;