import type { Args, Keyed } from "../types/index.js"; /** * Type guard: returns `true` if `args` is already wrapped in `Keyed`. */ export declare function isKeyed(args: Args): args is Keyed; /** * Normalizes raw args into `Keyed`. * If `args` is already `Keyed`, it passes through unchanged. * Otherwise wraps with `{ value: args, key: serializeFn(args) }`. */ export declare function toKeyed(args: Args, serializeFn?: (value: T) => string): Keyed;