import type { Prisma } from '../../../prisma-client';
export declare class DestinationCalendarRepository {
    static create(data: Prisma.DestinationCalendarCreateInput): Promise<{
        id: number;
        userId: number | null;
        credentialId: number | null;
        eventTypeId: number | null;
        integration: string;
        externalId: string;
        primaryEmail: string | null;
        delegationCredentialId: string | null;
        domainWideDelegationCredentialId: string | null;
    }>;
    static getByUserId(userId: number): Promise<{
        id: number;
        userId: number | null;
        credentialId: number | null;
        eventTypeId: number | null;
        integration: string;
        externalId: string;
        primaryEmail: string | null;
        delegationCredentialId: string | null;
        domainWideDelegationCredentialId: string | null;
    } | null>;
    static getByEventTypeId(eventTypeId: number): Promise<{
        id: number;
        userId: number | null;
        credentialId: number | null;
        eventTypeId: number | null;
        integration: string;
        externalId: string;
        primaryEmail: string | null;
        delegationCredentialId: string | null;
        domainWideDelegationCredentialId: string | null;
    } | null>;
    static find({ where }: {
        where: Prisma.DestinationCalendarWhereInput;
    }): Promise<{
        id: number;
        userId: number | null;
        credentialId: number | null;
        eventTypeId: number | null;
        integration: string;
        externalId: string;
        primaryEmail: string | null;
        delegationCredentialId: string | null;
        domainWideDelegationCredentialId: string | null;
    } | null>;
    static upsert({ where, update, create, }: {
        where: Prisma.DestinationCalendarUpsertArgs["where"];
        update: {
            integration?: string;
            externalId?: string;
            credentialId?: number | null;
            primaryEmail?: string | null;
            delegationCredentialId?: string | null;
        };
        create: {
            integration: string;
            externalId: string;
            credentialId: number | null;
            primaryEmail?: string | null;
            delegationCredentialId?: string | null;
        };
    }): Promise<{
        id: number;
        userId: number | null;
        credentialId: number | null;
        eventTypeId: number | null;
        integration: string;
        externalId: string;
        primaryEmail: string | null;
        delegationCredentialId: string | null;
        domainWideDelegationCredentialId: string | null;
    }>;
}
//# sourceMappingURL=destinationCalendar.d.ts.map