import { Hkt, liftArray, type Digit } from "@ark/util"; import type { To } from "../attributes.ts"; import type { Module, Submodule } from "../module.ts"; declare class liftFromHkt extends Hkt<[element: unknown]> { body: liftArray extends infer lifted ? (In: this[0] | lifted) => To : never; } declare const liftFrom: import("@ark/schema").GenericRoot; export declare const arkArray: arkArray.module; export declare namespace arkArray { type module = Module; type submodule = Submodule<$>; type $ = { root: unknown[]; readonly: readonly unknown[]; index: NonNegativeIntegerString; liftFrom: typeof liftFrom.t; }; } export type NonNegativeIntegerString = `${Digit}` | (`${Exclude}${string}` & `${bigint}`); export {};