import type * as ElevenLabs from "../../../../../../index";
/**
 * @example
 *     {
 *         pageSize: 1,
 *         search: "search",
 *         showOnlyOwnedDocuments: true,
 *         createdByUserId: "created_by_user_id",
 *         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). Deprecated: use created_by_user_id instead. */
    showOnlyOwnedDocuments?: boolean;
    /** Filter documents by creator user ID. When set, only documents created by this user are returned. Takes precedence over show_only_owned_documents. Use '@me' to refer to the authenticated user. */
    createdByUserId?: string;
    /** 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;
}
