import { SmrtCollection } from '@happyvertical/smrt-core'; import { Account } from '../models/Account'; import { AccountSearchFilters } from '../types'; export declare class AccountCollection extends SmrtCollection { static readonly _itemClass: typeof Account; /** * Get active accounts */ getActive(): Promise; /** * Get inactive accounts */ getInactive(): Promise; /** * Get accounts by provider type */ getByProviderType(providerType: string): Promise; /** * Get accounts by STI type. * * Accepts either the full discriminator (e.g. "@happyvertical/smrt-messages:EmailAccount") * or the short type name (e.g. "EmailAccount"). */ getByType(accountType: string): Promise; /** * Search accounts with filters */ search(query: string, filters?: AccountSearchFilters): Promise; /** * Get account statistics */ getStats(): Promise<{ total: number; active: number; inactive: number; byType: Record; }>; findByTenant(tenantId: string): Promise; findGlobal(): Promise; findWithGlobals(tenantId: string): Promise; } //# sourceMappingURL=AccountCollection.d.ts.map