export interface UsePollProps {
    shouldPoll: boolean;
    pollUrl: string;
    onError: (error: string) => void;
    onComplete: (completeUrl: string) => void;
}
export declare function usePoll({ shouldPoll, pollUrl, onComplete, onError }: UsePollProps): void;
