def METHOD_NAME(
    self,
    rate: int,
    channels: int,
    format: int,
    input: bool = ...,
    output: bool = ...,
    input_device_index: int | None = ...,
    output_device_index: int | None = ...,
    frames_per_buffer: int = ...,
    start: bool = ...,
    input_host_api_specific_stream_info: _PaMacCoreStreamInfo | None = ...,
    output_host_api_specific_stream_info: _PaMacCoreStreamInfo | None = ...,
    stream_callback: _StreamCallback | None = ...,
) -> _Stream: ...