import * as React from 'react'; import { Texture } from 'three'; export declare function useKTX2>(input: Url, basisPath?: string): Url extends any[] ? Texture[] : Url extends object ? { [key in keyof Url]: Texture; } : Texture; export declare namespace useKTX2 { var preload: (url: string extends any[] ? string[] : string, basisPath?: string) => void; var clear: (input: string | string[]) => void; } export declare const Ktx2: ({ children, input, basisPath, }: { children?: (texture: ReturnType) => React.ReactNode; input: Parameters[0]; basisPath?: Parameters[1]; }) => React.JSX.Element;