import type { OperationNode } from './operation-node.js';
import { ValueNode } from './value-node.js';
export type FetchModifier = 'only' | 'with ties';
export interface FetchNode extends OperationNode {
readonly kind: 'FetchNode';
readonly rowCount: ValueNode;
readonly modifier: FetchModifier;
}
type FetchNodeFactory = Readonly<{
is(node: OperationNode): node is FetchNode;
create(rowCount: number | bigint, modifier: FetchModifier): Readonly