// Integration hooks barrel export
export {
  useCredentials,
  useCredentialDetail,
  useCreateCredential,
  useUpdateCredential,
  useDeleteCredential,
  useTestCredentialConnection,
  credentialKeys,
} from './use-credentials';
export type {
  CredentialListItem,
  CredentialDetail,
  PaginatedCredentials,
  CreateCredentialPayload,
  UpdateCredentialPayload,
  TestConnectionResult,
} from './use-credentials';

export {
  useIntegrationStatus,
  useAllIntegrationStatuses,
  useTestConnection,
  useTriggerSync,
  integrationKeys,
} from './use-integration-status';

export { useOrders, useOrder, useOrderCounts, ordersKeys } from './use-orders';

export {
  useMessages,
  useStreams,
  useUnreadCounts,
  useTotalUnreadCount,
  useSendMessage,
  useMarkAsRead,
  messagesKeys,
} from './use-messages';

export {
  useTasks,
  useTodaysTasks,
  useProjects,
  useCompleteTask,
  useCreateTask,
  tasksKeys,
} from './use-tasks';

export {
  useTickets,
  useOpenTickets,
  useTicket,
  useTicketCounts,
  useUpdateTicketStatus,
  ticketsKeys,
} from './use-tickets';

export {
  useFiles,
  useRecentFiles,
  formatFileSize,
  getFileIcon,
  filesKeys,
} from './use-files';

export {
  useDocuments,
  useClassifications,
  useRecentDocuments,
  formatDocumentSize,
  documentsKeys,
} from './use-documents';

export {
  useUpcomingAudits,
  useAudits,
  useOpenFindings,
  useFindingCounts,
  useComplianceScore,
  getDaysUntilAudit,
  gembadocsKeys,
} from './use-gembadocs';
