import type { Prisma } from '../../prisma-client';
import type { UserProfile } from "@calcom/types/UserProfile";
export declare function checkInstalled(slug: string, userId: number): Promise<void>;
export declare function isAppInstalled({ appId, userId }: {
    appId: string;
    userId: number;
}): Promise<boolean>;
type InstallationArgs = {
    appType: string;
    user: {
        id: number;
        profile?: UserProfile;
    };
    slug: string;
    key?: Prisma.InputJsonValue;
    teamId?: number;
    subscriptionId?: string | null;
    paymentStatus?: string | null;
    billingCycleStart?: number | null;
};
export declare function createDefaultInstallation({ appType, user, slug, key, teamId, billingCycleStart, paymentStatus, subscriptionId, }: InstallationArgs): Promise<{
    key: Prisma.JsonValue;
    id: number;
    type: string;
    userId: number | null;
    teamId: number | null;
    subscriptionId: string | null;
    delegationCredentialId: string | null;
    billingCycleStart: number | null;
    appId: string | null;
    paymentStatus: string | null;
    invalid: boolean | null;
}>;
export {};
//# sourceMappingURL=installation.d.ts.map