import { Chain } from '@parifi/references';

interface RpcConfig {
    chainId: Chain;
    rpcEndpointUrl?: string;
    username?: string;
    password?: string;
    apiKey?: string;
}
interface SubgraphConfig {
    subgraphEndpoint?: string;
    username?: string;
    password?: string;
    apiKey?: string;
}
interface RelayerConfig {
    gelatoConfig?: RelayerI;
    parifiRealyerConfig?: RelayerI;
    pimlicoConfig?: RelayerI;
}
interface RelayerI {
    relayerEndpoint?: string;
    username?: string;
    password?: string;
    apiKey?: string;
    jwtToken?: string;
}
interface PythConfig {
    pythEndpoint?: string;
    username?: string;
    password?: string;
    apiKey?: string;
    isStable?: boolean;
}

export type { PythConfig, RelayerConfig, RelayerI, RpcConfig, SubgraphConfig };
