import type * as Whop from "../../../../index.js"; /** * @example * { * query: "query" * } */ export interface SearchAccountsRequest { /** Number of results to return from the start of the range. */ first?: number; /** Return results after this cursor. Use `page_info.end_cursor` from the previous response to fetch the next page. */ after?: string; /** Number of results to return from the end of the range. */ last?: number; /** Return results before this cursor. Use `page_info.start_cursor` from the previous response to fetch the previous page. */ before?: string; /** The account name to search for. */ query: string; /** Sort field. Without it, support searches return the best match first and other searches return the newest account first. */ order?: Whop.SearchAccountsRequestOrder; /** Sort direction. */ direction?: Whop.SearchAccountsRequestDirection; }