UNPKG

strapi-plugin-comments

Version:
29 lines (28 loc) 818 B
import { Config } from '../api/schemas'; export declare const useConfig: (setSettings: (settings: Config) => void) => import("@tanstack/react-query").UseQueryResult<{ entryLabel: Record<string, string[]>; approvalFlow: string[]; blockedAuthorProps: string[]; reportReasons: { BAD_LANGUAGE: "BAD_LANGUAGE"; DISCRIMINATION: "DISCRIMINATION"; OTHER: "OTHER"; }; regex: { uid: string; relatedUid: string; email: string; sorting: string; }; enabledCollections: string[]; moderatorRoles: string[]; isGQLPluginEnabled: boolean; client: { url: string | null; contactEmail: string | null; }; badWords?: boolean | null | undefined; gql?: { auth: boolean | null; } | undefined; }, Error>;