type Fetch = typeof fetch; interface TokenCreateVariables { email: string; password: string; } interface GraphQLError { message: string; } interface TokenCreateResponse { data: { tokenCreate: { token: string | undefined; refreshToken: string | undefined; errors: GraphQLError[]; }; }; } interface TokenRefreshVariables { refreshToken: string; } interface TokenRefreshResponse { errors?: unknown[]; data: { tokenRefresh: { token: string | undefined; errors?: GraphQLError[]; }; }; } interface PasswordResetVariables { email: string; password: string; token: string; } interface PasswordResetResponse { data: { setPassword: { token: string | undefined; refreshToken: string | undefined; errors: GraphQLError[]; }; }; } interface ExternalAuthenticationURLResponse { externalAuthenticationUrl: { authenticationData: string; errors: GraphQLError[]; }; } interface ExternalAuthenticationURLVariables { pluginId: string; input: string; } interface ExternalObtainAccessToken { token: string; refreshToken: string; csrfToken: string; user: unknown; } interface ExternalObtainAccessTokenResponse { externalObtainAccessTokens: ExternalObtainAccessToken; } interface ExternalObtainAccessTokenVariables { pluginId: string; input: string; } declare enum ExternalProvider { OpenIDConnect = "mirumee.authentication.openidconnect", SaleorCloud = "cloud_auth.CloudAuthorizationPlugin" } export { ExternalAuthenticationURLResponse, ExternalAuthenticationURLVariables, ExternalObtainAccessToken, ExternalObtainAccessTokenResponse, ExternalObtainAccessTokenVariables, ExternalProvider, Fetch, PasswordResetResponse, PasswordResetVariables, TokenCreateResponse, TokenCreateVariables, TokenRefreshResponse, TokenRefreshVariables };