import { type OperationName } from './instagram-client-constants.js'; import type { CurrentUserResult, InstagramClientOptions } from './instagram-client-types.js'; export type Constructor = new (...args: any[]) => T; export type AbstractConstructor = abstract new (...args: any[]) => T; export type Mixin, TAdded> = abstract new (...args: ConstructorParameters) => InstagramClientBase & TAdded; export declare abstract class InstagramClientBase { protected sessionId: string; protected csrfToken: string; protected dsUserId?: string; protected cookieHeader: string; protected userAgent: string; protected timeoutMs?: number; protected deviceId: string; protected clientUserId?: string; constructor(options: InstagramClientOptions); protected abstract getCurrentUser(): Promise; protected sleep(ms: number): Promise; protected getQueryId(operationName: OperationName): Promise; protected refreshQueryIds(): Promise; protected withRefreshedQueryIdsOn404(attempt: () => Promise): Promise<{ result: T; refreshed: boolean; }>; protected fetchWithTimeout(url: string, init: RequestInit): Promise; protected getHeaders(): Record; protected getBaseHeaders(): Record; protected getJsonHeaders(): Record; protected getGraphqlHeaders(): Record; protected ensureClientUserId(): Promise; } //# sourceMappingURL=instagram-client-base.d.ts.map