import { getCurrentTokenObject } from "./getCurrentTokenObject";
import { getTokenObjectFromCredential } from "./getTokenObjectFromCredential";
export declare const credentialSyncVariables: {
    APP_CREDENTIAL_SHARING_ENABLED: boolean;
    CREDENTIAL_SYNC_ENDPOINT: string | undefined;
    CREDENTIAL_SYNC_SECRET: string | undefined;
    CREDENTIAL_SYNC_SECRET_HEADER_NAME: string;
};
export declare const oAuthManagerHelper: {
    updateTokenObject: ({ tokenObject, credentialId, }: {
        tokenObject: import("zod").TypeOf<typeof import("./universalSchema").OAuth2UniversalSchemaWithCalcomBackwardCompatibility>;
        credentialId: number;
    }) => Promise<void>;
    markTokenAsExpired: (credential: import("@calcom/types/Credential").CredentialPayload) => Promise<void>;
    invalidateCredential: (credentialId: import("@calcom/types/Credential").CredentialPayload["id"]) => Promise<void>;
    getTokenObjectFromCredential: typeof getTokenObjectFromCredential;
    credentialSyncVariables: {
        APP_CREDENTIAL_SHARING_ENABLED: boolean;
        CREDENTIAL_SYNC_ENDPOINT: string | undefined;
        CREDENTIAL_SYNC_SECRET: string | undefined;
        CREDENTIAL_SYNC_SECRET_HEADER_NAME: string;
    };
    updateTokenObjectInDb: (args: {
        tokenObject: import("zod").TypeOf<typeof import("./universalSchema").OAuth2UniversalSchemaWithCalcomBackwardCompatibility>;
    } & ({
        authStrategy: "jwt";
        userId: number | null;
        credentialType: string;
        appId: string;
        delegatedToId: string | null;
    } | {
        authStrategy: "oauth";
        credentialId: number;
    })) => Promise<void>;
    getCurrentTokenObject: typeof getCurrentTokenObject;
};
//# sourceMappingURL=oAuthManagerHelper.d.ts.map