/** * Title: GRIDS Basic Page Script * Description: Page Script for /grids-basic.html * Author: Peter Harpending * Date: 2025-12-29 * Last-Updated: 2025-12-29 * * @module */ /** * Runs on page load */ declare function main(): Promise; declare function on_submit(n_input: HTMLInputElement, r_input: HTMLInputElement, a_input: HTMLInputElement, p_input: HTMLInputElement, grids_url_elt: HTMLTextAreaElement, grids_png_elt: HTMLImageElement): Promise; type Safe = { ok: true; result: t; } | { ok: false; error: string; }; type GridsResult = { url: string; png_base64: string; }; /** * gets the grids url */ declare function grids_request(net_id: string, recipient: string, amount: number, payload: string): Promise>;