import type { TupleIndices } from "../../lib/types"; import type { VarNameCandidateTuple, VarNameTuple } from "./types"; export declare const DEFAULT_STATE_NAME: "s"; /** * * @param array: ["idle", "running", "paused"] * @returns: {idle: 0, running: 1, paused: 2} */ export declare const mapStringArrayToIndexes: (array: VarNameTuple) => { readonly [K in TupleIndices as E[K]]: K; };