import type { Vec } from "@thi.ng/vectors";
/**
 * Takes an array of arguments, checks if last element is a plain object or
 * nullish and if so, removes value from array and returns it (`null` will be
 * cast to `undefined`). Else returns `undefined`.
 *
 * @param args -
 *
 * @internal
 */
export declare const __argAttribs: (args: any[]) => any;
/**
 * Args parser for functions expecting up to 2 vector args and optional
 * attribs object. Returns 3-tuple of re-structured args.
 *
 * @param args -
 *
 * @internal
 */
export declare const __argsVV: (args: any[]) => any[];
/**
 * Args parser for functions expecting a vector, numeric and/or optional
 * attribs object. Returns 3-tuple of re-structured args.
 *
 * @param args -
 *
 * @internal
 */
export declare const __argsVN: (args: any[]) => any[];
export declare const __asVec: (x: number | Vec, size?: number) => any[] | Vec<number>;
//# sourceMappingURL=args.d.ts.map