import { Command } from '@/types'; export interface User { id: number; username: string; name: string; email?: string; avatar_url: string; github_url: string; created_at: string; } export interface AuthResponse { access_token: string; token_type: string; expires_in: number; user: User; } export interface ApiResponse { data: T; pagination?: { total: number; limit: number; offset: number; has_next: boolean; has_previous: boolean; }; } export declare class MockAPI { private mockDelay; constructor(); private delay; private getMockCommands; private getMockUser; getCommands(params: { q?: string; tags?: string; author?: string; limit?: number; offset?: number; sort?: string; }): Promise>; getCommand(commandId: string): Promise; createCommand(data: { name: string; description: string; content: string; author: string; tags: string[]; version?: string; }): Promise; updateCommand(commandId: string, data: Partial<{ name: string; description: string; content: string; author: string; tags: string[]; version: string; }>): Promise; deleteCommand(commandId: string): Promise; getTags(): Promise<{ name: string; count: number; }[]>; getAuthors(): Promise<{ name: string; count: number; }[]>; githubOAuthStart(redirectUri: string): Promise; githubOAuthCallback(code: string, state?: string): Promise; getCurrentUser(): Promise; logout(): Promise; healthCheck(): Promise<{ status: string; version: string; timestamp: string; }>; } //# sourceMappingURL=mock-api.d.ts.map