import { Application as ApplicationWithRelations, Client } from '@fleek-platform/utils-genql-client'; export type Application = Omit & { whitelistDomains: string[]; } & { whiteLabelDomains: string[]; }; type ApplicationsClientOptions = { graphqlClient: Client; }; export type GetApplicationArgs = Pick; export type CreateApplicationArgs = Pick; export type UpdateApplicationArgs = Pick & Partial>; export type DeleteApplicationArgs = Pick; export declare class ApplicationsClient { private graphqlClient; private static WHITE_LIST_DOMAIN_MAPPED_PROPERTIES; private static APPLICATION_MAPPED_PROPERTIES; constructor(options: ApplicationsClientOptions); get: ({ id }: GetApplicationArgs) => Promise[]; whiteLabelDomainsPaginated: import("@fleek-platform/utils-genql-client").ApplicationWhiteLabelDomainsWithNestedAggregation; whitelistDomains: Pick<{ createdAt: import("@fleek-platform/utils-genql-client").Scalars["Date"]; hostname: import("@fleek-platform/utils-genql-client").Scalars["String"]; id: import("@fleek-platform/utils-genql-client").Scalars["ID"]; updatedAt: import("@fleek-platform/utils-genql-client").Scalars["Date"]; __typename: "ApplicationWhitelistDomain"; }, "id" | "hostname">[]; __typename: "Application"; }, "whitelistDomains" | "clientId" | "createdAt" | "id" | "name" | "updatedAt" | "whiteLabelDomains">>; list: () => Promise[]; whiteLabelDomainsPaginated: import("@fleek-platform/utils-genql-client").ApplicationWhiteLabelDomainsWithNestedAggregation; whitelistDomains: Pick<{ createdAt: import("@fleek-platform/utils-genql-client").Scalars["Date"]; hostname: import("@fleek-platform/utils-genql-client").Scalars["String"]; id: import("@fleek-platform/utils-genql-client").Scalars["ID"]; updatedAt: import("@fleek-platform/utils-genql-client").Scalars["Date"]; __typename: "ApplicationWhitelistDomain"; }, "id" | "hostname">[]; __typename: "Application"; }, "whitelistDomains" | "clientId" | "createdAt" | "id" | "name" | "updatedAt" | "whiteLabelDomains">[]>; create: ({ name, whitelistDomains }: CreateApplicationArgs) => Promise[]; whiteLabelDomainsPaginated: import("@fleek-platform/utils-genql-client").ApplicationWhiteLabelDomainsWithNestedAggregation; whitelistDomains: Pick<{ createdAt: import("@fleek-platform/utils-genql-client").Scalars["Date"]; hostname: import("@fleek-platform/utils-genql-client").Scalars["String"]; id: import("@fleek-platform/utils-genql-client").Scalars["ID"]; updatedAt: import("@fleek-platform/utils-genql-client").Scalars["Date"]; __typename: "ApplicationWhitelistDomain"; }, "id" | "hostname">[]; __typename: "Application"; }, "whitelistDomains" | "clientId" | "createdAt" | "id" | "name" | "updatedAt" | "whiteLabelDomains">>; update: ({ id, name, whitelistDomains, }: UpdateApplicationArgs) => Promise[]; whiteLabelDomainsPaginated: import("@fleek-platform/utils-genql-client").ApplicationWhiteLabelDomainsWithNestedAggregation; whitelistDomains: Pick<{ createdAt: import("@fleek-platform/utils-genql-client").Scalars["Date"]; hostname: import("@fleek-platform/utils-genql-client").Scalars["String"]; id: import("@fleek-platform/utils-genql-client").Scalars["ID"]; updatedAt: import("@fleek-platform/utils-genql-client").Scalars["Date"]; __typename: "ApplicationWhitelistDomain"; }, "id" | "hostname">[]; __typename: "Application"; }, "whitelistDomains" | "clientId" | "createdAt" | "id" | "name" | "updatedAt" | "whiteLabelDomains">>; delete: ({ id }: DeleteApplicationArgs) => Promise[]; whiteLabelDomainsPaginated: import("@fleek-platform/utils-genql-client").ApplicationWhiteLabelDomainsWithNestedAggregation; whitelistDomains: Pick<{ createdAt: import("@fleek-platform/utils-genql-client").Scalars["Date"]; hostname: import("@fleek-platform/utils-genql-client").Scalars["String"]; id: import("@fleek-platform/utils-genql-client").Scalars["ID"]; updatedAt: import("@fleek-platform/utils-genql-client").Scalars["Date"]; __typename: "ApplicationWhitelistDomain"; }, "id" | "hostname">[]; __typename: "Application"; }, "whitelistDomains" | "clientId" | "createdAt" | "id" | "name" | "updatedAt" | "whiteLabelDomains">>; } export {};