import * as React from 'react'; import * as T from '../../PresentationTypes'; export interface OAuthInputProps { label: string; value: string; helperText: React.ReactNode; path: T.Path; error?: boolean; authUrl: string; verifyUrl: string; verifyQsParam: string; logoutUrl?: string; logoutQsParam?: string; onChange: (value: string) => any; children?: (props: OAuthInputButtonProps) => React.ReactNode; } interface OAuthInputButtonProps { label: string; onClick: () => void; } interface OAuthInputState { username: string; verifyFailed: boolean; } declare class OAuthInput extends React.Component { state: { username: string; verifyFailed: boolean; }; componentDidMount(): void; authRedirect: () => void; logout: () => void; verify(accessToken: string): Promise; serializePropPath(): string; renderButton(): {}; render(): JSX.Element; } export default OAuthInput;