Version: 0.0.15-alpha0.0.16-alpha0.0.21-alpha0.0.22-alpha0.0.23-alpha0.0.24-alpha0.0.25-alpha0.0.26-alpha0.0.28-alpha0.0.290.0.300.0.310.0.320.0.330.0.340.0.350.0.360.0.370.0.380.0.390.0.400.0.411.20.01.21.01.21.11.21.21.21.31.21.41.21.51.21.61.21.71.21.81.22.01.22.11.22.21.22.31.22.41.23.01.23.11.23.21.23.31.23.41.24.01.24.11.24.21.24.31.24.41.24.51.25.01.25.11.26.01.27.01.28.01.31.01.31.11.36.01.36.11.36.21.40.01.40.11.40.21.40.31.40.41.40.51.40.61.40.71.40.81.40.91.40.101.40.111.40.121.40.131.40.141.40.151.40.161.40.171.40.18
/** Represents the clipboard used for copying and pasting in Atom. */
export interface Clipboard {
/** Write the given text to the clipboard. */
write(text: string, metadata?: object): void;
/** Read the text from the clipboard. */
read(): string;
/**
* Read the text from the clipboard and return both the text and the associated
* metadata.
*/
readWithMetadata(): { text: string; metadata: object };
}