/// import type { ImageInput } from '@duely/core'; import { DocumentNode } from 'graphql'; export declare const Util: { readFileAsDataUrl: typeof readFileAsDataUrl; readFileAsImageInput: typeof readFileAsImageInput; estimateImageColor: typeof estimateImageColor; findFirstFocusableChild: typeof findFirstFocusableChild; createGraphQLPlaygroundUrl: typeof createGraphQLPlaygroundUrl; fetchRecapthcaToken: typeof fetchRecapthcaToken; getReactElement: typeof getReactElement; }; declare function createGraphQLPlaygroundUrl(query?: DocumentNode, variables?: object, tabName?: string): URL; declare function readFileAsDataUrl(file: File | null | undefined): Promise; declare function readFileAsImageInput(file: File | null | undefined): Promise; declare function estimateImageColor(url: string): Promise; declare function findFirstFocusableChild(parent: ParentNode): Element | null; declare global { interface Window { __duely: { reCAPTCHA_site_key: string; }; grecaptcha: any; } } declare function fetchRecapthcaToken(action?: string): Promise; declare function getReactElement(node: React.ReactNode | ((props?: Record) => React.ReactNode), props?: Record): import("react").ReactNode; export {};