import type { ITensor2, TensorOpts, Type } from "./api.js";
/**
 * Creates a square identity matrix of given `size` and options.
 *
 * @param type
 * @param size
 * @param opts
 */
export declare const identity: <T extends Exclude<Type, "str">>(type: T, size: number, opts?: Pick<TensorOpts<any, any>, "storage">) => ITensor2;
//# sourceMappingURL=identity.d.ts.map