import type { Prisma } from '../../prisma-client';
import type { CredentialDataWithTeamName } from '../../app-store/utils';
import getApps from '../../app-store/utils';
type EnabledApp = ReturnType<typeof getApps>[number] & {
    enabled: boolean;
};
/**
 *
 * @param credentials - Can be user or team credentials
 * @param options
 * @param options.where Additional where conditions to filter out apps
 * @param options.filterOnCredentials - Only include apps where credentials are present
 * @returns A list of enabled app metadata & credentials tied to them
 */
declare const getEnabledAppsFromCredentials: (credentials: CredentialDataWithTeamName[], options?: {
    where?: Prisma.AppWhereInput;
    filterOnCredentials?: boolean;
}) => Promise<EnabledApp[]>;
export default getEnabledAppsFromCredentials;
//# sourceMappingURL=getEnabledAppsFromCredentials.d.ts.map