import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types'; import { ListMembershipQuestionsResponse, CreateOrReplaceAllMembershipQuestionsOptions, CreateOrReplaceAllMembershipQuestionsResponse, ListAnswersOptions, ListAnswersResponse } from './index.typings.js'; export { CreateOrReplaceAllMembershipQuestionsRequest, ListAnswerCountsRequest, ListAnswerCountsResponse, ListAnswersRequest, ListMembershipQuestionsRequest, MemberAnswerCount, MemberMembershipQuestionAnswers, MembershipQuestion, MembershipQuestionAnswer, Paging, PagingMetadata } from './index.typings.js'; declare function listMembershipQuestions$1(httpClient: HttpClient): ListMembershipQuestionsSignature; interface ListMembershipQuestionsSignature { /** * Retrieves the membership questions for a group. * * >**Note:** * >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions). * @param - Group ID. */ (groupId: string): Promise>; } declare function createOrReplaceAllMembershipQuestions$1(httpClient: HttpClient): CreateOrReplaceAllMembershipQuestionsSignature; interface CreateOrReplaceAllMembershipQuestionsSignature { /** * Creates membership questions if none have been set up. Otherwise, replaces all existing questions. * * Providing an empty array means that members won't have to answer any question when joining the group. * Only admins can create or replace membership questions. * * >**Note:** * >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions). * @param - Group ID. */ (groupId: string, options?: CreateOrReplaceAllMembershipQuestionsOptions): Promise>; } declare function listAnswers$1(httpClient: HttpClient): ListAnswersSignature; interface ListAnswersSignature { /** * Retrieves the answers to the membership questions, given the provided filters. * * >**Note:** * >This endpoint requires [visitor or member authentication](https://dev.wix.com/docs/rest/articles/getting-started/access-types-and-permissions). * @param - Group ID. */ (groupId: string, options?: ListAnswersOptions): Promise>; } declare const listMembershipQuestions: MaybeContext & typeof listMembershipQuestions$1>; declare const createOrReplaceAllMembershipQuestions: MaybeContext & typeof createOrReplaceAllMembershipQuestions$1>; declare const listAnswers: MaybeContext & typeof listAnswers$1>; export { CreateOrReplaceAllMembershipQuestionsOptions, CreateOrReplaceAllMembershipQuestionsResponse, ListAnswersOptions, ListAnswersResponse, ListMembershipQuestionsResponse, createOrReplaceAllMembershipQuestions, listAnswers, listMembershipQuestions };