import type z from "zod";
import type { EventTypeMetaDataSchema } from '../../../../prisma/zod-utils';
import type { CredentialPayload } from "@calcom/types/Credential";
/**
 * Gets credentials from the user, team, and org if applicable
 *
 */
export declare const getAllCredentials: (user: {
    id: number;
    username: string | null;
    credentials: CredentialPayload[];
}, eventType: {
    userId?: number | null;
    team?: {
        id: number | null;
        parentId: number | null;
    } | null;
    parentId?: number | null;
    metadata: z.infer<typeof EventTypeMetaDataSchema>;
} | null) => Promise<{
    key: import('../../../../prisma-client').Prisma.JsonValue;
    invalid: boolean | null;
    type: string;
    id: number;
    userId: number | null;
    user: {
        email: string;
    } | null;
    teamId: number | null;
    appId: string | null;
}[]>;
//# sourceMappingURL=getAllCredentials.d.ts.map