import Fuse from 'fuse.js';
/**
 * Checks if a string looks like a valid ClickUp task ID
 * Valid task IDs are 6-9 characters long and contain only alphanumeric characters
 */
export declare function isTaskId(str: string): boolean;
/**
 * Get current authenticated user information from ClickUp API
 * Caches the promise to prevent race conditions on concurrent calls
 */
export declare function getCurrentUser(): Promise<any>;
export { downloadImages } from "./image-processing";
/**
 * Function to get space details, using a cache to avoid redundant fetches
 */
export declare function getSpaceDetails(spaceId: string): Promise<any>;
/**
 * Get or create a task search index with specified filters
 * Caches promises to prevent race conditions on concurrent calls
 */
export declare function getTaskSearchIndex(space_ids?: string[], list_ids?: string[], assignees?: string[]): Promise<Fuse<any> | null>;
/**
 * Generate a ClickUp task URL from a task ID
 */
export declare function generateTaskUrl(taskId: string): string;
/**
 * Generate a ClickUp list URL from a list ID
 */
export declare function generateListUrl(listId: string): string;
/**
 * Generate a ClickUp space URL from a space ID
 */
export declare function generateSpaceUrl(spaceId: string): string;
/**
 * Generate a ClickUp folder URL from a folder ID
 */
export declare function generateFolderUrl(folderId: string): string;
/**
 * Format a ClickUp task link as markdown
 */
export declare function formatTaskLink(taskId: string, taskName?: string): string;
/**
 * Format a ClickUp list link as markdown
 */
export declare function formatListLink(listId: string, listName?: string): string;
/**
 * Format a ClickUp space link as markdown
 */
export declare function formatSpaceLink(spaceId: string, spaceName?: string): string;
/**
 * Extract task ID from a ClickUp URL
 */
export declare function extractTaskIdFromUrl(url: string): string | null;
/**
 * Validate if a string is a valid ClickUp URL
 */
export declare function isClickUpUrl(url: string): boolean;
/**
 * Format a prominent link section for responses
 */
export declare function formatLinksSection(links: {
    text: string;
    url: string;
}[]): string;
/**
 * Get or refresh the space search index
 * Caches promise to prevent race conditions on concurrent calls
 */
export declare function getSpaceSearchIndex(): Promise<Fuse<any> | null>;
/**
 * Get lists and folders for a specific space with caching
 */
export declare function getSpaceContent(spaceId: string): Promise<{
    lists: any[];
    folders: any[];
}>;
/**
 * Gets all team members from ClickUp API with caching
 */
export declare function getAllTeamMembers(): Promise<string[]>;
//# sourceMappingURL=utils.d.ts.map