import type { SpiderMove, SpiderTable } from "./spider.types.ts"; /** A winning line from this table, or null when none was found within `budget` tables. * * @param start - The initial game or state before the recorded moves. * @param budget - Limits on the solver’s search work. * @returns A winning line from this table, or null when none was found within `budget` tables. * * @example * ```ts no-run * import { dealSpider, solveSpider, spiderDealOfSeed, spiderDeckOf } from "@johnmorrisdotca/toranpu/spider"; * * const table = dealSpider(spiderDeckOf(spiderDealOfSeed(42, 1), 1)!); * console.log(solveSpider(table, 100)); * ``` */ export declare function solveSpider(start: SpiderTable, budget?: number): { moves: SpiderMove[] | null; tables: number; };