import { APIResource } from './base'; import { AppConfiguration, AppConfigurationCreate, AppConfigurationsList } from '../types/app-configurations'; export declare class AppConfigurationsResource extends APIResource { /** * Lists app configurations based on specified criteria. * @param params - The listing parameters. * @param params.app_names - Optional list of app names to filter configurations by. * @param params.limit - Optional limit on the number of results to return. * @param params.offset - Optional offset for paginating through results. * @returns A promise that resolves to an array of app configurations. * @throws {ValidationError} If the input parameters are invalid. */ list(params?: AppConfigurationsList): Promise; /** * Retrieves a specific app configuration. * @param appName - The name of the application whose configuration is to be retrieved. * @returns A promise that resolves to the app configuration, or null if not found. */ get(appName: string): Promise; /** * Creates a new app configuration. * @param params - The configuration parameters. * @param params.app_name - The name of the application. * @param params.security_scheme - The security scheme for the app configuration. * @param params.security_scheme_overrides - Optional overrides for the security scheme. * @param params.all_functions_enabled - Whether all functions are enabled by default. * @param params.enabled_functions - List of specifically enabled functions. * @returns A promise that resolves to the created app configuration. * @throws {ValidationError} If the input parameters are invalid. */ create(params: AppConfigurationCreate): Promise; /** * Deletes an app configuration. * @param appName - The name of the application whose configuration is to be deleted. * @returns A promise that resolves to true if the deletion was successful, otherwise an error is thrown. */ delete(appName: string): Promise; }