/**
 * Types of pagination mechanisms used by different Atlassian APIs
 */
export declare enum PaginationType {
    /**
     * Offset-based pagination (startAt, maxResults, total)
     * Used by Jira APIs
     */
    OFFSET = "offset",
    /**
     * Cursor-based pagination (cursor in URL)
     * Used by Confluence APIs
     */
    CURSOR = "cursor",
    /**
     * Page-based pagination (page parameter in URL)
     * Used by Bitbucket APIs
     */
    PAGE = "page"
}
/**
 * Structure for offset-based pagination data
 */
export interface OffsetPaginationData {
    startAt?: number;
    maxResults?: number;
    total?: number;
    nextPage?: string;
    values?: unknown[];
}
/**
 * Structure for cursor-based pagination data (Confluence)
 */
export interface CursorPaginationData {
    _links: {
        next?: string;
    };
    results?: unknown[];
}
/**
 * Structure for page-based pagination data (Bitbucket)
 */
export interface PagePaginationData {
    next?: string;
    values?: unknown[];
}
/**
 * Union type for all pagination data types
 */
export type PaginationData = OffsetPaginationData | CursorPaginationData | PagePaginationData;
/**
 * Extract pagination information from API response
 * @param data The API response containing pagination information
 * @param paginationType The type of pagination mechanism used
 * @returns Object with nextCursor, hasMore, and count properties
 */
export declare function extractPaginationInfo(data: PaginationData, paginationType: PaginationType): {
    nextCursor?: string;
    hasMore: boolean;
    count?: number;
};
