import type { Cursor } from './types.js';
/**
 * Get next record without throwing an exception.
 * Get the last error safely via `getLastError`.
 */
export declare const safelyCheckNext: (cursor: Cursor) => {
    getNext: () => Promise<any>;
    errorExists: () => boolean;
    getLastError: () => unknown;
};
