import type { PayloadHandler } from '../../types.js';
import { buildJoinScopeWhere } from './buildJoinScopeWhere.js';
/**
 * Resolves join scope and target document context for reorder operations.
 */
export declare function getJoinScopeContext(args: {
    collectionSlug: string;
    joinFieldPathsByCollection: Map<string, Map<string, string>>;
    orderableFieldName: string;
    req: Parameters<PayloadHandler>[0];
    target: unknown;
}): Promise<{
    joinScopeWhere: ReturnType<typeof buildJoinScopeWhere>;
    targetDoc: null | Record<string, unknown>;
}>;
//# sourceMappingURL=getJoinScopeContext.d.ts.map