import * as Hapi from 'hapi'; import { Provider } from '../provider'; import { PluginOptions } from '../plugin'; export declare class SmashcastProvider extends Provider { clientId: string; clientSecret: string; name: string; tokenUrl: string; authUrl: string; private hash; constructor(clientId: string, clientSecret: string); compileAuthUrl(req: Hapi.Request, options: PluginOptions, redirectUri: string): any; extractCode(req: Hapi.Request): any; requestToken(code: string, redirect_uri: string): Promise<{}>; handleCode(h: Hapi.ResponseToolkit, options: PluginOptions, redirectUri: string): any; }