export const queryKeys = { companyAnalysis: (ticker: string) => ['analysis', ticker] as const, companyFinancialStatements: ( ticker: string, mode: string, statement: string, window: string, includeDimensions: boolean, cursor: string | null, limit: number ) => ['financials-v2', ticker, mode, statement, window, includeDimensions ? 'dims' : 'no-dims', cursor ?? '', limit] as const, filings: (ticker: string | null, limit: number) => ['filings', ticker ?? '', limit] as const, report: (accessionNumber: string) => ['report', accessionNumber] as const, watchlist: () => ['watchlist'] as const, holdings: () => ['portfolio', 'holdings'] as const, portfolioSummary: () => ['portfolio', 'summary'] as const, latestPortfolioInsight: () => ['portfolio', 'insights', 'latest'] as const, task: (taskId: string) => ['tasks', 'detail', taskId] as const, recentTasks: (limit: number) => ['tasks', 'recent', limit] as const };