import Error from "./Error"; declare namespace openfl.errors { /** * Permission error is dispatched when the application tries to access a * resource without requesting appropriate permissions. * */ export class PermissionError extends Error { /** * Creates a new instance of the PermissionError class. * * @param message The error description * @param id The general error number * */ constructor(message?: string, id?: number); } } export default openfl.errors.PermissionError;