import { VNode } from 'snabbdom'; import * as cg from "chessgroundx/types"; export declare const patch: (oldVnode: Element | DocumentFragment | VNode, vnode: VNode) => VNode; export declare function downloadPgnText(filename: string): void; export declare function getDocumentData(name: string): string | null; export declare function getPieceImageUrl(variant: string, role: cg.Role, color: cg.Color, side: string): string; export declare function debounce(callback: any, wait: number): () => void; export declare function getCookie(name: string): string; export declare function setCookie(cname: string, cvalue: string, exdays: number): void; export declare function changeBoardCSS(assetUrl: string, family: string, cssFile: string): void; export declare function changePieceCSS(assetUrl: string, family: string, cssFile: string): void; export declare function bind(eventName: string, f: (e: Event) => void, redraw: null | (() => void)): { insert(vnode: VNode): void; };