declare namespace java {
    namespace awt {
        namespace peer {
            // @ts-ignore
            interface LabelPeer {
                /**
                 * Sets the text to be displayed on the label.
                 */
                // @ts-ignore
                 setText(label: string): void;
                /**
                 * Sets the alignment of the label text.
                 */
                // @ts-ignore
                 setAlignment(alignment: number): void;
            }
        }
    }
}
