type Item = {
    id: string;
} | string;
export declare function useDetails<T>(endpoint: string, query: string, callback?: (data: T) => void): {
    fetch: (id: string) => void;
    urlFor: (item: Item) => string;
    copyUrl: (item: Item) => void;
    watch: () => void;
    stop: typeof stop;
};
export {};
