@toolbox-ts/dsa
Version:
Data Structures and Algorithms implemented
12 lines • 423 B
TypeScript
import type { Stack } from "./types.js";
export type * from "./types.js";
/**
* Factory for creating a stack structure instance.
* The stack is a singly linked list with a single 'head' anchor.
* Provides push, pop, reset, and iteration methods.
*
* @template D - Data type stored in the stack nodes
* @returns Stack API instance
*/
export declare const create: <D>() => Stack<D>;
//# sourceMappingURL=stack.d.ts.map