import type { MoteurClient } from '../client.js'; import type { LoginResult } from '../types.js'; import type { User } from '@moteurio/types'; export declare function authApi(client: MoteurClient): { login(username: string, password: string): Promise; me(): Promise<{ user: User; }>; refresh(): Promise<{ token: string; }>; /** OAuth providers the server can sign in with; send people to `/auth/{id}?next=…`. */ providers(): Promise<{ providers: { id: string; label: string; }[]; }>; }; //# sourceMappingURL=auth.d.ts.map