import type { SyncReactNode } from '../types';
interface HasLengthOptions {
    max?: number;
    min?: number;
}
type HasLengthPayload = HasLengthOptions | number;
export declare function hasLength(payload: HasLengthPayload, error?: SyncReactNode): (value: unknown) => SyncReactNode;
export {};
