/** * Interface that contains configuration data for a single `PowerAuth` instance. */ export interface PowerAuthConfigurationType { /** * String with the cryptographic configuration. */ readonly configuration: string; /** * Base URL to the PowerAuth enrollment server. Usualky ends with `/enrollment-server`. */ readonly baseEndpointUrl: string; } /** * Class representing a configuration of a single `PowerAuth` instance. The class implements * `ConfigurationType` interface, so can be used */ export declare class PowerAuthConfiguration implements PowerAuthConfigurationType { configuration: string; baseEndpointUrl: string; /** * Construct configuration with required parameters. * * @param configuration String with the cryptographic configuration. * @param baseEndpointUrl Base URL to the PowerAuth enrollment server. Usually ends with `/enrollment-server`. */ constructor(configuration: string, baseEndpointUrl: string); } /** * Create frozen configuration from provided configuration object. * @param input Application provided configuration. * @returns Frozen configuration object. */ export declare function buildConfiguration(input: PowerAuthConfigurationType): PowerAuthConfigurationType;