/** * [[include:src/codecs/plos/README.md]] * * @module codecs/plos */ import stencila from '@stencila/schema'; import * as vfile from '../../util/vfile'; import { Codec } from '../types'; export declare class PlosCodec extends Codec implements Codec { private static regex; readonly sniff: (content: string) => Promise; /** * Decode a PLoS article identifier (e.g. URL or DOI) to * the journal and DOI components. */ readonly decodeIdentifier: (identifier: string) => { journal: string; doi: string; }; readonly decode: (file: vfile.VFile) => Promise; readonly encode: () => Promise; }