import type { EndpointCredential } from './types';
export type CustomModelEndpointCredentialData = {
    url?: string;
    authentication?: 'bearer' | 'header' | 'basic' | 'none';
    apiKey?: string;
    authHeaderName?: string;
    authHeaderPrefix?: string;
    username?: string;
    password?: string;
    gatewayHeaders?: {
        headers?: Array<{
            name?: string;
            value?: string;
        }>;
    };
};
export declare function readCustomModelEndpointCredential(data: CustomModelEndpointCredentialData): EndpointCredential;
