/** * Allows the user to record sound from a microphone. It sets and gets the format in which the audio file will be recorded (8-bit, 16-bit, or compressed). It checks whether or not the recording is active, and if it is, records the sound. It then returns the recorded sample. * */ declare class AudioEffectRecord extends AudioEffect { /** * Allows the user to record sound from a microphone. It sets and gets the format in which the audio file will be recorded (8-bit, 16-bit, or compressed). It checks whether or not the recording is active, and if it is, records the sound. It then returns the recorded sample. * */ new(): AudioEffectRecord; static "new"(): AudioEffectRecord /** Specifies the format in which the sample will be recorded. See [enum AudioStreamSample.Format] for available formats. */ format: int; /** Returns the recorded sample. */ get_recording(): AudioStreamSample; /** Returns whether the recording is active or not. */ is_recording_active(): boolean; /** If [code]true[/code], the sound will be recorded. Note that restarting the recording will remove the previously recorded sample. */ set_recording_active(record: boolean): void; connect>(signal: T, method: SignalFunction): number; }