import * as React from 'react'; import { RouteComponentProps } from 'react-router'; import * as GQL from '../../backend/graphqlschema'; import { UserAreaRouteContext } from '../area/UserArea'; interface Props extends UserAreaRouteContext, RouteComponentProps<{}> { /** * The newly created token, if any. This component must call onDidPresentNewToken * when it is finished presenting the token secret to the user. */ newToken?: GQL.ICreateAccessTokenResult; /** * Called when the newly created access token has been presented to the user and may be purged * from all state (and not displayed to the user anymore). */ onDidPresentNewToken: () => void; } interface State { } /** * Displays access tokens whose subject is a specific user. */ export declare class UserAccountTokensPage extends React.PureComponent { private static clearNewTokenTimer; state: State; private accessTokenUpdates; componentDidMount(): void; componentWillUnmount(): void; render(): JSX.Element | null; private queryAccessTokens; private onDidUpdateAccessToken; } export {}; //# sourceMappingURL=UserAccountTokensPage.d.ts.map