import { IUrlModel, IWcpUserModel, IWcpUserPatModel } from "../../abstractions/models/index.js"; import type { ILicense } from "@webiny/wcp/types"; export interface IGetProjectEnvironmentParams { orgId?: string; projectId?: string; userId?: string; environmentId?: string; apiKey?: string; } export interface IGetProjectLicenseParams { apiKey: string; orgId: string; projectId: string; } export interface IWcpService { getUser(): Promise; generateUserPat(): Promise; getUserPat(pat: string): Promise; createUserPat(patData: any, userPat: string): Promise; storePatToLocalStorage(pat: string): void; unsetPatFromLocalStorage(): void; getWcpApiUrl(): IUrlModel; getWcpGqlApiUrl(): IUrlModel; getWcpAppUrl(): IUrlModel; getProjectEnvironment(params: IGetProjectEnvironmentParams): Promise; getProjectLicense(params: IGetProjectLicenseParams): Promise; } export declare const WcpService: import("@webiny/di").Abstraction; export declare namespace WcpService { type Interface = IWcpService; }