import type * as ElevenLabs from "../../../../../../index";
/**
 * @example
 *     {
 *         pageSize: 1,
 *         search: "search",
 *         showOnlyOwnedDocuments: true,
 *         parentFolderId: "parent_folder_id",
 *         ancestorFolderId: "ancestor_folder_id",
 *         foldersFirst: true,
 *         sortDirection: "asc",
 *         sortBy: "name",
 *         cursor: "cursor"
 *     }
 */
export interface KnowledgeBaseListRequest {
    /** How many documents to return at maximum. Can not exceed 100, defaults to 30. */
    pageSize?: number;
    /** If specified, the endpoint returns only such knowledge base documents whose names start with this string. */
    search?: string;
    /** If set to true, the endpoint will return only documents owned by you (and not shared from somebody else). */
    showOnlyOwnedDocuments?: boolean;
    /** If present, the endpoint will return only documents of the given types. */
    types?: ElevenLabs.KnowledgeBaseDocumentType | ElevenLabs.KnowledgeBaseDocumentType[];
    /** If set, the endpoint will return only documents that are direct children of the given folder. */
    parentFolderId?: string;
    /** If set, the endpoint will return only documents that are descendants of the given folder. */
    ancestorFolderId?: string;
    /** Whether folders should be returned first in the list of documents. */
    foldersFirst?: boolean;
    /** The direction to sort the results */
    sortDirection?: ElevenLabs.SortDirection;
    /** The field to sort the results by */
    sortBy?: ElevenLabs.KnowledgeBaseSortBy;
    /** Used for fetching next page. Cursor is returned in the response. */
    cursor?: string;
}
